First published: Fri Dec 27 2024(Updated: )
In the Linux kernel, the following vulnerability has been resolved: net: inet: do not leave a dangling sk pointer in inet_create() sock_init_data() attaches the allocated sk object to the provided sock object. If inet_create() fails later, the sk object is freed, but the sock object retains the dangling pointer, which may create use-after-free later. Clear the sk pointer in the sock object on error.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | <5.4.287 | |
Linux Kernel | >=5.5<5.10.231 | |
Linux Kernel | >=5.11<5.15.174 | |
Linux Kernel | >=5.16<6.1.120 | |
Linux Kernel | >=6.2<6.6.66 | |
Linux Kernel | >=6.7<6.12.5 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-56601 has a moderate severity level due to potential risk of system instability.
CVE-2024-56601 affects Linux kernel versions up to 5.4.287 and specific ranges from 5.5 up to 6.6.66.
To fix CVE-2024-56601, update the Linux kernel to the latest stable version that eliminates this vulnerability.
Systems running affected versions of the Linux kernel may experience issues related to socket handling.
CVE-2024-56601 can be exploited locally, requiring access to the system to trigger the issue.