# CVE-2023-53072: mptcp: use the workqueue to destroy unaccepted sockets

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; 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:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-28)
- **CWE:** CWE-416
- **Published:** 2025-05-02T15:55:23.765Z
- **Modified:** 2026-10-15T22:17:36.150Z

## Who should check

- Anyone running Linux \>= 58b09919626bf9067345289212ec030c61eb1034, \< 2827f099b3fb9a59263c997400e9182f5d423e84; \>= 58b09919626bf9067345289212ec030c61eb1034, \< 804cf487fb0031f3c74755b78d8663333f0ba636; \>= 58b09919626bf9067345289212ec030c61eb1034, \< b6985b9b82954caa53f862d6059d06c0526254f0
- Anyone running Linux 5.7

## Description

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

mptcp: use the workqueue to destroy unaccepted sockets

Christoph reported a UaF at token lookup time after having
refactored the passive socket initialization part:

  BUG: KASAN: use-after-free in \_\_token\_bucket\_busy+0x253/0x260
  Read of size 4 at addr ffff88810698d5b0 by task syz-executor653/3198

  CPU: 1 PID: 3198 Comm: syz-executor653 Not tainted 6.2.0-rc59af4eaa31c1f6c00c8f1e448ed99a45c66340dd5 \#6
  Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.13.0-0-gf21b5a4aeb02-prebuilt.qemu.org 04/01/2014
  Call Trace:
   \<TASK\>
   dump\_stack\_lvl+0x6e/0x91
   print\_report+0x16a/0x46f
   kasan\_report+0xad/0x130
   \_\_token\_bucket\_busy+0x253/0x260
   mptcp\_token\_new\_connect+0x13d/0x490
   mptcp\_connect+0x4ed/0x860
   \_\_inet\_stream\_connect+0x80e/0xd90
   tcp\_sendmsg\_fastopen+0x3ce/0x710
   mptcp\_sendmsg+0xff1/0x1a20
   inet\_sendmsg+0x11d/0x140
   \_\_sys\_sendto+0x405/0x490
   \_\_x64\_sys\_sendto+0xdc/0x1b0
   do\_syscall\_64+0x3b/0x90
   entry\_SYSCALL\_64\_after\_hwframe+0x72/0xdc

We need to properly clean-up all the paired MPTCP-level
resources and be sure to release the msk last, even when
the unaccepted subflow is destroyed by the TCP internals
via inet\_child\_forget().

We can re-use the existing MPTCP\_WORK\_CLOSE\_SUBFLOW infra,
explicitly checking that for the critical scenario: the
closed subflow is the MPC one, the msk is not accepted and
eventually going through full cleanup.

With such change, \_\_mptcp\_destroy\_sock() is always called
on msk sockets, even on accepted ones. We don't need anymore
to transiently drop one sk reference at msk clone time.

Please note this commit depends on the parent one:

  mptcp: refactor passive socket initialization

## Affected and fixed versions

- Linux: \>= 58b09919626bf9067345289212ec030c61eb1034, \< 2827f099b3fb9a59263c997400e9182f5d423e84; \>= 58b09919626bf9067345289212ec030c61eb1034, \< 804cf487fb0031f3c74755b78d8663333f0ba636; \>= 58b09919626bf9067345289212ec030c61eb1034, \< b6985b9b82954caa53f862d6059d06c0526254f0 (cvelist)
- Linux: 5.7 (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-2023-53072. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53072.md
Affected: Linux >= 58b09919626bf9067345289212ec030c61eb1034, < 2827f099b3fb9a59263c997400e9182f5d423e84; >= 58b09919626bf9067345289212ec030c61eb1034, < 804cf487fb0031f3c74755b78d8663333f0ba636; >= 58b09919626bf9067345289212ec030c61eb1034, < b6985b9b82954caa53f862d6059d06c0526254f0; Linux 5.7
Fixed in: Linux 2827f099b3fb9a59263c997400e9182f5d423e84, Linux 804cf487fb0031f3c74755b78d8663333f0ba636

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-2023-53072 being exploited?

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

### How serious is CVE-2023-53072?

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

### Which versions are affected by CVE-2023-53072?

Linux \>= 58b09919626bf9067345289212ec030c61eb1034, \< 2827f099b3fb9a59263c997400e9182f5d423e84; \>= 58b09919626bf9067345289212ec030c61eb1034, \< 804cf487fb0031f3c74755b78d8663333f0ba636; \>= 58b09919626bf9067345289212ec030c61eb1034, \< b6985b9b82954caa53f862d6059d06c0526254f0; Linux 5.7.

### Is there a fix for CVE-2023-53072?

Yes. Fixed in Linux 2827f099b3fb9a59263c997400e9182f5d423e84, Linux 804cf487fb0031f3c74755b78d8663333f0ba636. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-53072?

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/2827f099b3fb9a59263c997400e9182f5d423e84>
- patch: <https://git.kernel.org/stable/c/804cf487fb0031f3c74755b78d8663333f0ba636>
- patch: <https://git.kernel.org/stable/c/b6985b9b82954caa53f862d6059d06c0526254f0>

## 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-2023-53072>

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