Menu

Star on GitHub · 3.4k

CVE-2024-35910

7.8 · HIGH

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…

Published May 19, 2024EPSS 0.26%

Overview

CVE-2024-35910 is a high-severity vulnerability. It was published on May 19, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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_ti

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-35910?

CVE-2024-35910 is a high-severity vulnerability. It was published on May 19, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-35910?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-35910?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-35910?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-35910 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all
Watch the demo →