CVE-2022-49732: sock: redo the psock vs ULP protection check
In the Linux kernel, the following vulnerability has been resolved:
sock: redo the psock vs ULP protection check
Commit 8a59f9d1e3d4 ("sock: Introduce sk->skprot->psockupdateskprot()") has moved the inetcskhasulp(sk) check from skpsockinit() to the new tcpbpfupdateproto() function. I'm guessing that this was done to allow creating psocks for non-inet sockets.
Unfortunately the destruction path for psock includes the ULP unwind, so we need to fail the skpsockinit() itself. Otherwise if ULP is already present we'll notice that later, and call tcpupdateulp() with the skproto of the ULP itself, which will most likely result in the ULP looping its callbacks.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2022-49732?
CVE-2022-49732 has a severity rating that is categorized as high due to its impact on memory management in the Linux kernel.
How do I fix CVE-2022-49732?
To fix CVE-2022-49732, update your Linux kernel to the latest version where this vulnerability has been patched.
Which versions of Linux are affected by CVE-2022-49732?
CVE-2022-49732 affects certain versions of the Linux kernel, particularly those prior to the release that includes the fix.
What impact does CVE-2022-49732 have on system security?
CVE-2022-49732 can potentially allow attackers to exploit memory management flaws, leading to vulnerabilities in system security.
Is CVE-2022-49732 being actively exploited?
As of the latest reports, there is no confirmation of active exploitation of CVE-2022-49732 in the wild, but it remains critical to patch.