# CVE-2024-36889: mptcp: ensure snd\_nxt is properly initialized on connect

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.35% (percentile 21, 2026-11-26)
- **Published:** 2024-05-30T15:28:56.794Z
- **Modified:** 2026-06-17T07:37:16.990Z

## Who should check

- Anyone running Linux \>= 8fd738049ac3d67a937d36577763b47180aae1ad, \< 99951b62bf20cec9247f633a3bea898338b9e5b4; \>= 8fd738049ac3d67a937d36577763b47180aae1ad, \< dc941fec0719d0471a5902424d6b2a17df233193; \>= 8fd738049ac3d67a937d36577763b47180aae1ad, \< 39ca83ed73db9edcc6d70c0dc7a73085a4725012; \>= 8fd738049ac3d67a937d36577763b47180aae1ad, \< aa0c07c1f20e05b30019bff083ec43665536f06f; \>= 8fd738049ac3d67a937d36577763b47180aae1ad, \< 592f69b41766d366dbb8ff4ef5a67c4396527bbe; \>= 8fd738049ac3d67a937d36577763b47180aae1ad, \< fb7a0d334894206ae35f023a82cad5a290fd7386
- Anyone running Linux 5.9

## Description

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

mptcp: ensure snd\_nxt is properly initialized on connect

Christoph reported a splat hinting at a corrupted snd\_una:

  WARNING: CPU: 1 PID: 38 at net/mptcp/protocol.c:1005 \_\_mptcp\_clean\_una+0x4b3/0x620 net/mptcp/protocol.c:1005
  Modules linked in:
  CPU: 1 PID: 38 Comm: kworker/1:1 Not tainted 6.9.0-rc1-gbbeac67456c9 \#59
  Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.11.0-2.el7 04/01/2014
  Workqueue: events mptcp\_worker
  RIP: 0010:\_\_mptcp\_clean\_una+0x4b3/0x620 net/mptcp/protocol.c:1005
  Code: be 06 01 00 00 bf 06 01 00 00 e8 a8 12 e7 fe e9 00 fe ff ff e8
  	8e 1a e7 fe 0f b7 ab 3e 02 00 00 e9 d3 fd ff ff e8 7d 1a e7 fe
  	\<0f\> 0b 4c 8b bb e0 05 00 00 e9 74 fc ff ff e8 6a 1a e7 fe 0f 0b e9
  RSP: 0018:ffffc9000013fd48 EFLAGS: 00010293
  RAX: 0000000000000000 RBX: ffff8881029bd280 RCX: ffffffff82382fe4
  RDX: ffff8881003cbd00 RSI: ffffffff823833c3 RDI: 0000000000000001
  RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
  R10: 0000000000000000 R11: fefefefefefefeff R12: ffff888138ba8000
  R13: 0000000000000106 R14: ffff8881029bd908 R15: ffff888126560000
  FS:  0000000000000000(0000) GS:ffff88813bd00000(0000) knlGS:0000000000000000
  CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  CR2: 00007f604a5dae38 CR3: 0000000101dac002 CR4: 0000000000170ef0
  Call Trace:
   \<TASK\>
   \_\_mptcp\_clean\_una\_wakeup net/mptcp/protocol.c:1055 \[inline\]
   mptcp\_clean\_una\_wakeup net/mptcp/protocol.c:1062 \[inline\]
   \_\_mptcp\_retrans+0x7f/0x7e0 net/mptcp/protocol.c:2615
   mptcp\_worker+0x434/0x740 net/mptcp/protocol.c:2767
   process\_one\_work+0x1e0/0x560 kernel/workqueue.c:3254
   process\_scheduled\_works kernel/workqueue.c:3335 \[inline\]
   worker\_thread+0x3c7/0x640 kernel/workqueue.c:3416
   kthread+0x121/0x170 kernel/kthread.c:388
   ret\_from\_fork+0x44/0x50 arch/x86/kernel/process.c:147
   ret\_from\_fork\_asm+0x1a/0x30 arch/x86/entry/entry\_64.S:243
   \</TASK\>

When fallback to TCP happens early on a client socket, snd\_nxt
is not yet initialized and any incoming ack will copy such value
into snd\_una. If the mptcp worker (dumbly) tries mptcp-level
re-injection after such ack, that would unconditionally trigger a send
buffer cleanup using 'bad' snd\_una values.

We could easily disable re-injection for fallback sockets, but such
dumb behavior already helped catching a few subtle issues and a very
low to zero impact in practice.

Instead address the issue always initializing snd\_nxt (and write\_seq,
for consistency) at connect time.

## Affected and fixed versions

- Linux: \>= 8fd738049ac3d67a937d36577763b47180aae1ad, \< 99951b62bf20cec9247f633a3bea898338b9e5b4; \>= 8fd738049ac3d67a937d36577763b47180aae1ad, \< dc941fec0719d0471a5902424d6b2a17df233193; \>= 8fd738049ac3d67a937d36577763b47180aae1ad, \< 39ca83ed73db9edcc6d70c0dc7a73085a4725012; \>= 8fd738049ac3d67a937d36577763b47180aae1ad, \< aa0c07c1f20e05b30019bff083ec43665536f06f; \>= 8fd738049ac3d67a937d36577763b47180aae1ad, \< 592f69b41766d366dbb8ff4ef5a67c4396527bbe; \>= 8fd738049ac3d67a937d36577763b47180aae1ad, \< fb7a0d334894206ae35f023a82cad5a290fd7386 (cvelist)
- Linux: 5.9 (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-36889. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-36889.md
Affected: Linux >= 8fd738049ac3d67a937d36577763b47180aae1ad, < 99951b62bf20cec9247f633a3bea898338b9e5b4; >= 8fd738049ac3d67a937d36577763b47180aae1ad, < dc941fec0719d0471a5902424d6b2a17df233193; >= 8fd738049ac3d67a937d36577763b47180aae1ad, < 39ca83ed73db9edcc6d70c0dc7a73085a4725012; >= 8fd738049ac3d67a937d365…
Fixed in: Linux 99951b62bf20cec9247f633a3bea898338b9e5b4, Linux 39ca83ed73db9edcc6d70c0dc7a73085a4725012, Linux 592f69b41766d366dbb8ff4ef5a67c4396527bbe

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-36889 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 8fd738049ac3d67a937d36577763b47180aae1ad, \< 99951b62bf20cec9247f633a3bea898338b9e5b4; \>= 8fd738049ac3d67a937d36577763b47180aae1ad, \< dc941fec0719d0471a5902424d6b2a17df233193; \>= 8fd738049ac3d67a937d36577763b47180aae1ad, \< 39ca83ed73db9edcc6d70c0dc7a73085a4725012; \>= 8fd738049ac3d67a937d36577763b47180aae1ad, \< aa0c07c1f20e05b30019bff083ec43665536f06f; \>= 8fd738049ac3d67a937d36577763b47180aae1ad, \< 592f69b41766d366dbb8ff4ef5a67c4396527bbe; \>= 8fd738049ac3d67a937d36577763b47180aae1ad, \< fb7a0d334894206ae35f023a82cad5a290fd7386; Linux 5.9.

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

Yes. Fixed in Linux 99951b62bf20cec9247f633a3bea898338b9e5b4, Linux 39ca83ed73db9edcc6d70c0dc7a73085a4725012, Linux 592f69b41766d366dbb8ff4ef5a67c4396527bbe. No fix listed yet: follow the vendor advisory.

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

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/99951b62bf20cec9247f633a3bea898338b9e5b4>
- patch: <https://git.kernel.org/stable/c/dc941fec0719d0471a5902424d6b2a17df233193>
- patch: <https://git.kernel.org/stable/c/39ca83ed73db9edcc6d70c0dc7a73085a4725012>
- patch: <https://git.kernel.org/stable/c/aa0c07c1f20e05b30019bff083ec43665536f06f>
- patch: <https://git.kernel.org/stable/c/592f69b41766d366dbb8ff4ef5a67c4396527bbe>
- patch: <https://git.kernel.org/stable/c/fb7a0d334894206ae35f023a82cad5a290fd7386>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00019.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-36889>

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