# CVE-2024-50085: mptcp: pm: fix UaF read in mptcp\_pm\_nl\_rm\_addr\_or\_subflow

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

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; 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:** Remote, no login needed
- **EPSS:** 0.88% (percentile 57, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-10-29T00:50:28.269Z
- **Modified:** 2026-08-05T11:41:30.621Z

## Who should check

- Anyone running Linux \>= 35b31f5549ede4070566b949781e83495906b43d, \< 35301636439138b821f1f6169bd00d348ebd388a; \>= 85b866e4c4e63a1d7afb58f1e24273caad03d0b7, \< da3343bc0839b180fd9af9c27fa456d8231409f9; \>= d20bf2c96d7ffd171299b32f562f70e5bf5dc608, \< 7b2e478abab0b3a33515433a6af563aebba773c1; \>= 1c1f721375989579e46741f59523e39ec9b2a9bd, \< a8c36ea4ef9a350816f6556c5c5b63810f84b538; \>= 1c1f721375989579e46741f59523e39ec9b2a9bd, \< 7decd1f5904a489d3ccdcf131972f94645681689; 2060f1efab370b496c4903b840844ecaff324c3c; \>= 5.15.167, \< 5.15.169; \>= 6.1.107, \< 6.1.114; \>= 6.6.48, \< 6.6.58; \>= 6.10.7, \< 6.11
- Anyone running Linux 6.11

## Description

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

mptcp: pm: fix UaF read in mptcp\_pm\_nl\_rm\_addr\_or\_subflow

Syzkaller reported this splat:

  ==================================================================
  BUG: KASAN: slab-use-after-free in mptcp\_pm\_nl\_rm\_addr\_or\_subflow+0xb44/0xcc0 net/mptcp/pm\_netlink.c:881
  Read of size 4 at addr ffff8880569ac858 by task syz.1.2799/14662

  CPU: 0 UID: 0 PID: 14662 Comm: syz.1.2799 Not tainted 6.12.0-rc2-syzkaller-00307-g36c254515dc6 \#0
  Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
  Call Trace:
   \<TASK\>
   \_\_dump\_stack lib/dump\_stack.c:94 \[inline\]
   dump\_stack\_lvl+0x116/0x1f0 lib/dump\_stack.c:120
   print\_address\_description mm/kasan/report.c:377 \[inline\]
   print\_report+0xc3/0x620 mm/kasan/report.c:488
   kasan\_report+0xd9/0x110 mm/kasan/report.c:601
   mptcp\_pm\_nl\_rm\_addr\_or\_subflow+0xb44/0xcc0 net/mptcp/pm\_netlink.c:881
   mptcp\_pm\_nl\_rm\_subflow\_received net/mptcp/pm\_netlink.c:914 \[inline\]
   mptcp\_nl\_remove\_id\_zero\_address+0x305/0x4a0 net/mptcp/pm\_netlink.c:1572
   mptcp\_pm\_nl\_del\_addr\_doit+0x5c9/0x770 net/mptcp/pm\_netlink.c:1603
   genl\_family\_rcv\_msg\_doit+0x202/0x2f0 net/netlink/genetlink.c:1115
   genl\_family\_rcv\_msg net/netlink/genetlink.c:1195 \[inline\]
   genl\_rcv\_msg+0x565/0x800 net/netlink/genetlink.c:1210
   netlink\_rcv\_skb+0x165/0x410 net/netlink/af\_netlink.c:2551
   genl\_rcv+0x28/0x40 net/netlink/genetlink.c:1219
   netlink\_unicast\_kernel net/netlink/af\_netlink.c:1331 \[inline\]
   netlink\_unicast+0x53c/0x7f0 net/netlink/af\_netlink.c:1357
   netlink\_sendmsg+0x8b8/0xd70 net/netlink/af\_netlink.c:1901
   sock\_sendmsg\_nosec net/socket.c:729 \[inline\]
   \_\_sock\_sendmsg net/socket.c:744 \[inline\]
   \_\_\_\_sys\_sendmsg+0x9ae/0xb40 net/socket.c:2607
   \_\_\_sys\_sendmsg+0x135/0x1e0 net/socket.c:2661
   \_\_sys\_sendmsg+0x117/0x1f0 net/socket.c:2690
   do\_syscall\_32\_irqs\_on arch/x86/entry/common.c:165 \[inline\]
   \_\_do\_fast\_syscall\_32+0x73/0x120 arch/x86/entry/common.c:386
   do\_fast\_syscall\_32+0x32/0x80 arch/x86/entry/common.c:411
   entry\_SYSENTER\_compat\_after\_hwframe+0x84/0x8e
  RIP: 0023:0xf7fe4579
  Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 \<5d\> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00
  RSP: 002b:00000000f574556c EFLAGS: 00000296 ORIG\_RAX: 0000000000000172
  RAX: ffffffffffffffda RBX: 000000000000000b RCX: 0000000020000140
  RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
  RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
  R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000
  R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
   \</TASK\>

  Allocated by task 5387:
   kasan\_save\_stack+0x33/0x60 mm/kasan/common.c:47
   kasan\_save\_track+0x14/0x30 mm/kasan/common.c:68
   poison\_kmalloc\_redzone mm/kasan/common.c:377 \[inline\]
   \_\_kasan\_kmalloc+0xaa/0xb0 mm/kasan/common.c:394
   kmalloc\_noprof include/linux/slab.h:878 \[inline\]
   kzalloc\_noprof include/linux/slab.h:1014 \[inline\]
   subflow\_create\_ctx+0x87/0x2a0 net/mptcp/subflow.c:1803
   subflow\_ulp\_init+0xc3/0x4d0 net/mptcp/subflow.c:1956
   \_\_tcp\_set\_ulp net/ipv4/tcp\_ulp.c:146 \[inline\]
   tcp\_set\_ulp+0x326/0x7f0 net/ipv4/tcp\_ulp.c:167
   mptcp\_subflow\_create\_socket+0x4ae/0x10a0 net/mptcp/subflow.c:1764
   \_\_mptcp\_subflow\_connect+0x3cc/0x1490 net/mptcp/subflow.c:1592
   mptcp\_pm\_create\_subflow\_or\_signal\_addr+0xbda/0x23a0 net/mptcp/pm\_netlink.c:642
   mptcp\_pm\_nl\_fully\_established net/mptcp/pm\_netlink.c:650 \[inline\]
   mptcp\_pm\_nl\_work+0x3a1/0x4f0 net/mptcp/pm\_netlink.c:943
   mptcp\_worker+0x15a/0x1240 net/mptcp/protocol.c:2777
   process\_one\_work+0x958/0x1b30 kernel/workqueue.c:3229
   process\_scheduled\_works kernel/workqueue.c:3310 \[inline\]
   worker\_thread+0x6c8/0xf00 kernel/workqueue.c:3391
   kthread+0x2c1/0x3a0 kernel/kthread.c:389
   ret\_from\_fork+0x45/0x80 arch/x86/ke
---truncated---

## Affected and fixed versions

- Linux: \>= 35b31f5549ede4070566b949781e83495906b43d, \< 35301636439138b821f1f6169bd00d348ebd388a; \>= 85b866e4c4e63a1d7afb58f1e24273caad03d0b7, \< da3343bc0839b180fd9af9c27fa456d8231409f9; \>= d20bf2c96d7ffd171299b32f562f70e5bf5dc608, \< 7b2e478abab0b3a33515433a6af563aebba773c1; \>= 1c1f721375989579e46741f59523e39ec9b2a9bd, \< a8c36ea4ef9a350816f6556c5c5b63810f84b538; \>= 1c1f721375989579e46741f59523e39ec9b2a9bd, \< 7decd1f5904a489d3ccdcf131972f94645681689; 2060f1efab370b496c4903b840844ecaff324c3c; \>= 5.15.167, \< 5.15.169; \>= 6.1.107, \< 6.1.114; \>= 6.6.48, \< 6.6.58; \>= 6.10.7, \< 6.11 (cvelist)
- Linux: 6.11 (cvelist)

## Mitigation

- Upgrade Linux to 6.11 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-50085. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-50085.md
Affected: Linux >= 35b31f5549ede4070566b949781e83495906b43d, < 35301636439138b821f1f6169bd00d348ebd388a; >= 85b866e4c4e63a1d7afb58f1e24273caad03d0b7, < da3343bc0839b180fd9af9c27fa456d8231409f9; >= d20bf2c96d7ffd171299b32f562f70e5bf5dc608, < 7b2e478abab0b3a33515433a6af563aebba773c1; >= 1c1f721375989579e46741f…
Fixed in: Linux 35301636439138b821f1f6169bd00d348ebd388a, Linux 7b2e478abab0b3a33515433a6af563aebba773c1, Linux 7decd1f5904a489d3ccdcf131972f94645681689, Linux 5.15.169, Linux 6.1.114, Linux 6.6.58, Linux 6.11

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

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

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

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= 35b31f5549ede4070566b949781e83495906b43d, \< 35301636439138b821f1f6169bd00d348ebd388a; \>= 85b866e4c4e63a1d7afb58f1e24273caad03d0b7, \< da3343bc0839b180fd9af9c27fa456d8231409f9; \>= d20bf2c96d7ffd171299b32f562f70e5bf5dc608, \< 7b2e478abab0b3a33515433a6af563aebba773c1; \>= 1c1f721375989579e46741f59523e39ec9b2a9bd, \< a8c36ea4ef9a350816f6556c5c5b63810f84b538; \>= 1c1f721375989579e46741f59523e39ec9b2a9bd, \< 7decd1f5904a489d3ccdcf131972f94645681689; 2060f1efab370b496c4903b840844ecaff324c3c; \>= 5.15.167, \< 5.15.169; \>= 6.1.107, \< 6.1.114; \>= 6.6.48, \< 6.6.58; \>= 6.10.7, \< 6.11; Linux 6.11.

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

Yes. Fixed in Linux 35301636439138b821f1f6169bd00d348ebd388a, Linux 7b2e478abab0b3a33515433a6af563aebba773c1, Linux 7decd1f5904a489d3ccdcf131972f94645681689, Linux 5.15.169, Linux 6.1.114, Linux 6.6.58, Linux 6.11. Upgrade Linux to 6.11 or later.

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

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/35301636439138b821f1f6169bd00d348ebd388a>
- patch: <https://git.kernel.org/stable/c/da3343bc0839b180fd9af9c27fa456d8231409f9>
- patch: <https://git.kernel.org/stable/c/7b2e478abab0b3a33515433a6af563aebba773c1>
- patch: <https://git.kernel.org/stable/c/a8c36ea4ef9a350816f6556c5c5b63810f84b538>
- patch: <https://git.kernel.org/stable/c/7decd1f5904a489d3ccdcf131972f94645681689>
- 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-50085>

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