Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-26865

7.8 · HIGH
Published Apr 17, 2024 linux CWE-416 EPSS 0.23% (14th pctl)

Overview

CVE-2024-26865 is a high-severity vulnerability affecting linux linux_kernel. It was published on April 17, 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:

rds: tcp: Fix use-after-free of net in reqsk_timer_handler().

syzkaller reported a warning of netns tracker [0] followed by KASAN

splat [1] and another ref tracker warning [1].

syzkaller could not find a repro, but in the log, the only suspicious

sequence was as follows:

18:26:22 executing program 1:

r0 = socket$inet6_mptcp(0xa, 0x1, 0x106)

...

connect$inet6(r0, &(0x7f0000000080)={0xa, 0x4001, 0x0, @loopback}, 0x1c) (async)

The notable thing here is 0x4001 in connect(), which is RDS_TCP_PORT.

So, the scenario would be:

1. unshare(CLONE_NEWNET) creates a per netns tcp listener in

rds_tcp_listen_init().

2. syz-executor connect()s to it and creates a reqsk.

3. syz-executor exit()s immediately.

4. netns is dismantled. [0]

5. reqsk timer is fired, and UAF happens while freeing reqsk. [1]

6. listener is freed after RCU grace period. [2]

Basically, reqsk assumes that the listener guarantee

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 4.3, < 6.1.83 Affected

Frequently Asked Questions

What is CVE-2024-26865?

CVE-2024-26865 is a high-severity vulnerability affecting linux linux_kernel. It was published on April 17, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-26865?

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-26865?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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-26865?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-26865 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.