# CVE-2024-53123: mptcp: error out earlier on disconnect

> 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, CNA) `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.23% (percentile 8, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2024-12-02T13:44:53.598Z
- **Modified:** 2026-06-17T08:08:21.467Z

## Who should check

- Anyone running Linux \>= ec9bc89a018842006d63f6545c50768e79bd89f8, \< a749b23059b43a9b1787eb36c5d9d44150a34238; \>= 419ce133ab928ab5efd7b50b2ef36ddfd4eadbd2, \< a66805c9b22caf4e42af7a616f6c6b83c90d1010; \>= 419ce133ab928ab5efd7b50b2ef36ddfd4eadbd2, \< 955388e1d5d222c4101c596b536d41b91a8b212e; \>= 419ce133ab928ab5efd7b50b2ef36ddfd4eadbd2, \< 581302298524e9d77c4c44ff5156a6cd112227ae; 30fa7600e0580cabbbc50e1c94b5609a85469809; \>= 6.1.60, \< 6.1.119; \>= 6.5.9, \< 6.6
- Anyone running Linux 6.6

## Description

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

mptcp: error out earlier on disconnect

Eric reported a division by zero splat in the MPTCP protocol:

Oops: divide error: 0000 \[\#1\] PREEMPT SMP KASAN PTI
CPU: 1 UID: 0 PID: 6094 Comm: syz-executor317 Not tainted
6.12.0-rc5-syzkaller-00291-g05b92660cdfe \#0
Hardware name: Google Google Compute Engine/Google Compute Engine,
BIOS Google 09/13/2024
RIP: 0010:\_\_tcp\_select\_window+0x5b4/0x1310 net/ipv4/tcp\_output.c:3163
Code: f6 44 01 e3 89 df e8 9b 75 09 f8 44 39 f3 0f 8d 11 ff ff ff e8
0d 74 09 f8 45 89 f4 e9 04 ff ff ff e8 00 74 09 f8 44 89 f0 99 \<f7\> 7c
24 14 41 29 d6 45 89 f4 e9 ec fe ff ff e8 e8 73 09 f8 48 89
RSP: 0018:ffffc900041f7930 EFLAGS: 00010293
RAX: 0000000000017e67 RBX: 0000000000017e67 RCX: ffffffff8983314b
RDX: 0000000000000000 RSI: ffffffff898331b0 RDI: 0000000000000004
RBP: 00000000005d6000 R08: 0000000000000004 R09: 0000000000017e67
R10: 0000000000003e80 R11: 0000000000000000 R12: 0000000000003e80
R13: ffff888031d9b440 R14: 0000000000017e67 R15: 00000000002eb000
FS: 00007feb5d7f16c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007feb5d8adbb8 CR3: 0000000074e4c000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
\<TASK\>
\_\_tcp\_cleanup\_rbuf+0x3e7/0x4b0 net/ipv4/tcp.c:1493
mptcp\_rcv\_space\_adjust net/mptcp/protocol.c:2085 \[inline\]
mptcp\_recvmsg+0x2156/0x2600 net/mptcp/protocol.c:2289
inet\_recvmsg+0x469/0x6a0 net/ipv4/af\_inet.c:885
sock\_recvmsg\_nosec net/socket.c:1051 \[inline\]
sock\_recvmsg+0x1b2/0x250 net/socket.c:1073
\_\_sys\_recvfrom+0x1a5/0x2e0 net/socket.c:2265
\_\_do\_sys\_recvfrom net/socket.c:2283 \[inline\]
\_\_se\_sys\_recvfrom net/socket.c:2279 \[inline\]
\_\_x64\_sys\_recvfrom+0xe0/0x1c0 net/socket.c:2279
do\_syscall\_x64 arch/x86/entry/common.c:52 \[inline\]
do\_syscall\_64+0xcd/0x250 arch/x86/entry/common.c:83
entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
RIP: 0033:0x7feb5d857559
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 18 00 00 90 48 89 f8 48
89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 \<48\> 3d
01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007feb5d7f1208 EFLAGS: 00000246 ORIG\_RAX: 000000000000002d
RAX: ffffffffffffffda RBX: 00007feb5d8e1318 RCX: 00007feb5d857559
RDX: 000000800000000e RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007feb5d8e1310 R08: 0000000000000000 R09: ffffffff81000000
R10: 0000000000000100 R11: 0000000000000246 R12: 00007feb5d8e131c
R13: 00007feb5d8ae074 R14: 000000800000000e R15: 00000000fffffdef

and provided a nice reproducer.

The root cause is the current bad handling of racing disconnect.
After the blamed commit below, sk\_wait\_data() can return (with
error) with the underlying socket disconnected and a zero rcv\_mss.

Catch the error and return without performing any additional
operations on the current socket.

## Affected and fixed versions

- Linux: \>= ec9bc89a018842006d63f6545c50768e79bd89f8, \< a749b23059b43a9b1787eb36c5d9d44150a34238; \>= 419ce133ab928ab5efd7b50b2ef36ddfd4eadbd2, \< a66805c9b22caf4e42af7a616f6c6b83c90d1010; \>= 419ce133ab928ab5efd7b50b2ef36ddfd4eadbd2, \< 955388e1d5d222c4101c596b536d41b91a8b212e; \>= 419ce133ab928ab5efd7b50b2ef36ddfd4eadbd2, \< 581302298524e9d77c4c44ff5156a6cd112227ae; 30fa7600e0580cabbbc50e1c94b5609a85469809; \>= 6.1.60, \< 6.1.119; \>= 6.5.9, \< 6.6 (cvelist)
- Linux: 6.6 (cvelist)

## Mitigation

- Upgrade Linux to 6.6 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-53123.md
Affected: Linux >= ec9bc89a018842006d63f6545c50768e79bd89f8, < a749b23059b43a9b1787eb36c5d9d44150a34238; >= 419ce133ab928ab5efd7b50b2ef36ddfd4eadbd2, < a66805c9b22caf4e42af7a616f6c6b83c90d1010; >= 419ce133ab928ab5efd7b50b2ef36ddfd4eadbd2, < 955388e1d5d222c4101c596b536d41b91a8b212e; >= 419ce133ab928ab5efd7b50…
Fixed in: Linux 955388e1d5d222c4101c596b536d41b91a8b212e, Linux 581302298524e9d77c4c44ff5156a6cd112227ae, Linux 6.1.119, Linux 6.6

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

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

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

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

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

Linux \>= ec9bc89a018842006d63f6545c50768e79bd89f8, \< a749b23059b43a9b1787eb36c5d9d44150a34238; \>= 419ce133ab928ab5efd7b50b2ef36ddfd4eadbd2, \< a66805c9b22caf4e42af7a616f6c6b83c90d1010; \>= 419ce133ab928ab5efd7b50b2ef36ddfd4eadbd2, \< 955388e1d5d222c4101c596b536d41b91a8b212e; \>= 419ce133ab928ab5efd7b50b2ef36ddfd4eadbd2, \< 581302298524e9d77c4c44ff5156a6cd112227ae; 30fa7600e0580cabbbc50e1c94b5609a85469809; \>= 6.1.60, \< 6.1.119; \>= 6.5.9, \< 6.6; Linux 6.6.

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

Yes. Fixed in Linux 955388e1d5d222c4101c596b536d41b91a8b212e, Linux 581302298524e9d77c4c44ff5156a6cd112227ae, Linux 6.1.119, Linux 6.6. Upgrade Linux to 6.6 or later.

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

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/a749b23059b43a9b1787eb36c5d9d44150a34238>
- patch: <https://git.kernel.org/stable/c/a66805c9b22caf4e42af7a616f6c6b83c90d1010>
- patch: <https://git.kernel.org/stable/c/955388e1d5d222c4101c596b536d41b91a8b212e>
- patch: <https://git.kernel.org/stable/c/581302298524e9d77c4c44ff5156a6cd112227ae>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/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-53123>

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