Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-35910

HIGH 7.8EPSS 23%

tcp: properly terminate timers for kernel sockets

Mitigation

  • Upgrade Linux to 151c9c724d05d5b0dd8acd3e11cb69ef1f2dbada or later.

Who should check

  • Anyone running Linux >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < 93f0133b9d589cc6e865f254ad9be3e9d8133f50; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < 44e62f5d35678686734afd47c6a421ad30772e7f; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < e3e27d2b446deb1f643758a0c4731f5c22492810; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < 2e43d8eba6edd1cf05a3a20fdd77688fa7ec16a4; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < 91b243de910a9ac8476d40238ab3dbfeedd5b7de; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < c1ae4d1e76eacddaacb958b67cd942082f800c87; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < 899265c1389fe022802aae73dbf13ee08837a35a; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < 151c9c724d05d5b0dd8acd3e11cb69ef1f2dbada
  • Anyone running Linux 4.2

Vulnerability facts

Affected
Linux >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < 93f0133b9d589cc6e865f254ad9be3e9d8133f50; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < 44e62f5d35678686734afd47c6a421ad30772e7f; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < e3e27d2b446deb1f643758a0c4731f5c22492810; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < 2e43d8eba6edd1cf05a3a20fdd77688fa7ec16a4; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < 91b243de910a9ac8476d40238ab3dbfeedd5b7de; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < c1ae4d1e76eacddaacb958b67cd942082f800c87; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < 899265c1389fe022802aae73dbf13ee08837a35a; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < 151c9c724d05d5b0dd8acd3e11cb69ef1f2dbada; Linux 4.2
Fixed in
Linux 93f0133b9d589cc6e865f254ad9be3e9d8133f50, Linux 44e62f5d35678686734afd47c6a421ad30772e7f, Linux 2e43d8eba6edd1cf05a3a20fdd77688fa7ec16a4, Linux 91b243de910a9ac8476d40238ab3dbfeedd5b7de, Linux 899265c1389fe022802aae73dbf13ee08837a35a, Linux 151c9c724d05d5b0dd8acd3e11cb69ef1f2dbada
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.37% chance of exploitation in 30 days (percentile 23, 2026-11-26)
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < 93f0133b9d589cc6e865f254ad9be3e9d8133f50; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < 44e62f5d35678686734afd47c6a421ad30772e7f; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < e3e27d2b446deb1f643758a0c4731f5c22492810; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < 2e43d8eba6edd1cf05a3a20fdd77688fa7ec16a4; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < 91b243de910a9ac8476d40238ab3dbfeedd5b7de; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < c1ae4d1e76eacddaacb958b67cd942082f800c87; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < 899265c1389fe022802aae73dbf13ee08837a35a; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < 151c9c724d05d5b0dd8acd3e11cb69ef1f2dbada—cvelist
Linux4.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-35910. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-35910.md
Affected: Linux >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < 93f0133b9d589cc6e865f254ad9be3e9d8133f50; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < 44e62f5d35678686734afd47c6a421ad30772e7f; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < e3e27d2b446deb1f643758a0c4731f5c22492810; >= 26abe14379f8e2fa3fd1bcf…
Fixed in: Linux 93f0133b9d589cc6e865f254ad9be3e9d8133f50, Linux 44e62f5d35678686734afd47c6a421ad30772e7f, Linux 2e43d8eba6edd1cf05a3a20fdd77688fa7ec16a4, Linux 91b243de910a9ac8476d40238ab3dbfeedd5b7de, Linux 899265c1389fe022802aae73dbf13ee08837a35a, Linux 151c9c724d05d5b0dd8acd3e11cb69ef1f2dbada

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-35910 being exploited?

There is no confirmed exploitation: CVE-2024-35910 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.37% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-35910?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-35910?

Linux >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < 93f0133b9d589cc6e865f254ad9be3e9d8133f50; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < 44e62f5d35678686734afd47c6a421ad30772e7f; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < e3e27d2b446deb1f643758a0c4731f5c22492810; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < 2e43d8eba6edd1cf05a3a20fdd77688fa7ec16a4; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < 91b243de910a9ac8476d40238ab3dbfeedd5b7de; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < c1ae4d1e76eacddaacb958b67cd942082f800c87; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < 899265c1389fe022802aae73dbf13ee08837a35a; >= 26abe14379f8e2fa3fd1bcf97c9a7ad9364886fe, < 151c9c724d05d5b0dd8acd3e11cb69ef1f2dbada; Linux 4.2.

Is there a fix for CVE-2024-35910?

Yes. Fixed in Linux 93f0133b9d589cc6e865f254ad9be3e9d8133f50, Linux 44e62f5d35678686734afd47c6a421ad30772e7f, Linux 2e43d8eba6edd1cf05a3a20fdd77688fa7ec16a4, Linux 91b243de910a9ac8476d40238ab3dbfeedd5b7de, Linux 899265c1389fe022802aae73dbf13ee08837a35a, Linux 151c9c724d05d5b0dd8acd3e11cb69ef1f2dbada. Upgrade Linux to 151c9c724d05d5b0dd8acd3e11cb69ef1f2dbada or later.

How do I check if I'm affected by CVE-2024-35910?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors