# CVE-2026-72166: net/9p: fix infinite loop in p9\_client\_rpc on fatal signal

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-08-15T05:53:33.383Z
- **Modified:** 2026-11-06T17:19:38.930Z

## Who should check

- Anyone running Linux \>= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, \< 18a3427526e2141f80050f82c1d26b19a454707d; \>= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, \< 378481cc60a937ef8ea4ef6e4f95f0dbc4e21414; \>= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, \< 4f621ae3a2d99b0bac50e8d66cbf7f68323c01e8; \>= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, \< f62a1f245a71680033260a6f6d74011cc3acb3cd; \>= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, \< dc892cbb1e4341d427b1f940ebd6abd69bf8e479; \>= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, \< a8874c34c4a973f9922908a4b8be1d1278f01e42; \>= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, \< 823886a1b089b49bcd349bc8bd3417b7910cd1ac; \>= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, \< 6b4f48728faa8bb514368f7eacda05565dea8696
- Anyone running Linux 2.6.28

## Description

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

net/9p: fix infinite loop in p9\_client\_rpc on fatal signal

When p9\_client\_rpc() is called with type P9\_TFLUSH and the transport
has no peer (e.g. fd transport backed by pipes with no 9p server),
a fatal signal causes an infinite loop:

  again:
	err = io\_wait\_event\_killable(req-\>wq, ...)
	/\* SIGKILL wakes the task, returns -ERESTARTSYS \*/

	if (err == -ERESTARTSYS && c-\>status == Connected &&
		type == P9\_TFLUSH) {
		sigpending = 1;
		clear\_thread\_flag(TIF\_SIGPENDING);
		goto again;
	}

clear\_thread\_flag() clears TIF\_SIGPENDING before jumping back to
io\_wait\_event\_killable(). signal\_pending\_state() checks TIF\_SIGPENDING,
finds it zero, and the task goes to sleep again. The task can only wake
on the next signal delivery that calls signal\_wake\_up() and sets
TIF\_SIGPENDING again. When that happens the loop repeats, clears
TIF\_SIGPENDING, and sleeps again indefinitely.

This is triggered in practice by coredump\_wait(): when a thread in a
multi-threaded process causes a coredump (e.g. via SIGSYS from Syscall
User Dispatch), coredump\_wait() sends SIGKILL to all other threads and
waits for them to call mm\_release(). If one of those threads is blocked
in p9\_client\_rpc() over an fd transport with no peer, it enters the
P9\_TFLUSH loop and never calls mm\_release(), so coredump\_wait() stalls
forever:

INFO: task syz.0.18:676 blocked for more than 143 seconds.
      Not tainted 6.12.77+ \#1
task:syz.0.18 state:D stack:27600 pid:676 tgid:673 ppid:630 flags:0x00000004
Call Trace:
 \<TASK\>
 context\_switch kernel/sched/core.c:5344 \[inline\]
 \_\_schedule+0xcb4/0x5d50 kernel/sched/core.c:6724
 \_\_schedule\_loop kernel/sched/core.c:6801 \[inline\]
 schedule+0xe5/0x350 kernel/sched/core.c:6816
 schedule\_timeout+0x253/0x290 kernel/time/timer.c:2593
 do\_wait\_for\_common kernel/sched/completion.c:95 \[inline\]
 \_\_wait\_for\_common+0x409/0x600 kernel/sched/completion.c:116
 wait\_for\_common kernel/sched/completion.c:127 \[inline\]
 wait\_for\_completion\_state+0x1d/0x40 kernel/sched/completion.c:264
 coredump\_wait fs/coredump.c:448 \[inline\]
 do\_coredump+0x854/0x4350 fs/coredump.c:629
 get\_signal+0x1425/0x2730 kernel/signal.c:2903
 arch\_do\_signal\_or\_restart+0x81/0x880 arch/x86/kernel/signal.c:337
 exit\_to\_user\_mode\_loop kernel/entry/common.c:111 \[inline\]
 exit\_to\_user\_mode\_prepare include/linux/entry-common.h:328 \[inline\]
 \_\_syscall\_exit\_to\_user\_mode\_work kernel/entry/common.c:207 \[inline\]
 syscall\_exit\_to\_user\_mode+0xf9/0x160 kernel/entry/common.c:218
 do\_syscall\_64+0x102/0x220 arch/x86/entry/common.c:84
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
 \</TASK\>

