CVE-2023-53490
published high CVSS 3.1 · 7.8mptcp: fix disconnect vs accept race
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb45d8f5375eda3ddc89fe529b58bb643917bd87b to < ded9f5551ce5cafa3c41c794428c27a0d0a00542 · 2a6a870e44dd88f1a6a2893c65ef756a9edfb4c7 to < b2b4c84eb7149f34c0f25f17042d095ba5357d68 · 2a6a870e44dd88f1a6a2893c65ef756a9edfb4c7 to < 511b90e39250135a7f900f1c3afbce25543018a2 · 64b66601308dae6105fbde964a339462a29c2a73 · 6.1.27 to < 6.1.46 · 6.2.13 to < 6.3 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.3 (affected) · 0 to < 6.3 (unaffected · semver) · 6.1.46 through 6.1.* (unaffected · semver) · 6.4.11 through 6.4.* (unaffected · semver) · 6.5 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-330 | Fixed | Not stated | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolaarch64 | Advisory build | 7.3.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolppc64le | Advisory build | 7.3.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | bpftools390x | Advisory build | 7.3.0-427.13.1.el9_4 | RHSA-2024:2394 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-9 | bpftoolx86_64 | Advisory build | 7.3.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoaarch64 | Advisory build | 7.3.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoppc64le | Advisory build | 7.3.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfos390x | Advisory build | 7.3.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfox86_64 | Advisory build | 7.3.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernelaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernelppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernels390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernelsrc | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernelx86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64kaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-coreaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debugaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-coreaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-debuginfoaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-develaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-devel-matchedaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modulesaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-coreaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-extraaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debuginfoaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-develaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-devel-matchedaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modulesaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-coreaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-extraaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-abi-stablelistsnoarch | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-cores390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-corex86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugs390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugx86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-cores390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-corex86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfos390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfox86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devels390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develx86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matcheds390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedx86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-moduless390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesx86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-coreaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-coreppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-cores390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-corex86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extraaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extrappc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extras390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extrax86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-uki-virtx86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfoaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfoppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfos390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfox86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-aarch64aarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-ppc64leppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-s390xs390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devels390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develx86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matcheds390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedx86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-docnoarch | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-moduless390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesx86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-coreaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-coreppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-cores390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-corex86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extraaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extrappc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extras390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extrax86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rtx86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-corex86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-debugx86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-debug-corex86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: mptcp: fix disconnect vs accept race Despite commit 0ad529d9fd2b ("mptcp: fix possible divide by zero in recvmsg()"), the mptcp protocol is still prone to a race between disconnect() (or shutdown) and accept. The root cause is that the mentioned commit checks the msk-level flag, but mptcp_stream_accept() does acquire the msk-level lock, as it can rely directly on the first subflow lock. As reported by Christoph than can lead to a race where an msk socket is accepted after that mptcp_subflow_queue_clean() releases the listener socket lock and just before it takes destructive actions leading to the following splat: BUG: kernel NULL pointer dereference, address: 0000000000000012 PGD 5a4ca067 P4D 5a4ca067 PUD 37d4c067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 2 PID: 10955 Comm: syz-executor.5 Not tainted 6.5.0-rc1-gdc7b257ee5dd #37 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.11.0-2.el7 04/01/2014 RIP: 0010:mptcp_stream_accept+0x1ee/0x2f0 include/net/inet_sock.h:330 Code: 0a 09 00 48 8b 1b 4c 39 e3 74 07 e8 bc 7c 7f fe eb a1 e8 b5 7c 7f fe 4c 8b 6c 24 08 eb 05 e8 a9 7c 7f fe 49 8b 85 d8 09 00 00 <0f> b6 40 12 88 44 24 07 0f b6 6c 24 07 bf 07 00 00 00 89 ee e8 89 RSP: 0018:ffffc90000d07dc0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888037e8d020 RCX: ffff88803b093300 RDX: 0000000000000000 RSI: ffffffff833822c5 RDI: ffffffff8333896a RBP: 0000607f82031520 R08: ffff88803b093300 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000003e83 R12: ffff888037e8d020 R13: ffff888037e8c680 R14: ffff888009af7900 R15: ffff888009af6880 FS: 00007fc26d708640(0000) GS:ffff88807dd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000012 CR3: 0000000066bc5001 CR4: 0000000000370ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <TASK> do_accept+0x1ae/0x260 net/socket.c:1872 __sys_accept4+0x9b/0x110 net/socket.c:1913 __do_sys_accept4 net/socket.c:1954 [inline] __se_sys_accept4 net/socket.c:1951 [inline] __x64_sys_accept4+0x20/0x30 net/socket.c:1951 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x47/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x6e/0xd8 Address the issue by temporary removing the pending request socket from the accept queue, so that racing accept() can't touch them. After depleting the msk - the ssk still exists, as plain TCP sockets, re-insert them into the accept queue, so that later inet_csk_listen_stop() will complete the tcp socket disposal.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The race is between two local syscalls on the same MPTCP listening socket — `accept()` versus `close()`/`connect(AF_UNSPEC)`/shutdown — driven from the local process; a remote peer only supplies the pending connections and cannot itself schedule the disconnect. AC:L - The attacker controls both sides of the race with its own threads and can retry indefinitely over loopback, widening the window by queueing many unaccepted MPTCP connections; syzkaller reproduced it, so no attacker-uncontrollable precondition exists. PR:L - Only an unprivileged local user account is needed — creating `IPPROTO_MPTCP` sockets and calling listen/accept/close involves no capability check, and `net.mptcp.enabled` defaults to 1 including in a user-namespace-created netns (`unshare -Urn`). UI:N - The attacking process performs every step itself — creating the listener, generating connections, and racing accept against disconnect; no victim action is involved. S:U - The corrupted objects (`struct mptcp_sock`, subflow context) and the impact remain within the kernel's own security authority, with no crossing of a VM, IOMMU, or sandbox boundary. C:H - `mptcp_accept()` retains `subflow->conn` without a reference while `mptcp_subflow_queue_clean()` destroys and frees the msk and `kfree_rcu()`s the subflow context, so the accept path reads freed heap memory (`msk->first`, `msk->conn_list`, `subflow->tcp_sock`) — a use-after-free read that can be groomed into disclosing reclaimed kernel data. I:H - The racing `accept()` writes into the freed msk — `lock_sock()` on the freed socket lock, `sock_graft()` setting `sk_socket`/`sk_wq`, and `msk->in_accept_queue = 0` — giving controlled writes into reclaimed slab memory that are leverageable for control-flow hijack via heap spraying. A:H - The bug reproduces as an immediate kernel NULL-pointer dereference oops in `mptcp_stream_accept()` (`CR2=0000000000000012`), and the underlying use-after-free causes further panics; any local user can trigger it repeatedly to take down the system.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b45d8f5375eda3ddc89fe529b58bb643917bd87b to < ded9f5551ce5cafa3c41c794428c27a0d0a00542 (affected · git)2a6a870e44dd88f1a6a2893c65ef756a9edfb4c7 to < b2b4c84eb7149f34c0f25f17042d095ba5357d68 (affected · git)2a6a870e44dd88f1a6a2893c65ef756a9edfb4c7 to < 511b90e39250135a7f900f1c3afbce25543018a2 (affected · git)64b66601308dae6105fbde964a339462a29c2a73 (affected · git)6.1.27 to < 6.1.46 (affected · semver)6.2.13 to < 6.3 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.3 (affected)0 to < 6.3 (unaffected · semver)6.1.46 through 6.1.* (unaffected · semver)6.4.11 through 6.4.* (unaffected · semver)6.5 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
mptcp: fix disconnect vs accept race
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1bd606518dad011bd299f0a77d38a9e1f127334f0c16f316ad2d887c9c13d431
- Ingested
- 23 Sep 2026, 08:14:56 UTC
- Source record
- Official CVE record