# CVE-2023-53088: mptcp: fix UaF in listener shutdown

> 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:34.840Z
- **Modified:** 2026-10-15T22:17:36.980Z

## Who should check

- Anyone running Linux \>= 6aeed9045071f2252ff4e98fc13d1e304f33e5b0, \< 5564be74a22a61855f8b8c100d8c4abb003bb792; \>= 6aeed9045071f2252ff4e98fc13d1e304f33e5b0, \< 0f4f4cf5d32f10543deb946a37111e714579511e; \>= 6aeed9045071f2252ff4e98fc13d1e304f33e5b0, \< 0a3f4f1f9c27215e4ddcd312558342e57b93e518; a8a3e95c74e48c2c9b07b81fafda9122993f2e12; \>= 5.18.10, \< 5.19
- Anyone running Linux 5.19

## Description

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

mptcp: fix UaF in listener shutdown

As reported by Christoph after having refactored the passive
socket initialization, the mptcp listener shutdown path is prone
to an UaF issue.

  BUG: KASAN: use-after-free in \_raw\_spin\_lock\_bh+0x73/0xe0
  Write of size 4 at addr ffff88810cb23098 by task syz-executor731/1266

  CPU: 1 PID: 1266 Comm: syz-executor731 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
   kasan\_check\_range+0x14a/0x1a0
   \_raw\_spin\_lock\_bh+0x73/0xe0
   subflow\_error\_report+0x6d/0x110
   sk\_error\_report+0x3b/0x190
   tcp\_disconnect+0x138c/0x1aa0
   inet\_child\_forget+0x6f/0x2e0
   inet\_csk\_listen\_stop+0x209/0x1060
   \_\_mptcp\_close\_ssk+0x52d/0x610
   mptcp\_destroy\_common+0x165/0x640
   mptcp\_destroy+0x13/0x80
   \_\_mptcp\_destroy\_sock+0xe7/0x270
   \_\_mptcp\_close+0x70e/0x9b0
   mptcp\_close+0x2b/0x150
   inet\_release+0xe9/0x1f0
   \_\_sock\_release+0xd2/0x280
   sock\_close+0x15/0x20
   \_\_fput+0x252/0xa20
   task\_work\_run+0x169/0x250
   exit\_to\_user\_mode\_prepare+0x113/0x120
   syscall\_exit\_to\_user\_mode+0x1d/0x40
   do\_syscall\_64+0x48/0x90
   entry\_SYSCALL\_64\_after\_hwframe+0x72/0xdc

The msk grace period can legitly expire in between the last
reference count dropped in mptcp\_subflow\_queue\_clean() and
the later eventual access in inet\_csk\_listen\_stop()

After the previous patch we don't need anymore special-casing
msk listener socket cleanup: the mptcp worker will process each
of the unaccepted msk sockets.

Just drop the now unnecessary code.

Please note this commit depends on the two parent ones:

  mptcp: refactor passive socket initialization
  mptcp: use the workqueue to destroy unaccepted sockets

## Affected and fixed versions

- Linux: \>= 6aeed9045071f2252ff4e98fc13d1e304f33e5b0, \< 5564be74a22a61855f8b8c100d8c4abb003bb792; \>= 6aeed9045071f2252ff4e98fc13d1e304f33e5b0, \< 0f4f4cf5d32f10543deb946a37111e714579511e; \>= 6aeed9045071f2252ff4e98fc13d1e304f33e5b0, \< 0a3f4f1f9c27215e4ddcd312558342e57b93e518; a8a3e95c74e48c2c9b07b81fafda9122993f2e12; \>= 5.18.10, \< 5.19 (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- Upgrade Linux to 5.19 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53088.md
Affected: Linux >= 6aeed9045071f2252ff4e98fc13d1e304f33e5b0, < 5564be74a22a61855f8b8c100d8c4abb003bb792; >= 6aeed9045071f2252ff4e98fc13d1e304f33e5b0, < 0f4f4cf5d32f10543deb946a37111e714579511e; >= 6aeed9045071f2252ff4e98fc13d1e304f33e5b0, < 0a3f4f1f9c27215e4ddcd312558342e57b93e518; a8a3e95c74e48c2c9b07b81faf…
Fixed in: Linux 5564be74a22a61855f8b8c100d8c4abb003bb792, Linux 0f4f4cf5d32f10543deb946a37111e714579511e, Linux 0a3f4f1f9c27215e4ddcd312558342e57b93e518, Linux 5.19

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

There is no confirmed exploitation: CVE-2023-53088 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-53088?

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

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

Linux \>= 6aeed9045071f2252ff4e98fc13d1e304f33e5b0, \< 5564be74a22a61855f8b8c100d8c4abb003bb792; \>= 6aeed9045071f2252ff4e98fc13d1e304f33e5b0, \< 0f4f4cf5d32f10543deb946a37111e714579511e; \>= 6aeed9045071f2252ff4e98fc13d1e304f33e5b0, \< 0a3f4f1f9c27215e4ddcd312558342e57b93e518; a8a3e95c74e48c2c9b07b81fafda9122993f2e12; \>= 5.18.10, \< 5.19; Linux 5.19.

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

Yes. Fixed in Linux 5564be74a22a61855f8b8c100d8c4abb003bb792, Linux 0f4f4cf5d32f10543deb946a37111e714579511e, Linux 0a3f4f1f9c27215e4ddcd312558342e57b93e518, Linux 5.19. Upgrade Linux to 5.19 or later.

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

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/5564be74a22a61855f8b8c100d8c4abb003bb792>
- patch: <https://git.kernel.org/stable/c/0f4f4cf5d32f10543deb946a37111e714579511e>
- patch: <https://git.kernel.org/stable/c/0a3f4f1f9c27215e4ddcd312558342e57b93e518>

## 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-53088>

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