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

Status: published. Published: 2026-11-20. Updated: 2026-11-23.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ f66c72bea1293786b9916894019f96bcd729505b; < 13bf56cea3953de1af727bda5fa7c922f0df4940 (affected, git); ≥ f66c72bea1293786b9916894019f96bcd729505b; < bc445b78cb28825f5788ad21dd95272df244e999 (affected, git); ≥ f66c72bea1293786b9916894019f96bcd729505b; < b36f4cc60dd1141e13e3c3921f3d12be6e3d986e (affected, git); ≥ f66c72bea1293786b9916894019f96bcd729505b; < 5574c6dbf2425210598cf21eb313ac65bbb83be8 (affected, git); ≥ f66c72bea1293786b9916894019f96bcd729505b; < 79a3d1bfd5b25bd0da01df4a364c113715146970 (affected, git); ≥ f66c72bea1293786b9916894019f96bcd729505b; < 0ca38f8aeca45f47123cbf65710b889078558f8a (affected, git); ≥ f66c72bea1293786b9916894019f96bcd729505b; < c342fef95252c92c46531da676784c833806fd9a (affected, git); ≥ f66c72bea1293786b9916894019f96bcd729505b; < 9b4cf60c6b739461c5b4ec9c52587da6b2608786 (affected, git). Source: CNA: Linux
- Linux / Linux: 4.12 (affected); ≥ 0; < 4.12 (unaffected, semver); ≥ 5.10.275; ≤ 5.10.* (unaffected, semver); ≥ 5.15.226; ≤ 5.15.* (unaffected, semver); ≥ 6.1.193; ≤ 6.1.* (unaffected, semver); ≥ 6.6.163; ≤ 6.6.* (unaffected, semver); ≥ 6.12.118; ≤ 6.12.* (unaffected, semver); ≥ 6.18.64; ≤ 6.18.* (unaffected, semver); ≥ 7.3.5; ≤ 7.3.* (unaffected, semver); ≥ 7.4-rc2; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: 0.17% as of 2026-11-22; percentile 6.17%

- SSVC: Not available

- Weaknesses: Not reported

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/13bf56cea3953de1af727bda5fa7c922f0df4940 (CNA: Linux)

- https://git.kernel.org/stable/c/bc445b78cb28825f5788ad21dd95272df244e999 (CNA: Linux)

- https://git.kernel.org/stable/c/b36f4cc60dd1141e13e3c3921f3d12be6e3d986e (CNA: Linux)

- https://git.kernel.org/stable/c/5574c6dbf2425210598cf21eb313ac65bbb83be8 (CNA: Linux)

- https://git.kernel.org/stable/c/79a3d1bfd5b25bd0da01df4a364c113715146970 (CNA: Linux)

- https://git.kernel.org/stable/c/0ca38f8aeca45f47123cbf65710b889078558f8a (CNA: Linux)

- https://git.kernel.org/stable/c/c342fef95252c92c46531da676784c833806fd9a (CNA: Linux)

- https://git.kernel.org/stable/c/9b4cf60c6b739461c5b4ec9c52587da6b2608786 (CNA: Linux)

- https://git.kernel.org/stable/c/0ca38f8aeca45f47123cbf65710b889078558f8a (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/79a3d1bfd5b25bd0da01df4a364c113715146970 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/9b4cf60c6b739461c5b4ec9c52587da6b2608786 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/c342fef95252c92c46531da676784c833806fd9a (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2026-99764; retrieved 2026-11-23; source updated 2026-11-23

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-99764; retrieved 2026-11-20; source updated 2026-11-20

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-99764; retrieved 2026-11-23; source updated Not reported

Revision: f833724d83591b6f1630b162d1dcb0ec7d8d4756c52165374c64795e2bd3f019

Canonical: https://y2.dev/cve/CVE-2026-99764

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.