PT-2024-8341 · Linux+9 · Linux Kernel+9
Josef Bacik
·
Published
2024-03-25
·
Updated
2025-09-29
·
CVE-2024-35910
CVSS v3.1
5.8
Medium
| Vector | AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The vulnerability is related to the improper termination of timers for kernel sockets in the Linux kernel. When TCP sockets are closed, the function
inet csk clear xmit timers() is called to stop the timers. However, this function can be called from any context, including when the socket lock is held, which can lead to ongoing timers finishing much later. For kernel sockets, this can cause the netns to be freed before the timer can complete, because kernel sockets do not hold a reference on the netns. The patch adds a new function inet csk clear xmit timers sync() that uses sk stop timer sync() to ensure all timers are terminated before the kernel socket is released.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Improper Locking
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Almalinux
Astra Linux
Centos
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu