# CVE-2026-99764: 9p/xen: validate the response size from the backend

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.18% (percentile 4, 2026-11-28)
- **Published:** 2026-11-20T05:51:31.238Z
- **Modified:** 2026-11-23T08:18:16.910Z

## Who should check

- Anyone running Linux \>= f66c72bea1293786b9916894019f96bcd729505b, \< 13bf56cea3953de1af727bda5fa7c922f0df4940; \>= f66c72bea1293786b9916894019f96bcd729505b, \< bc445b78cb28825f5788ad21dd95272df244e999; \>= f66c72bea1293786b9916894019f96bcd729505b, \< b36f4cc60dd1141e13e3c3921f3d12be6e3d986e; \>= f66c72bea1293786b9916894019f96bcd729505b, \< 5574c6dbf2425210598cf21eb313ac65bbb83be8; \>= f66c72bea1293786b9916894019f96bcd729505b, \< 79a3d1bfd5b25bd0da01df4a364c113715146970; \>= f66c72bea1293786b9916894019f96bcd729505b, \< 0ca38f8aeca45f47123cbf65710b889078558f8a; \>= f66c72bea1293786b9916894019f96bcd729505b, \< c342fef95252c92c46531da676784c833806fd9a; \>= f66c72bea1293786b9916894019f96bcd729505b, \< 9b4cf60c6b739461c5b4ec9c52587da6b2608786
- Anyone running Linux 4.12

## Description

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

9p/xen: validate the response size from the backend

p9\_xen\_response() takes the length of an incoming response from the ring
-- the first field of the 9p header, which the Xen transport reuses as
its framing header -- and uses it to advance the consumer index, but
never checks that it is at least the header size or no larger than the
number of bytes the backend has actually produced.

A malicious or buggy backend can post a response whose size is smaller
than the header (for example 0). The consumer index then never advances,
so the response work re-reads the same ring contents instead of making
progress. In testing this raced with the teardown that the malformed
reply triggers and dereferenced a freed p9\_client:

  9pfs 9pfs-0: Wrong req tag=ffff
  BUG: kernel NULL pointer dereference, address: 0000000000000060
  \#PF: supervisor read access in kernel mode
  \#PF: error\_code(0x0000) - not-present page
  PGD 0 P4D 0
  Oops: Oops: 0000 \[\#1\] SMP NOPTI
  CPU: 0 UID: 0 PID: 11 Comm: kworker/0:1 Not tainted 7.2.0-rc5 \#6 PREEMPT(lazy)
  Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.17.0-0-gb52ca86e094d-prebuilt.qemu.org 04/01/2014
  Workqueue: events p9\_xen\_response
  RIP: 0010:idr\_find+0x4/0x10
  RSP: 0018:ffffbf5d80063de8 EFLAGS: 00010202
  RAX: 0000000000000001 RBX: ffffa229c21195a0 RCX: ffffa229c2400000
  RDX: ffffa229c11c2200 RSI: 000000000000ffff RDI: 0000000000000050
  RBP: 000000000000ffff R08: 3fffffffffffdfff R09: ffffffffffffffff
  R10: 3fffffffffffdfff R11: ffffffff87a60e80 R12: 0000000000000050
  R13: 0000000000000000 R14: 000000000000ffff R15: 0000000000100000
  FS:  0000000000000000(0000) GS:ffffa22a7661c000(0000) knlGS:0000000000000000
  CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  CR2: 0000000000000060 CR3: 000000003ac34002 CR4: 0000000000770ef0
  PKRU: 55555554
  Call Trace:
   \<TASK\>
   p9\_tag\_lookup+0x2b/0x90
   p9\_xen\_response+0x17c/0x2e0
   process\_one\_work+0x16a/0x3a0
   worker\_thread+0x172/0x2e0
   kthread+0xdd/0x110
   ret\_from\_fork+0x18b/0x240
   ret\_from\_fork\_asm+0x1a/0x30
   \</TASK\>
  Modules linked in:
  CR2: 0000000000000060
  ---\[ end trace 0000000000000000 \]---

Reject a response whose size is outside \[sizeof(header), queued\] before
using it, matching the validation the backend already applies to
incoming requests.

## Affected and fixed versions

- Linux: \>= f66c72bea1293786b9916894019f96bcd729505b, \< 13bf56cea3953de1af727bda5fa7c922f0df4940; \>= f66c72bea1293786b9916894019f96bcd729505b, \< bc445b78cb28825f5788ad21dd95272df244e999; \>= f66c72bea1293786b9916894019f96bcd729505b, \< b36f4cc60dd1141e13e3c3921f3d12be6e3d986e; \>= f66c72bea1293786b9916894019f96bcd729505b, \< 5574c6dbf2425210598cf21eb313ac65bbb83be8; \>= f66c72bea1293786b9916894019f96bcd729505b, \< 79a3d1bfd5b25bd0da01df4a364c113715146970; \>= f66c72bea1293786b9916894019f96bcd729505b, \< 0ca38f8aeca45f47123cbf65710b889078558f8a; \>= f66c72bea1293786b9916894019f96bcd729505b, \< c342fef95252c92c46531da676784c833806fd9a; \>= f66c72bea1293786b9916894019f96bcd729505b, \< 9b4cf60c6b739461c5b4ec9c52587da6b2608786 (cvelist)
- Linux: 4.12 (cvelist)

## Technologies

Linux kernel

## Mitigation

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

Details: https://flawdb.com/CVE-2026-99764.md
Affected: Linux >= f66c72bea1293786b9916894019f96bcd729505b, < 13bf56cea3953de1af727bda5fa7c922f0df4940; >= f66c72bea1293786b9916894019f96bcd729505b, < bc445b78cb28825f5788ad21dd95272df244e999; >= f66c72bea1293786b9916894019f96bcd729505b, < b36f4cc60dd1141e13e3c3921f3d12be6e3d986e; >= f66c72bea1293786b991689…
Fixed in: Linux 13bf56cea3953de1af727bda5fa7c922f0df4940, Linux 5574c6dbf2425210598cf21eb313ac65bbb83be8, Linux 79a3d1bfd5b25bd0da01df4a364c113715146970, Linux 0ca38f8aeca45f47123cbf65710b889078558f8a, Linux 9b4cf60c6b739461c5b4ec9c52587da6b2608786

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= f66c72bea1293786b9916894019f96bcd729505b, \< 13bf56cea3953de1af727bda5fa7c922f0df4940; \>= f66c72bea1293786b9916894019f96bcd729505b, \< bc445b78cb28825f5788ad21dd95272df244e999; \>= f66c72bea1293786b9916894019f96bcd729505b, \< b36f4cc60dd1141e13e3c3921f3d12be6e3d986e; \>= f66c72bea1293786b9916894019f96bcd729505b, \< 5574c6dbf2425210598cf21eb313ac65bbb83be8; \>= f66c72bea1293786b9916894019f96bcd729505b, \< 79a3d1bfd5b25bd0da01df4a364c113715146970; \>= f66c72bea1293786b9916894019f96bcd729505b, \< 0ca38f8aeca45f47123cbf65710b889078558f8a; \>= f66c72bea1293786b9916894019f96bcd729505b, \< c342fef95252c92c46531da676784c833806fd9a; \>= f66c72bea1293786b9916894019f96bcd729505b, \< 9b4cf60c6b739461c5b4ec9c52587da6b2608786; Linux 4.12.

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

Yes. Fixed in Linux 13bf56cea3953de1af727bda5fa7c922f0df4940, Linux 5574c6dbf2425210598cf21eb313ac65bbb83be8, Linux 79a3d1bfd5b25bd0da01df4a364c113715146970, Linux 0ca38f8aeca45f47123cbf65710b889078558f8a, Linux 9b4cf60c6b739461c5b4ec9c52587da6b2608786. Upgrade Linux to 9b4cf60c6b739461c5b4ec9c52587da6b2608786 or later.

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

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/13bf56cea3953de1af727bda5fa7c922f0df4940>
- other: <https://git.kernel.org/stable/c/bc445b78cb28825f5788ad21dd95272df244e999>
- other: <https://git.kernel.org/stable/c/b36f4cc60dd1141e13e3c3921f3d12be6e3d986e>
- other: <https://git.kernel.org/stable/c/5574c6dbf2425210598cf21eb313ac65bbb83be8>
- other: <https://git.kernel.org/stable/c/79a3d1bfd5b25bd0da01df4a364c113715146970>
- other: <https://git.kernel.org/stable/c/0ca38f8aeca45f47123cbf65710b889078558f8a>
- other: <https://git.kernel.org/stable/c/c342fef95252c92c46531da676784c833806fd9a>
- other: <https://git.kernel.org/stable/c/9b4cf60c6b739461c5b4ec9c52587da6b2608786>

## 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-99764>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

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