# CVE-2024-57882: mptcp: fix TCP options overflow.

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.91% (percentile 58, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-01-15T13:05:35.426Z
- **Modified:** 2026-08-05T11:46:44.414Z

## Who should check

- Anyone running Linux \>= 1bff1e43a30e2f7500a49d47fd26a425643a6a37, \< 88b01048f286bb522f524ad99943ba86797d6514; \>= 1bff1e43a30e2f7500a49d47fd26a425643a6a37, \< 09ba95321a269019b5aa8e0c3bc80cf86d91fd18; \>= 1bff1e43a30e2f7500a49d47fd26a425643a6a37, \< 53fe947f67c93a5334aed3a7259fcc8a204f8bb6; \>= 1bff1e43a30e2f7500a49d47fd26a425643a6a37, \< fb08e6b0ba284e3dcdc9378de26dcb51d90710f5; \>= 1bff1e43a30e2f7500a49d47fd26a425643a6a37, \< cbb26f7d8451fe56ccac802c6db48d16240feebd
- Anyone running Linux 5.15

## Description

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

mptcp: fix TCP options overflow.

Syzbot reported the following splat:

Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 \[\#1\] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range \[0x0000000000000008-0x000000000000000f\]
CPU: 1 UID: 0 PID: 5836 Comm: sshd Not tainted 6.13.0-rc3-syzkaller \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024
RIP: 0010:\_compound\_head include/linux/page-flags.h:242 \[inline\]
RIP: 0010:put\_page+0x23/0x260 include/linux/mm.h:1552
Code: 90 90 90 90 90 90 90 55 41 57 41 56 53 49 89 fe 48 bd 00 00 00 00 00 fc ff df e8 f8 5e 12 f8 49 8d 5e 08 48 89 d8 48 c1 e8 03 \<80\> 3c 28 00 74 08 48 89 df e8 8f c7 78 f8 48 8b 1b 48 89 de 48 83
RSP: 0000:ffffc90003916c90 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffff888030458000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff898ca81d R09: 1ffff110054414ac
R10: dffffc0000000000 R11: ffffed10054414ad R12: 0000000000000007
R13: ffff88802a20a542 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f34f496e800(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9d6ec9ec28 CR3: 000000004d260000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 \<TASK\>
 skb\_page\_unref include/linux/skbuff\_ref.h:43 \[inline\]
 \_\_skb\_frag\_unref include/linux/skbuff\_ref.h:56 \[inline\]
 skb\_release\_data+0x483/0x8a0 net/core/skbuff.c:1119
 skb\_release\_all net/core/skbuff.c:1190 \[inline\]
 \_\_kfree\_skb+0x55/0x70 net/core/skbuff.c:1204
 tcp\_clean\_rtx\_queue net/ipv4/tcp\_input.c:3436 \[inline\]
 tcp\_ack+0x2442/0x6bc0 net/ipv4/tcp\_input.c:4032
 tcp\_rcv\_state\_process+0x8eb/0x44e0 net/ipv4/tcp\_input.c:6805
 tcp\_v4\_do\_rcv+0x77d/0xc70 net/ipv4/tcp\_ipv4.c:1939
 tcp\_v4\_rcv+0x2dc0/0x37f0 net/ipv4/tcp\_ipv4.c:2351
 ip\_protocol\_deliver\_rcu+0x22e/0x440 net/ipv4/ip\_input.c:205
 ip\_local\_deliver\_finish+0x341/0x5f0 net/ipv4/ip\_input.c:233
 NF\_HOOK+0x3a4/0x450 include/linux/netfilter.h:314
 NF\_HOOK+0x3a4/0x450 include/linux/netfilter.h:314
 \_\_netif\_receive\_skb\_one\_core net/core/dev.c:5672 \[inline\]
 \_\_netif\_receive\_skb+0x2bf/0x650 net/core/dev.c:5785
 process\_backlog+0x662/0x15b0 net/core/dev.c:6117
 \_\_napi\_poll+0xcb/0x490 net/core/dev.c:6883
 napi\_poll net/core/dev.c:6952 \[inline\]
 net\_rx\_action+0x89b/0x1240 net/core/dev.c:7074
 handle\_softirqs+0x2d4/0x9b0 kernel/softirq.c:561
 \_\_do\_softirq kernel/softirq.c:595 \[inline\]
 invoke\_softirq kernel/softirq.c:435 \[inline\]
 \_\_irq\_exit\_rcu+0xf7/0x220 kernel/softirq.c:662
 irq\_exit\_rcu+0x9/0x30 kernel/softirq.c:678
 instr\_sysvec\_apic\_timer\_interrupt arch/x86/kernel/apic/apic.c:1049 \[inline\]
 sysvec\_apic\_timer\_interrupt+0x57/0xc0 arch/x86/kernel/apic/apic.c:1049
 asm\_sysvec\_apic\_timer\_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0033:0x7f34f4519ad5
Code: 85 d2 74 0d 0f 10 02 48 8d 54 24 20 0f 11 44 24 20 64 8b 04 25 18 00 00 00 85 c0 75 27 41 b8 08 00 00 00 b8 0f 01 00 00 0f 05 \<48\> 3d 00 f0 ff ff 76 75 48 8b 15 24 73 0d 00 f7 d8 64 89 02 48 83
RSP: 002b:00007ffec5b32ce0 EFLAGS: 00000246
RAX: 0000000000000001 RBX: 00000000000668a0 RCX: 00007f34f4519ad5
RDX: 00007ffec5b32d00 RSI: 0000000000000004 RDI: 0000564f4bc6cae0
RBP: 0000564f4bc6b5a0 R08: 0000000000000008 R09: 0000000000000000
R10: 00007ffec5b32de8 R11: 0000000000000246 R12: 0000564f48ea8aa4
R13: 0000000000000001 R14: 0000564f48ea93e8 R15: 00007ffec5b32d68
 \</TASK\>

Eric noted a probable shinfo-\>nr\_frags corruption, which indeed
occurs.

The root cause is a buggy MPTCP option len computation in some
circumstances: the ADD\_ADDR option should be mutually exclusive
with DSS since the blamed commit.

Still, mptcp\_established\_options\_add\_addr() tries to set the
relevant info in mptcp\_out\_options, if 
---truncated---

## Affected and fixed versions

- Linux: \>= 1bff1e43a30e2f7500a49d47fd26a425643a6a37, \< 88b01048f286bb522f524ad99943ba86797d6514; \>= 1bff1e43a30e2f7500a49d47fd26a425643a6a37, \< 09ba95321a269019b5aa8e0c3bc80cf86d91fd18; \>= 1bff1e43a30e2f7500a49d47fd26a425643a6a37, \< 53fe947f67c93a5334aed3a7259fcc8a204f8bb6; \>= 1bff1e43a30e2f7500a49d47fd26a425643a6a37, \< fb08e6b0ba284e3dcdc9378de26dcb51d90710f5; \>= 1bff1e43a30e2f7500a49d47fd26a425643a6a37, \< cbb26f7d8451fe56ccac802c6db48d16240feebd (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-57882.md
Affected: Linux >= 1bff1e43a30e2f7500a49d47fd26a425643a6a37, < 88b01048f286bb522f524ad99943ba86797d6514; >= 1bff1e43a30e2f7500a49d47fd26a425643a6a37, < 09ba95321a269019b5aa8e0c3bc80cf86d91fd18; >= 1bff1e43a30e2f7500a49d47fd26a425643a6a37, < 53fe947f67c93a5334aed3a7259fcc8a204f8bb6; >= 1bff1e43a30e2f7500a49d4…
Fixed in: Linux 88b01048f286bb522f524ad99943ba86797d6514, Linux 09ba95321a269019b5aa8e0c3bc80cf86d91fd18, Linux 53fe947f67c93a5334aed3a7259fcc8a204f8bb6

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.
```

## FAQ

### Is CVE-2024-57882 being exploited?

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

### How serious is CVE-2024-57882?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-57882?

Linux \>= 1bff1e43a30e2f7500a49d47fd26a425643a6a37, \< 88b01048f286bb522f524ad99943ba86797d6514; \>= 1bff1e43a30e2f7500a49d47fd26a425643a6a37, \< 09ba95321a269019b5aa8e0c3bc80cf86d91fd18; \>= 1bff1e43a30e2f7500a49d47fd26a425643a6a37, \< 53fe947f67c93a5334aed3a7259fcc8a204f8bb6; \>= 1bff1e43a30e2f7500a49d47fd26a425643a6a37, \< fb08e6b0ba284e3dcdc9378de26dcb51d90710f5; \>= 1bff1e43a30e2f7500a49d47fd26a425643a6a37, \< cbb26f7d8451fe56ccac802c6db48d16240feebd; Linux 5.15.

### Is there a fix for CVE-2024-57882?

Yes. Fixed in Linux 88b01048f286bb522f524ad99943ba86797d6514, Linux 09ba95321a269019b5aa8e0c3bc80cf86d91fd18, Linux 53fe947f67c93a5334aed3a7259fcc8a204f8bb6. No fix listed yet: follow the vendor advisory.

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

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.

## References

- patch: <https://git.kernel.org/stable/c/09ba95321a269019b5aa8e0c3bc80cf86d91fd18>
- patch: <https://git.kernel.org/stable/c/53fe947f67c93a5334aed3a7259fcc8a204f8bb6>
- patch: <https://git.kernel.org/stable/c/fb08e6b0ba284e3dcdc9378de26dcb51d90710f5>
- patch: <https://git.kernel.org/stable/c/cbb26f7d8451fe56ccac802c6db48d16240feebd>
- other: <https://git.kernel.org/stable/c/88b01048f286bb522f524ad99943ba86797d6514>
- other: <http://www.openwall.com/lists/oss-security/2025/04/01/3>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-57882>

HTML: <https://flawdb.com/CVE-2024-57882> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-57882>
