PT-2024-36951 · Linux+8 · Linux Kernel+8
Published
2024-12-03
·
Updated
2025-10-03
·
CVE-2024-56642
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 6.6.74
Description
A use-after-free vulnerability in the Linux kernel has been resolved. The issue occurred in the
cleanup bearer() function, where the cleanup of the UDP kernel socket was deferred, leading to a use-after-free condition. This happened because the work decremented the count too early before releasing the kernel socket, unblocking cleanup net() and resulting in use-after-free. The vulnerability was reported by syzkaller and has been fixed by moving the decrement after releasing the socket in cleanup bearer().Recommendations
To resolve the issue, update the Linux kernel to version 6.6.74 or later. As a temporary workaround, consider disabling the
tipc udp disable() function until a patch is available. Restrict access to the vulnerable cleanup bearer() function to minimize the risk of exploitation. Avoid using the udp sock create() function in the affected API endpoint until the issue is resolved.Exploit
Fix
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Hat
Red Os
Suse
Ubuntu