# CVE-2026-72491: net/9p: fix race condition on rdma-\>state in trans\_rdma.c

> 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.73% (percentile 50, 2026-11-26)
- **Published:** 2026-08-15T05:57:26.281Z
- **Modified:** 2026-10-16T19:17:32.910Z

## Who should check

- Anyone running Linux \>= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, \< 4cee2b8766045059d5e0b8114837b4a8efe827ac; \>= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, \< 5424138848eb7d7d8a7196676e90a2cbf2142454; \>= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, \< 3970a19a80de530b801b6256354d4a529a9a2d6c; \>= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, \< 8aadc136d8e8d8fc95d7982d213cfe2234dfcf2b; \>= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, \< 151f8cf5b23d8a534d884432a82a6d54d5a61989; \>= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, \< 13bf9879b778b2f4b260b45bed18f31806120d1e; \>= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, \< ebbcbe5c0db215feecc17def06178da443f4eea6; \>= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, \< 7d54894a1ee265a72d70f7cae1da6cc774cccc71; 3479b3c35e82ed10aa0ca2ee9e78c4eded06ba62; c01ddaa54d7411e964ffd250c018d8469c5852f2; …
- Anyone running Linux 4.20

## Description

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

net/9p: fix race condition on rdma-\>state in trans\_rdma.c

The rdma-\>state field is modified without holding req\_lock in both
recv\_done() and p9\_cm\_event\_handler(), while rdma\_request() accesses
the same field under the req\_lock spinlock. This inconsistent locking
creates a race condition:

- recv\_done() running in softirq completion context sets
  rdma-\>state = P9\_RDMA\_FLUSHING without acquiring req\_lock

- p9\_cm\_event\_handler() modifies rdma-\>state at multiple points
  (ADDR\_RESOLVED, ROUTE\_RESOLVED, ESTABLISHED, CLOSED) without
  req\_lock

- rdma\_request() uses spin\_lock\_irqsave(&rdma-\>req\_lock, flags) to
  protect the read-modify-write of rdma-\>state

The race can cause lost state transitions: recv\_done() or the CM
event handler could set state to FLUSHING/CLOSED while rdma\_request()
is concurrently checking or modifying state under the lock, leading to
the FLUSHING transition being silently overwritten by CLOSING. This
corrupts the connection state machine and can cause use-after-free on
RDMA request objects during teardown.

Fix by adding req\_lock protection to all rdma-\>state modifications in
recv\_done() and p9\_cm\_event\_handler(), matching the pattern already
used in rdma\_request(). Use spin\_lock\_irqsave/spin\_unlock\_irqrestore
in the CM event handler since it can race with recv\_done() which runs
in softirq context.

Tested with a kernel module that races two threads (simulating
rdma\_request and recv\_done/CM handler) on rdma-\>state with proper
locking: 5.5M+ FLUSHING writes over 27M iterations with 0 lost
transitions.

## Affected and fixed versions

- Linux: \>= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, \< 4cee2b8766045059d5e0b8114837b4a8efe827ac; \>= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, \< 5424138848eb7d7d8a7196676e90a2cbf2142454; \>= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, \< 3970a19a80de530b801b6256354d4a529a9a2d6c; \>= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, \< 8aadc136d8e8d8fc95d7982d213cfe2234dfcf2b; \>= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, \< 151f8cf5b23d8a534d884432a82a6d54d5a61989; \>= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, \< 13bf9879b778b2f4b260b45bed18f31806120d1e; \>= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, \< ebbcbe5c0db215feecc17def06178da443f4eea6; \>= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, \< 7d54894a1ee265a72d70f7cae1da6cc774cccc71; 3479b3c35e82ed10aa0ca2ee9e78c4eded06ba62; c01ddaa54d7411e964ffd250c018d8469c5852f2; … (cvelist)
- Linux: 4.20 (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-2026-72491. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-72491.md
Affected: Linux >= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, < 4cee2b8766045059d5e0b8114837b4a8efe827ac; >= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, < 5424138848eb7d7d8a7196676e90a2cbf2142454; >= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, < 3970a19a80de530b801b6256354d4a529a9a2d6c; >= 473c7dd1d7b59ff8f88a515…
Fixed in: Linux 4cee2b8766045059d5e0b8114837b4a8efe827ac, Linux 5424138848eb7d7d8a7196676e90a2cbf2142454, Linux 3970a19a80de530b801b6256354d4a529a9a2d6c, Linux 8aadc136d8e8d8fc95d7982d213cfe2234dfcf2b, Linux 151f8cf5b23d8a534d884432a82a6d54d5a61989, Linux 13bf9879b778b2f4b260b45bed18f31806120d1e, Linux 7d548…

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-2026-72491 being exploited?

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

### How serious is CVE-2026-72491?

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

### Which versions are affected by CVE-2026-72491?

Linux \>= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, \< 4cee2b8766045059d5e0b8114837b4a8efe827ac; \>= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, \< 5424138848eb7d7d8a7196676e90a2cbf2142454; \>= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, \< 3970a19a80de530b801b6256354d4a529a9a2d6c; \>= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, \< 8aadc136d8e8d8fc95d7982d213cfe2234dfcf2b; \>= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, \< 151f8cf5b23d8a534d884432a82a6d54d5a61989; \>= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, \< 13bf9879b778b2f4b260b45bed18f31806120d1e; \>= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, \< ebbcbe5c0db215feecc17def06178da443f4eea6; \>= 473c7dd1d7b59ff8f88a5154737e3eac78a96e5b, \< 7d54894a1ee265a72d70f7cae1da6cc774cccc71; 3479b3c35e82ed10aa0ca2ee9e78c4eded06ba62; c01ddaa54d7411e964ffd250c018d8469c5852f2; …; Linux 4.20.

### Is there a fix for CVE-2026-72491?

Yes. Fixed in Linux 4cee2b8766045059d5e0b8114837b4a8efe827ac, Linux 5424138848eb7d7d8a7196676e90a2cbf2142454, Linux 3970a19a80de530b801b6256354d4a529a9a2d6c, Linux 8aadc136d8e8d8fc95d7982d213cfe2234dfcf2b, Linux 151f8cf5b23d8a534d884432a82a6d54d5a61989, Linux 13bf9879b778b2f4b260b45bed18f31806120d1e, Linux 7d54894a1ee265a72d70f7cae1da6cc774cccc71. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-72491?

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

- other: <https://git.kernel.org/stable/c/4cee2b8766045059d5e0b8114837b4a8efe827ac>
- other: <https://git.kernel.org/stable/c/5424138848eb7d7d8a7196676e90a2cbf2142454>
- other: <https://git.kernel.org/stable/c/3970a19a80de530b801b6256354d4a529a9a2d6c>
- other: <https://git.kernel.org/stable/c/8aadc136d8e8d8fc95d7982d213cfe2234dfcf2b>
- other: <https://git.kernel.org/stable/c/151f8cf5b23d8a534d884432a82a6d54d5a61989>
- other: <https://git.kernel.org/stable/c/13bf9879b778b2f4b260b45bed18f31806120d1e>
- other: <https://git.kernel.org/stable/c/ebbcbe5c0db215feecc17def06178da443f4eea6>
- other: <https://git.kernel.org/stable/c/7d54894a1ee265a72d70f7cae1da6cc774cccc71>

## 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-2026-72491>

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