# CVE-2025-21707: mptcp: consolidate suboption status

> 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.94% (percentile 59, 2026-11-26)
- **CWE:** CWE-908
- **Published:** 2025-02-27T02:07:21.084Z
- **Modified:** 2026-11-10T13:17:33.627Z

## Who should check

- Anyone running Linux \>= 84dfe3677a6f45b3d0dfdd564e55717a1a5e60cc, \< 3a7fda57b0f91f7ea34476b165f91a92feb17c96; \>= 84dfe3677a6f45b3d0dfdd564e55717a1a5e60cc, \< 3b5332d416d151a15742d1b16e7319368e3cc5c6; \>= 84dfe3677a6f45b3d0dfdd564e55717a1a5e60cc, \< 7f6c72b8ef8130760710e337dc8fbe7263954884; \>= 84dfe3677a6f45b3d0dfdd564e55717a1a5e60cc, \< 6169e942370b4b6f9442d35c51519bf6c346843b; \>= 84dfe3677a6f45b3d0dfdd564e55717a1a5e60cc, \< ba0518f9e8688cd4fcb569e8df2a74874b4f3894; \>= 84dfe3677a6f45b3d0dfdd564e55717a1a5e60cc, \< c86b000782daba926c627d2fa00c3f60a75e7472
- Anyone running Linux 5.11

## Description

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

mptcp: consolidate suboption status

MPTCP maintains the received sub-options status is the bitmask carrying
the received suboptions and in several bitfields carrying per suboption
additional info.

Zeroing the bitmask before parsing is not enough to ensure a consistent
status, and the MPTCP code has to additionally clear some bitfiled
depending on the actually parsed suboption.

