Menu

Star on GitHub · 3.2k

CVE-2024-26782

9.8 · CRITICAL

In the Linux kernel, the following vulnerability has been resolved: mptcp: fix double-free on socket dismantle when MPTCP server accepts an incoming connection, it clones its listener socket.

Published Apr 4, 2024CWE-415EPSS 0.72%

Overview

CVE-2024-26782 is a critical-severity vulnerability. It was published on April 4, 2024 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

mptcp: fix double-free on socket dismantle

when MPTCP server accepts an incoming connection, it clones its listener

socket. However, the pointer to 'inet_opt' for the new socket has the same

value as the original one: as a consequence, on program exit it's possible

to observe the following splat:

BUG: KASAN: double-free in inet_sock_destruct+0x54f/0x8b0

Free of addr ffff888485950880 by task swapper/25/0

CPU: 25 PID: 0 Comm: swapper/25 Kdump: loaded Not tainted 6.8.0-rc1+ #609

Hardware name: Supermicro SYS-6027R-72RF/X9DRH-7TF/7F/iTF/iF, BIOS 3.0 07/26/2013

Call Trace:

<IRQ>

dump_stack_lvl+0x32/0x50

print_report+0xca/0x620

kasan_report_invalid_free+0x64/0x90

__kasan_slab_free+0x1aa/0x1f0

kfree+0xed/0x2e0

inet_sock_destruct+0x54f/0x8b0

__sk_destruct+0x48/0x5b0

rcu_do_batch+0x34e/0xd90

rcu_core+0x559/0xac0

__do_softirq+0x183/0x5a4

irq_exit_rcu+0x12d/0x170

sysvec_apic_t

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

CVE-2024-26782 is a critical-severity vulnerability. It was published on April 4, 2024 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

How severe is CVE-2024-26782?

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

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

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

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-26782 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 CRITICAL CVEs from 2024

View all