PT-2024-4106 · Linux+10 · Linux Kernel+10
Anderson Nascimento
·
Published
2024-05-02
·
Updated
2025-09-29
·
CVE-2024-36904
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.37
Description
The vulnerability is related to the
tcp twsk unique() function in the Linux kernel's IPv4 implementation. It is caused by a use-after-free issue due to a race condition between threads trying to reuse a port during the connect() call. This can lead to a real use-after-free somewhere else, potentially allowing an attacker to impact the confidentiality, integrity, and availability of protected information.Recommendations
To resolve the issue, update the Linux kernel to version 6.6.37 or later. If updating is not possible, consider temporarily disabling the
tcp twsk unique() function or restricting access to the vulnerable module to minimize the risk of exploitation.Exploit
Fix
RCE
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu