CVE-2022-49732: sock: redo the psock vs ULP protection check

Published Feb 26, 2025
·
Updated

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

6 affected components
Linux Linux kernel
Linux Linux kernel>=5.13<5.15.51
Linux Linux kernel>=5.16<5.18.8
Linux Linux kernel=5.19-rc1
Linux Linux kernel=5.19-rc2
Linux Linux kernel=5.19-rc3

Event History

Feb 26, 2025
CVE Published
via MITRE·02:57 PM
Data Sourced
via MITRE·02:57 PM
Description
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203