🛡️ CVE-2024-35910 on Debian — linux
Description
In the Linux kernel, the following vulnerability has been resolved: tcp: properly terminate timers for kernel sockets We had various syzbot reports about tcp timers firing after the corresponding netns has been dismantled. Fortunately Josef Bacik could trigger the issue more often, and could test a patch I wrote two years ago. When TCP sockets are closed, we call inet_csk_clear_xmit_timers() to 'stop' the timers. inet_csk_clear_xmit_timers() can be called from any context, including when socket lock is held. This is the reason it uses sk_stop_timer(), aka del_timer(). This means that ongoing timers might finish much later. For user sockets, this is fine because each running timer holds a reference on the socket, and the user socket holds a reference on the netns. For kernel sockets, we risk that the netns is freed before timer can complete, because kernel sockets do not hold reference on the netns. This patch adds inet_csk_clear_xmit_timers_sync() function that using sk_stop_timer_sync() to make sure all timers are terminated before the kernel socket is released. Modules using kernel sockets close them in their netns exit() handler. Also add sock_not_owned_by_me() helper to get LOCKDEP support : inet_csk_clear_xmit_timers_sync() must not be called while socket lock is held. It is very possible we can revert in the future commit 3a58f13a881e ("net: rds: acquire refcount on TCP sockets") which attempted to solve the issue in rds only. (net/smc/af_smc.c and net/mptcp/subflow.c have similar code) We probably can remove the check_net() tests from tcp_out_of_resources() and __tcp_close() in the future.
Distribution advisory
This page covers CVE-2024-35910 as tracked by Debian, for the package linux. The fix is available in version 6.8.9-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is high, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity low, availability high.
Affected software
DEBIAN-CVE-2024-35910 is recorded against 1 package.
- linux (fixed in 6.8.9-1)
Timeline and source
Published on 19 May 2024 and last revised on 5 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2024-35910 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| linux | — | 6.8.9-1 |
References
Similar Threats
- Unknown CGA-23jx-hhcx-m389
- Unknown CGA-2qp7-6757-fmgc
- Unknown CGA-2rj5-jc55-r267
- Unknown CGA-3m96-cwq8-6xmx
- Unknown CGA-3qj9-973w-fh9g
More DEBIAN CVE 2024 advisories
Browse all of DEBIAN CVE 2024 in the advisory index.
- DEBIAN-CVE-2024-35901
- DEBIAN-CVE-2024-35902
- DEBIAN-CVE-2024-35903
- DEBIAN-CVE-2024-35904
- DEBIAN-CVE-2024-35905
- DEBIAN-CVE-2024-35907
- DEBIAN-CVE-2024-35908
- DEBIAN-CVE-2024-35909
- DEBIAN-CVE-2024-35911
- DEBIAN-CVE-2024-35912
- DEBIAN-CVE-2024-35913
- DEBIAN-CVE-2024-35914
- DEBIAN-CVE-2024-35915
- DEBIAN-CVE-2024-35916
- DEBIAN-CVE-2024-35917
- DEBIAN-CVE-2024-35919
Site Security Check
Is linux part of your stack?
DEBIAN-CVE-2024-35910 is rated CVSS 7.8 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.