CVE-2024-26782: mptcp: fix double-free on socket dismantle
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.72% (FIRST EPSS); higher than 54.4% of all records.
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 10048689def7e40a4405acda16fdc6477d4ecc5c, 4a4eeb6912538c2d0b158e8d11b62d96c1dada4e, 85933e80d077c9ae2227226beb86c22f464059cc.
- Severity is disputed: the assigning authority (CNA) scores it 9.8, NVD 7.8.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to Linux Linux 10048689def7e40a4405acda16fdc6477d4ecc5c, 4a4eeb6912538c2d0b158e8d11b62d96c1dada4e, 85933e80d077c9ae2227226beb86c22f464059cc or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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_timer_interrupt+0x6b/0x80 </IRQ> <TASK> asm_sysvec_apic_timer_interrupt+0x16/0x20 RIP: 0010:cpuidle_enter_state+0x175/0x300 Code: 30 00 0f 84 1f 01 00 00 83 e8 01 83 f8 ff 75 e5 48 83 c4 18 44 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc fb 45 85 ed <0f> 89 60 ff ff ff 48 c1 e5 06 48 c7 43 18 00 00 00 00 48 83 44 2b RSP: 0018:ffff888481cf7d90 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffff88887facddc8 RCX: 0000000000000000 RDX: 1ffff1110ff588b1 RSI: 0000000000000019 RDI: ffff88887fac4588 RBP: 0000000000000004 R08: 0000000000000002 R09: 0000000000043080 R10: 0009b02ea273363f R11: ffff88887fabf42b R12: ffffffff932592e0 R13: 0000000000000004 R14: 0000000000000000 R15: 00000022c880ec80 cpuidle_enter+0x4a/0xa0 do_idle+0x310/0x410 cpu_startup_entry+0x51/0x60 start_secondary+0x211/0x270 secondary_startup_64_no_verify+0x184/0x18b </TASK> Allocated by task 6853: kasan_save_stack+0x1c/0x40 kasan_save_track+0x10/0x30 __kasan_kmalloc+0xa6/0xb0 __kmalloc+0x1eb/0x450 cipso_v4_sock_setattr+0x96/0x360 netlbl_sock_setattr+0x132/0x1f0 selinux_netlbl_socket_post_create+0x6c/0x110 selinux_socket_post_create+0x37b/0x7f0 security_socket_post_create+0x63/0xb0 __sock_create+0x305/0x450 __sys_socket_create.part.23+0xbd/0x130 __sys_socket+0x37/0xb0 __x64_sys_socket+0x6f/0xb0 do_syscall_64+0x83/0x160 entry_SYSCALL_64_after_hwframe+0x6e/0x76 Freed by task 6858: kasan_save_stack+0x1c/0x40 kasan_save_track+0x10/0x30 kasan_save_free_info+0x3b/0x60 __kasan_slab_free+0x12c/0x1f0 kfree+0xed/0x2e0 inet_sock_destruct+0x54f/0x8b0 __sk_destruct+0x48/0x5b0 subflow_ulp_release+0x1f0/0x250 tcp_cleanup_ulp+0x6e/0x110 tcp_v4_destroy_sock+0x5a/0x3a0 inet_csk_destroy_sock+0x135/0x390 tcp_fin+0x416/0x5c0 tcp_data_queue+0x1bc8/0x4310 tcp_rcv_state_process+0x15a3/0x47b0 tcp_v4_do_rcv+0x2c1/0x990 tcp_v4_rcv+0x41fb/0x5ed0 ip_protocol_deliver_rcu+0x6d/0x9f0 ip_local_deliver_finish+0x278/0x360 ip_local_deliver+0x182/0x2c0 ip_rcv+0xb5/0x1c0 __netif_receive_skb_one_core+0x16e/0x1b0 process_backlog+0x1e3/0x650 __napi_poll+0xa6/0x500 net_rx_action+0x740/0xbb0 __do_softirq+0x183/0x5a4 The buggy address belongs to the object at ffff888485950880 which belongs to the cache kmalloc-64 of size 64 The buggy address is located 0 bytes inside of 64-byte region [ffff888485950880, ffff8884859508c0) The buggy address belongs to the physical page: page:0000000056d1e95e refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff888485950700 pfn:0x485950 flags: 0x57ffffc0000800(slab|node=1|zone=2|lastcpupid=0x1fffff) page_type: 0xffffffff() raw: 0057ffffc0000800 ffff88810004c640 ffffea00121b8ac0 dead000000000006 raw: ffff888485950700 0000000000200019 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888485950780: fa fb fb ---truncated---
- Published
- Apr 4, 2024
- Updated
- Aug 5, 2026
- EPSS
- 0.7% · 54th percentile
- CWE
- CWE-415
Report tools
Action score
31
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.7%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.8
- CNA · Linux
- 9.8
- 2.0 point gap
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 5.6affected
- cf7da0d66cc1a2a19fc5930bb746ffbb2d4cd1be and later · before f74362a004225df935863dea6eb7d82daaa5b16eaffected · git
- cf7da0d66cc1a2a19fc5930bb746ffbb2d4cd1be and later · before 4a4eeb6912538c2d0b158e8d11b62d96c1dada4eaffected · git
- cf7da0d66cc1a2a19fc5930bb746ffbb2d4cd1be and later · before d93fd40c62397326046902a2c5cb75af50882a85affected · git
- cf7da0d66cc1a2a19fc5930bb746ffbb2d4cd1be and later · before ce0809ada38dca8d6d41bb57ab40494855c30582affected · git
- cf7da0d66cc1a2a19fc5930bb746ffbb2d4cd1be and later · before 85933e80d077c9ae2227226beb86c22f464059ccaffected · git
- cf7da0d66cc1a2a19fc5930bb746ffbb2d4cd1be and later · before 10048689def7e40a4405acda16fdc6477d4ecc5caffected · git
- before 5.6not affected · semver
- 5.10.212 and later · up to and including 5.10.*not affected · semver
- 5.15.151 and later · up to and including 5.15.*not affected · semver
Affected versions · NVD (6)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel5.6 and later · before 5.10.212
- linux linux kernel5.11 and later · before 5.15.151
- linux linux kernel5.16 and later · before 6.1.81
- linux linux kernel6.2 and later · before 6.6.21
- linux linux kernel6.7 and later · before 6.7.9
- linux linux kernel6.8
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.82-1 | 6.1.82-1 |
| Debian:13 | linux | before 6.7.9-1 | 6.7.9-1 |
| openSUSE:Leap 15.5 | kernel-azure | before 5.14.21-150500.33.75.1 | 5.14.21-150500.33.75.1 |
| openSUSE:Leap 15.5 | kernel-rt_debug | before 5.14.21-150500.13.79.1 | 5.14.21-150500.13.79.1 |
| openSUSE:Leap 15.5 | kernel-source-azure | before 5.14.21-150500.33.75.1 | 5.14.21-150500.33.75.1 |
| openSUSE:Leap 15.5 | kernel-source-rt | before 5.14.21-150500.13.79.1 | 5.14.21-150500.13.79.1 |
| openSUSE:Leap 15.5 | kernel-syms-azure | before 5.14.21-150500.33.75.1 | 5.14.21-150500.33.75.1 |
| openSUSE:Leap 15.5 | kernel-syms-rt | before 5.14.21-150500.13.79.1 | 5.14.21-150500.13.79.1 |
| openSUSE:Leap 15.6 | dtb-aarch64 | before 6.4.0-150600.23.30.1 | 6.4.0-150600.23.30.1 |
| openSUSE:Leap 15.6 | kernel-64kb | before 6.4.0-150600.23.30.1 | 6.4.0-150600.23.30.1 |
| openSUSE:Leap 15.6 | kernel-azure | before 6.4.0-150600.8.20.1 | 6.4.0-150600.8.20.1 |
| openSUSE:Leap 15.6 | kernel-debug | before 6.4.0-150600.23.30.1 | 6.4.0-150600.23.30.1 |
| openSUSE:Leap 15.6 | kernel-default | before 6.4.0-150600.23.30.1 | 6.4.0-150600.23.30.1 |
| openSUSE:Leap 15.6 | kernel-default-base | before 6.4.0-150600.23.30.1.150600.12.12.6 | 6.4.0-150600.23.30.1.150600.12.12.6 |
| openSUSE:Leap 15.6 | kernel-docs | before 6.4.0-150600.23.30.1 | 6.4.0-150600.23.30.1 |
| openSUSE:Leap 15.6 | kernel-kvmsmall | before 6.4.0-150600.23.30.1 | 6.4.0-150600.23.30.1 |
| openSUSE:Leap 15.6 | kernel-obs-build | before 6.4.0-150600.23.30.1 | 6.4.0-150600.23.30.1 |
| openSUSE:Leap 15.6 | kernel-obs-qa | before 6.4.0-150600.23.30.1 | 6.4.0-150600.23.30.1 |
| openSUSE:Leap 15.6 | kernel-rt | before 6.4.0-150600.10.20.1 | 6.4.0-150600.10.20.1 |
| openSUSE:Leap 15.6 | kernel-rt_debug | before 6.4.0-150600.10.20.1 | 6.4.0-150600.10.20.1 |
| openSUSE:Leap 15.6 | kernel-source | before 6.4.0-150600.23.30.1 | 6.4.0-150600.23.30.1 |
| openSUSE:Leap 15.6 | kernel-source-azure | before 6.4.0-150600.8.20.1 | 6.4.0-150600.8.20.1 |
| openSUSE:Leap 15.6 | kernel-source-rt | before 6.4.0-150600.10.20.1 | 6.4.0-150600.10.20.1 |
| openSUSE:Leap 15.6 | kernel-syms | before 6.4.0-150600.23.30.1 | 6.4.0-150600.23.30.1 |
+52
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2024-26780Apr 4, 2024 · af_unix: Fix task hung while purging oob_skb in GC.22Monitor
- ← EarlierCVE-2024-26781Apr 4, 2024 · mptcp: fix possible deadlock in subflow diag22Monitor
- Later →CVE-2024-26784Apr 4, 2024 · pmdomain: arm: Fix NULL dereference on scmi_perf_domain removal22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 10048689def7e40a4405acda16fdc6477d4ecc5c | Vendor (CNA) |
| Linux Linux | 4a4eeb6912538c2d0b158e8d11b62d96c1dada4e | Vendor (CNA) |
| Linux Linux | 85933e80d077c9ae2227226beb86c22f464059cc | Vendor (CNA) |
| Linux Linux | ce0809ada38dca8d6d41bb57ab40494855c30582 | Vendor (CNA) |
| Linux Linux | d93fd40c62397326046902a2c5cb75af50882a85 | Vendor (CNA) |
| Linux Linux | f74362a004225df935863dea6eb7d82daaa5b16e | Vendor (CNA) |
| debian:linux | 6.1.82-1 · Debian:12 | Package registry (OSV) |
| opensuse:dtb-aarch64 | 6.4.0-150600.23.30.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-64kb | 6.4.0-150600.23.30.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-azure | 6.4.0-150600.8.20.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-debug | 6.4.0-150600.23.30.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-default | 6.4.0-150600.23.30.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-default-base | 6.4.0-150600.23.30.1.150600.12.12.6 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-rt | 6.4.0-150600.10.20.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-rt_debug | 6.4.0-150600.10.20.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-source-azure | 6.4.0-150600.8.20.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-source-rt | 6.4.0-150600.10.20.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-syms-azure | 6.4.0-150600.8.20.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-syms-rt | 6.4.0-150600.10.20.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| suse:kernel-64kb | 6.4.0-150600.23.30.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6 | Package registry (OSV) |
| suse:kernel-azure | 6.4.0-150600.8.20.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6 | Package registry (OSV) |
| suse:kernel-default | 6.4.0-150600.23.30.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6 | Package registry (OSV) |
| suse:kernel-default-base | 6.4.0-150600.23.30.1.150600.12.12.6 · SUSE:Linux Enterprise Module for Basesystem 15 SP6 | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP5-RT_Update_23 | 1-150500.11.3.1 · SUSE:Linux Enterprise Live Patching 15 SP5 | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP6-RT_Update_6 | 1-150600.1.3.1 · SUSE:Linux Enterprise Live Patching 15 SP6 | Package registry (OSV) |
| suse:kernel-rt | 6.4.0-150600.10.20.1 · SUSE:Real Time Module 15 SP6 | Package registry (OSV) |
| suse:kernel-rt_debug | 6.4.0-150600.10.20.1 · SUSE:Real Time Module 15 SP6 | Package registry (OSV) |
| suse:kernel-source-azure | 6.4.0-150600.8.20.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6 | Package registry (OSV) |
| suse:kernel-source-rt | 6.4.0-150600.10.20.1 · SUSE:Real Time Module 15 SP6 | Package registry (OSV) |
| suse:kernel-syms-azure | 6.4.0-150600.8.20.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP6 | Package registry (OSV) |
+1
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2024-3581443 days apartswiotlb: Fix double-allocation of slots due to broken alignment handling35Monitor
- CVE-2024-267920 days apartbtrfs: fix double free of anonymous device after snapshot creation failure31Monitor
- CVE-2024-266941 days apartwifi: iwlwifi: fix double-free bug31Monitor
- CVE-2024-267041 days apartext4: fix double-free of blocks due to wrong extents moved_len31Monitor
- CVE-2024-267481 days apartusb: cdns3: fix memory double free when handle zero packet31Monitor
- CVE-2024-266533 days apartusb: misc: ljca: Fix double free in error handling path31Monitor
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-24-0273 · Apr 5, 2024(Linux Kernel Güncellemesi)
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-415 · Double FreeCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
- git.kernel.org/stable/c/4a4eeb6912538c2d0b158e8d11b62d96c1dada4e
- git.kernel.org/stable/c/85933e80d077c9ae2227226beb86c22f464059cc
- git.kernel.org/stable/c/ce0809ada38dca8d6d41bb57ab40494855c30582
- git.kernel.org/stable/c/d93fd40c62397326046902a2c5cb75af50882a85
- git.kernel.org/stable/c/f74362a004225df935863dea6eb7d82daaa5b16e
- lists.debian.org/debian-lts-announce/2024/06/msg00017.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.