# CVE-2025-71126: mptcp: avoid deadlock on fallback while reinjecting

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.36% (percentile 22, 2026-11-26)
- **CWE:** CWE-667, CWE-362
- **Published:** 2026-01-14T15:06:11.417Z
- **Modified:** 2026-10-19T19:17:14.143Z

## Who should check

- Anyone running Linux \>= 5586518bec27666c747cd52aabb62d485686d0bf, \< 0107442e82c0f8d6010e07e6030741c59c520d6e; \>= 75a4c9ab8a7af0d76b31ccd1188ed178c38b35d2, \< 252892d5a6a2f163ce18f32716e46fa4da7d4e79; \>= 54999dea879fecb761225e28f274b40662918c30, \< 0ca9fb4335e726dab4f23b3bfe87271d8f005f41; \>= f8a1d9b18c5efc76784f5a326e905f641f839894, \< 50f47c02be419bf0a3ae94c118addf67beef359f; \>= f8a1d9b18c5efc76784f5a326e905f641f839894, \< ffb8c27b0539dd90262d1021488e7817fae57c42; 1d82a8fe6ee4afdc92f4e8808c9dad2a6095bbc5; \>= 6.1.149, \< 6.1.160; \>= 6.6.101, \< 6.6.120; \>= 6.12.40, \< 6.12.64; \>= 6.15.8, \< 6.16
- Anyone running Linux 6.16

## Description

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

mptcp: avoid deadlock on fallback while reinjecting

Jakub reported an MPTCP deadlock at fallback time:

 WARNING: possible recursive locking detected
 6.18.0-rc7-virtme \#1 Not tainted
 --------------------------------------------
 mptcp\_connect/20858 is trying to acquire lock:
 ff1100001da18b60 (&msk-\>fallback\_lock){+.-.}-{3:3}, at: \_\_mptcp\_try\_fallback+0xd8/0x280

 but task is already holding lock:
 ff1100001da18b60 (&msk-\>fallback\_lock){+.-.}-{3:3}, at: \_\_mptcp\_retrans+0x352/0xaa0

 other info that might help us debug this:
  Possible unsafe locking scenario:

        CPU0
        ----
   lock(&msk-\>fallback\_lock);
   lock(&msk-\>fallback\_lock);

  \*\*\* DEADLOCK \*\*\*

  May be due to missing lock nesting notation

 3 locks held by mptcp\_connect/20858:
  \#0: ff1100001da18290 (sk\_lock-AF\_INET){+.+.}-{0:0}, at: mptcp\_sendmsg+0x114/0x1bc0
  \#1: ff1100001db40fd0 (k-sk\_lock-AF\_INET\#2){+.+.}-{0:0}, at: \_\_mptcp\_retrans+0x2cb/0xaa0
  \#2: ff1100001da18b60 (&msk-\>fallback\_lock){+.-.}-{3:3}, at: \_\_mptcp\_retrans+0x352/0xaa0

 stack backtrace:
 CPU: 0 UID: 0 PID: 20858 Comm: mptcp\_connect Not tainted 6.18.0-rc7-virtme \#1 PREEMPT(full)
 Hardware name: Bochs, BIOS Bochs 01/01/2011
 Call Trace:
  \<TASK\>
  dump\_stack\_lvl+0x6f/0xa0
  print\_deadlock\_bug.cold+0xc0/0xcd
  validate\_chain+0x2ff/0x5f0
  \_\_lock\_acquire+0x34c/0x740
  lock\_acquire.part.0+0xbc/0x260
  \_raw\_spin\_lock\_bh+0x38/0x50
  \_\_mptcp\_try\_fallback+0xd8/0x280
  mptcp\_sendmsg\_frag+0x16c2/0x3050
  \_\_mptcp\_retrans+0x421/0xaa0
  mptcp\_release\_cb+0x5aa/0xa70
  release\_sock+0xab/0x1d0
  mptcp\_sendmsg+0xd5b/0x1bc0
  sock\_write\_iter+0x281/0x4d0
  new\_sync\_write+0x3c5/0x6f0
  vfs\_write+0x65e/0xbb0
  ksys\_write+0x17e/0x200
  do\_syscall\_64+0xbb/0xfd0
  entry\_SYSCALL\_64\_after\_hwframe+0x4b/0x53
 RIP: 0033:0x7fa5627cbc5e
 Code: 4d 89 d8 e8 14 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 \<c9\> c3 83 e2 39 83 fa 08 75 e7 e8 13 ff ff ff 0f 1f 00 f3 0f 1e fa
 RSP: 002b:00007fff1fe14700 EFLAGS: 00000202 ORIG\_RAX: 0000000000000001
 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fa5627cbc5e
 RDX: 0000000000001f9c RSI: 00007fff1fe16984 RDI: 0000000000000005
 RBP: 00007fff1fe14710 R08: 0000000000000000 R09: 0000000000000000
 R10: 0000000000000000 R11: 0000000000000202 R12: 00007fff1fe16920
 R13: 0000000000002000 R14: 0000000000001f9c R15: 0000000000001f9c