The above schema is fragile, and syzbot managed to trigger a path where
a relevant bitfield is not cleared/initialized:

  BUG: KMSAN: uninit-value in \_\_mptcp\_expand\_seq net/mptcp/options.c:1030 \[inline\]
  BUG: KMSAN: uninit-value in mptcp\_expand\_seq net/mptcp/protocol.h:864 \[inline\]
  BUG: KMSAN: uninit-value in ack\_update\_msk net/mptcp/options.c:1060 \[inline\]
  BUG: KMSAN: uninit-value in mptcp\_incoming\_options+0x2036/0x3d30 net/mptcp/options.c:1209
   \_\_mptcp\_expand\_seq net/mptcp/options.c:1030 \[inline\]
   mptcp\_expand\_seq net/mptcp/protocol.h:864 \[inline\]
   ack\_update\_msk net/mptcp/options.c:1060 \[inline\]
   mptcp\_incoming\_options+0x2036/0x3d30 net/mptcp/options.c:1209
   tcp\_data\_queue+0xb4/0x7be0 net/ipv4/tcp\_input.c:5233
   tcp\_rcv\_established+0x1061/0x2510 net/ipv4/tcp\_input.c:6264
   tcp\_v4\_do\_rcv+0x7f3/0x11a0 net/ipv4/tcp\_ipv4.c:1916
   tcp\_v4\_rcv+0x51df/0x5750 net/ipv4/tcp\_ipv4.c:2351
   ip\_protocol\_deliver\_rcu+0x2a3/0x13d0 net/ipv4/ip\_input.c:205
   ip\_local\_deliver\_finish+0x336/0x500 net/ipv4/ip\_input.c:233
   NF\_HOOK include/linux/netfilter.h:314 \[inline\]
   ip\_local\_deliver+0x21f/0x490 net/ipv4/ip\_input.c:254
   dst\_input include/net/dst.h:460 \[inline\]
   ip\_rcv\_finish+0x4a2/0x520 net/ipv4/ip\_input.c:447
   NF\_HOOK include/linux/netfilter.h:314 \[inline\]
   ip\_rcv+0xcd/0x380 net/ipv4/ip\_input.c:567
   \_\_netif\_receive\_skb\_one\_core net/core/dev.c:5704 \[inline\]
   \_\_netif\_receive\_skb+0x319/0xa00 net/core/dev.c:5817
   process\_backlog+0x4ad/0xa50 net/core/dev.c:6149
   \_\_napi\_poll+0xe7/0x980 net/core/dev.c:6902
   napi\_poll net/core/dev.c:6971 \[inline\]
   net\_rx\_action+0xa5a/0x19b0 net/core/dev.c:7093
   handle\_softirqs+0x1a0/0x7c0 kernel/softirq.c:561
   \_\_do\_softirq+0x14/0x1a kernel/softirq.c:595
   do\_softirq+0x9a/0x100 kernel/softirq.c:462
   \_\_local\_bh\_enable\_ip+0x9f/0xb0 kernel/softirq.c:389
   local\_bh\_enable include/linux/bottom\_half.h:33 \[inline\]
   rcu\_read\_unlock\_bh include/linux/rcupdate.h:919 \[inline\]
   \_\_dev\_queue\_xmit+0x2758/0x57d0 net/core/dev.c:4493
   dev\_queue\_xmit include/linux/netdevice.h:3168 \[inline\]
   neigh\_hh\_output include/net/neighbour.h:523 \[inline\]
   neigh\_output include/net/neighbour.h:537 \[inline\]
   ip\_finish\_output2+0x187c/0x1b70 net/ipv4/ip\_output.c:236
   \_\_ip\_finish\_output+0x287/0x810
   ip\_finish\_output+0x4b/0x600 net/ipv4/ip\_output.c:324
   NF\_HOOK\_COND include/linux/netfilter.h:303 \[inline\]
   ip\_output+0x15f/0x3f0 net/ipv4/ip\_output.c:434
   dst\_output include/net/dst.h:450 \[inline\]
   ip\_local\_out net/ipv4/ip\_output.c:130 \[inline\]
   \_\_ip\_queue\_xmit+0x1f2a/0x20d0 net/ipv4/ip\_output.c:536
   ip\_queue\_xmit+0x60/0x80 net/ipv4/ip\_output.c:550
   \_\_tcp\_transmit\_skb+0x3cea/0x4900 net/ipv4/tcp\_output.c:1468
   tcp\_transmit\_skb net/ipv4/tcp\_output.c:1486 \[inline\]
   tcp\_write\_xmit+0x3b90/0x9070 net/ipv4/tcp\_output.c:2829
   \_\_tcp\_push\_pending\_frames+0xc4/0x380 net/ipv4/tcp\_output.c:3012
   tcp\_send\_fin+0x9f6/0xf50 net/ipv4/tcp\_output.c:3618
   \_\_tcp\_close+0x140c/0x1550 net/ipv4/tcp.c:3130
   \_\_mptcp\_close\_ssk+0x74e/0x16f0 net/mptcp/protocol.c:2496
   mptcp\_close\_ssk+0x26b/0x2c0 net/mptcp/protocol.c:2550
   mptcp\_pm\_nl\_rm\_addr\_or\_subflow+0x635/0xd10 net/mptcp/pm\_netlink.c:889
   mptcp\_pm\_nl\_rm\_subflow\_received net/mptcp/pm\_netlink.c:924 \[inline\]
   mptcp\_pm\_flush\_addrs\_and\_subflows net/mptcp/pm\_netlink.c:1688 \[inline\]
   mptcp\_nl\_flush\_addrs\_list net/mptcp/pm\_netlink.c:1709 \[inline\]
   mptcp\_pm\_nl\_flush\_addrs\_doit+0xe10/0x1630 net/mptcp/pm\_netlink.c:1750
   genl\_family\_rcv\_msg\_doit net/netlink/genetlink.c:1115 \[inline\]
 
---truncated---

## Affected and fixed versions

- Linux: \>= 84dfe3677a6f45b3d0dfdd564e55717a1a5e60cc, \< 3a7fda57b0f91f7ea34476b165f91a92feb17c96; \>= 84dfe3677a6f45b3d0dfdd564e55717a1a5e60cc, \< 3b5332d416d151a15742d1b16e7319368e3cc5c6; \>= 84dfe3677a6f45b3d0dfdd564e55717a1a5e60cc, \< 7f6c72b8ef8130760710e337dc8fbe7263954884; \>= 84dfe3677a6f45b3d0dfdd564e55717a1a5e60cc, \< 6169e942370b4b6f9442d35c51519bf6c346843b; \>= 84dfe3677a6f45b3d0dfdd564e55717a1a5e60cc, \< ba0518f9e8688cd4fcb569e8df2a74874b4f3894; \>= 84dfe3677a6f45b3d0dfdd564e55717a1a5e60cc, \< c86b000782daba926c627d2fa00c3f60a75e7472 (cvelist)
- Linux: 5.11 (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-2025-21707. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-21707.md
Affected: Linux >= 84dfe3677a6f45b3d0dfdd564e55717a1a5e60cc, < 3a7fda57b0f91f7ea34476b165f91a92feb17c96; >= 84dfe3677a6f45b3d0dfdd564e55717a1a5e60cc, < 3b5332d416d151a15742d1b16e7319368e3cc5c6; >= 84dfe3677a6f45b3d0dfdd564e55717a1a5e60cc, < 7f6c72b8ef8130760710e337dc8fbe7263954884; >= 84dfe3677a6f45b3d0dfdd5…
Fixed in: Linux 3a7fda57b0f91f7ea34476b165f91a92feb17c96, Linux 3b5332d416d151a15742d1b16e7319368e3cc5c6, Linux 7f6c72b8ef8130760710e337dc8fbe7263954884, Linux 6169e942370b4b6f9442d35c51519bf6c346843b

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-2025-21707 being exploited?

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

### How serious is CVE-2025-21707?

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

### Which versions are affected by CVE-2025-21707?

Linux \>= 84dfe3677a6f45b3d0dfdd564e55717a1a5e60cc, \< 3a7fda57b0f91f7ea34476b165f91a92feb17c96; \>= 84dfe3677a6f45b3d0dfdd564e55717a1a5e60cc, \< 3b5332d416d151a15742d1b16e7319368e3cc5c6; \>= 84dfe3677a6f45b3d0dfdd564e55717a1a5e60cc, \< 7f6c72b8ef8130760710e337dc8fbe7263954884; \>= 84dfe3677a6f45b3d0dfdd564e55717a1a5e60cc, \< 6169e942370b4b6f9442d35c51519bf6c346843b; \>= 84dfe3677a6f45b3d0dfdd564e55717a1a5e60cc, \< ba0518f9e8688cd4fcb569e8df2a74874b4f3894; \>= 84dfe3677a6f45b3d0dfdd564e55717a1a5e60cc, \< c86b000782daba926c627d2fa00c3f60a75e7472; Linux 5.11.

### Is there a fix for CVE-2025-21707?

Yes. Fixed in Linux 3a7fda57b0f91f7ea34476b165f91a92feb17c96, Linux 3b5332d416d151a15742d1b16e7319368e3cc5c6, Linux 7f6c72b8ef8130760710e337dc8fbe7263954884, Linux 6169e942370b4b6f9442d35c51519bf6c346843b. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-21707?

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/3b5332d416d151a15742d1b16e7319368e3cc5c6>
- patch: <https://git.kernel.org/stable/c/7f6c72b8ef8130760710e337dc8fbe7263954884>
- patch: <https://git.kernel.org/stable/c/6169e942370b4b6f9442d35c51519bf6c346843b>
- patch: <https://git.kernel.org/stable/c/ba0518f9e8688cd4fcb569e8df2a74874b4f3894>
- patch: <https://git.kernel.org/stable/c/c86b000782daba926c627d2fa00c3f60a75e7472>
- other: <https://git.kernel.org/stable/c/3a7fda57b0f91f7ea34476b165f91a92feb17c96>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.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-2025-21707>

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