Fix: check fatal\_signal\_pending() before clearing TIF\_SIGPENDING in the
P9\_TFLUSH retry loop. At that point TIF\_SIGPENDING is still set, so
fatal\_signal\_pending() works correctly. If a fatal signal is pending,
jump to recalc\_sigpending to restore TIF\_SIGPENDING and return
-ERESTARTSYS to the caller.

The same defect is present in stable kernels back to 5.4. On those
kernels the infinite loop is broken earlier by a second SIGKILL from
the parent process (e.g. kill\_and\_wait() retrying after a timeout),
resulting in a zombie process and a shutdown delay rather than a
permanent D-state hang, but the underlying flaw is the same.

Found by Linux Verification Center (linuxtesting.org) with Syzkaller.

## Affected and fixed versions

- Linux: \>= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, \< 18a3427526e2141f80050f82c1d26b19a454707d; \>= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, \< 378481cc60a937ef8ea4ef6e4f95f0dbc4e21414; \>= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, \< 4f621ae3a2d99b0bac50e8d66cbf7f68323c01e8; \>= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, \< f62a1f245a71680033260a6f6d74011cc3acb3cd; \>= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, \< dc892cbb1e4341d427b1f940ebd6abd69bf8e479; \>= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, \< a8874c34c4a973f9922908a4b8be1d1278f01e42; \>= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, \< 823886a1b089b49bcd349bc8bd3417b7910cd1ac; \>= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, \< 6b4f48728faa8bb514368f7eacda05565dea8696 (cvelist)
- Linux: 2.6.28 (cvelist)

## Mitigation

- Upgrade Linux to 6b4f48728faa8bb514368f7eacda05565dea8696 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-72166.md
Affected: Linux >= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, < 18a3427526e2141f80050f82c1d26b19a454707d; >= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, < 378481cc60a937ef8ea4ef6e4f95f0dbc4e21414; >= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, < 4f621ae3a2d99b0bac50e8d66cbf7f68323c01e8; >= 91b8534fa8f5e01f249b1bf…
Fixed in: Linux 18a3427526e2141f80050f82c1d26b19a454707d, Linux 378481cc60a937ef8ea4ef6e4f95f0dbc4e21414, Linux 4f621ae3a2d99b0bac50e8d66cbf7f68323c01e8, Linux 823886a1b089b49bcd349bc8bd3417b7910cd1ac, Linux 6b4f48728faa8bb514368f7eacda05565dea8696

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, \< 18a3427526e2141f80050f82c1d26b19a454707d; \>= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, \< 378481cc60a937ef8ea4ef6e4f95f0dbc4e21414; \>= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, \< 4f621ae3a2d99b0bac50e8d66cbf7f68323c01e8; \>= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, \< f62a1f245a71680033260a6f6d74011cc3acb3cd; \>= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, \< dc892cbb1e4341d427b1f940ebd6abd69bf8e479; \>= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, \< a8874c34c4a973f9922908a4b8be1d1278f01e42; \>= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, \< 823886a1b089b49bcd349bc8bd3417b7910cd1ac; \>= 91b8534fa8f5e01f249b1bf8df0a2540053549ad, \< 6b4f48728faa8bb514368f7eacda05565dea8696; Linux 2.6.28.

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

Yes. Fixed in Linux 18a3427526e2141f80050f82c1d26b19a454707d, Linux 378481cc60a937ef8ea4ef6e4f95f0dbc4e21414, Linux 4f621ae3a2d99b0bac50e8d66cbf7f68323c01e8, Linux 823886a1b089b49bcd349bc8bd3417b7910cd1ac, Linux 6b4f48728faa8bb514368f7eacda05565dea8696. Upgrade Linux to 6b4f48728faa8bb514368f7eacda05565dea8696 or later.

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

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/18a3427526e2141f80050f82c1d26b19a454707d>
- other: <https://git.kernel.org/stable/c/378481cc60a937ef8ea4ef6e4f95f0dbc4e21414>
- other: <https://git.kernel.org/stable/c/4f621ae3a2d99b0bac50e8d66cbf7f68323c01e8>
- other: <https://git.kernel.org/stable/c/f62a1f245a71680033260a6f6d74011cc3acb3cd>
- other: <https://git.kernel.org/stable/c/dc892cbb1e4341d427b1f940ebd6abd69bf8e479>
- other: <https://git.kernel.org/stable/c/a8874c34c4a973f9922908a4b8be1d1278f01e42>
- other: <https://git.kernel.org/stable/c/823886a1b089b49bcd349bc8bd3417b7910cd1ac>
- other: <https://git.kernel.org/stable/c/6b4f48728faa8bb514368f7eacda05565dea8696>

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

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