The packet scheduler could attempt a reinjection after receiving an
MP\_FAIL and before the infinite map has been transmitted, causing a
deadlock since MPTCP needs to do the reinjection atomically from WRT
fallback.

Address the issue explicitly avoiding the reinjection in the critical
scenario. Note that this is the only fallback critical section that
could potentially send packets and hit the double-lock.

## Affected and fixed versions

- Linux: \>= 5586518bec27666c747cd52aabb62d485686d0bf, \< 0107442e82c0f8d6010e07e6030741c59c520d6e; \>= 75a4c9ab8a7af0d76b31ccd1188ed178c38b35d2, \< 252892d5a6a2f163ce18f32716e46fa4da7d4e79; \>= 54999dea879fecb761225e28f274b40662918c30, \< 0ca9fb4335e726dab4f23b3bfe87271d8f005f41; \>= f8a1d9b18c5efc76784f5a326e905f641f839894, \< 50f47c02be419bf0a3ae94c118addf67beef359f; \>= f8a1d9b18c5efc76784f5a326e905f641f839894, \< ffb8c27b0539dd90262d1021488e7817fae57c42; 1d82a8fe6ee4afdc92f4e8808c9dad2a6095bbc5; \>= 6.1.149, \< 6.1.160; \>= 6.6.101, \< 6.6.120; \>= 6.12.40, \< 6.12.64; \>= 6.15.8, \< 6.16 (cvelist)
- Linux: 6.16 (cvelist)

## Mitigation

- Upgrade Linux to 6.16 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-71126.md
Affected: Linux >= 5586518bec27666c747cd52aabb62d485686d0bf, < 0107442e82c0f8d6010e07e6030741c59c520d6e; >= 75a4c9ab8a7af0d76b31ccd1188ed178c38b35d2, < 252892d5a6a2f163ce18f32716e46fa4da7d4e79; >= 54999dea879fecb761225e28f274b40662918c30, < 0ca9fb4335e726dab4f23b3bfe87271d8f005f41; >= f8a1d9b18c5efc76784f5a3…
Fixed in: Linux 0107442e82c0f8d6010e07e6030741c59c520d6e, Linux 252892d5a6a2f163ce18f32716e46fa4da7d4e79, Linux 0ca9fb4335e726dab4f23b3bfe87271d8f005f41, Linux 50f47c02be419bf0a3ae94c118addf67beef359f, Linux 6.1.160, Linux 6.6.120, Linux 6.12.64, Linux 6.16

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

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

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

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= 5586518bec27666c747cd52aabb62d485686d0bf, \< 0107442e82c0f8d6010e07e6030741c59c520d6e; \>= 75a4c9ab8a7af0d76b31ccd1188ed178c38b35d2, \< 252892d5a6a2f163ce18f32716e46fa4da7d4e79; \>= 54999dea879fecb761225e28f274b40662918c30, \< 0ca9fb4335e726dab4f23b3bfe87271d8f005f41; \>= f8a1d9b18c5efc76784f5a326e905f641f839894, \< 50f47c02be419bf0a3ae94c118addf67beef359f; \>= f8a1d9b18c5efc76784f5a326e905f641f839894, \< ffb8c27b0539dd90262d1021488e7817fae57c42; 1d82a8fe6ee4afdc92f4e8808c9dad2a6095bbc5; \>= 6.1.149, \< 6.1.160; \>= 6.6.101, \< 6.6.120; \>= 6.12.40, \< 6.12.64; \>= 6.15.8, \< 6.16; Linux 6.16.

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

Yes. Fixed in Linux 0107442e82c0f8d6010e07e6030741c59c520d6e, Linux 252892d5a6a2f163ce18f32716e46fa4da7d4e79, Linux 0ca9fb4335e726dab4f23b3bfe87271d8f005f41, Linux 50f47c02be419bf0a3ae94c118addf67beef359f, Linux 6.1.160, Linux 6.6.120, Linux 6.12.64, Linux 6.16. Upgrade Linux to 6.16 or later.

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

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/0107442e82c0f8d6010e07e6030741c59c520d6e>
- patch: <https://git.kernel.org/stable/c/252892d5a6a2f163ce18f32716e46fa4da7d4e79>
- patch: <https://git.kernel.org/stable/c/0ca9fb4335e726dab4f23b3bfe87271d8f005f41>
- patch: <https://git.kernel.org/stable/c/50f47c02be419bf0a3ae94c118addf67beef359f>
- patch: <https://git.kernel.org/stable/c/ffb8c27b0539dd90262d1021488e7817fae57c42>

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

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