PT-2024-21541 · Linux+5 · Linux Kernel+5
Syzbot
·
Published
2024-03-14
·
Updated
2025-03-27
·
CVE-2024-26864
CVSS v3.1
5.9
Medium
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions 6.8.0-rc6-syzkaller-00159-gc055fc00c07b and earlier
Description
The issue is related to the handling of reference counts in the Linux kernel's TCP connection establishment process. Specifically, when the
bhash2 allocation fails, an unconnected socket can occupy an ehash entry. To fix this, changes made by check established() need to be reverted by using sk nulls add node rcu() instead of sk nulls add node rcu(). If not, sock put() can cause a reference count underflow and leak the socket.Recommendations
To resolve the issue, update the Linux kernel to a version that includes the fix for the reference count handling in
inet hash connect(). As a temporary workaround, consider disabling the inet hash connect() function until a patch is available. However, this may have significant performance implications and should be carefully evaluated before implementation.At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Integer Underflow
Information Disclosure
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Astra Linux
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu