{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99764","id":"CVE-2026-99764","title":"9p/xen: validate the response size from the backend","description":"In the Linux kernel, the following vulnerability has been resolved:\n\n9p/xen: validate the response size from the backend\n\np9_xen_response() takes the length of an incoming response from the ring\n-- the first field of the 9p header, which the Xen transport reuses as\nits framing header -- and uses it to advance the consumer index, but\nnever checks that it is at least the header size or no larger tha","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\n9p/xen: validate the response size from the backend\n\np9_xen_response() takes the length of an incoming response from the ring\n-- the first field of the 9p header, which the Xen transport reuses as\nits framing header -- and uses it to advance the consumer index, but\nnever checks that it is at least the header size or no larger than the\nnumber of bytes the backend has actually produced.\n\nA malicious or buggy backend can post a response whose size is smaller\nthan the header (for example 0). The consumer index then never advances,\nso the response work re-reads the same ring contents instead of making\nprogress. In testing this raced with the teardown that the malformed\nreply triggers and dereferenced a freed p9_client:\n\n  9pfs 9pfs-0: Wrong req tag=ffff\n  BUG: kernel NULL pointer dereference, address: 0000000000000060\n  #PF: supervisor read access in kernel mode\n  #PF: error_code(0x0000) - not-present page\n  PGD 0 P4D 0\n  Oops: Oops: 0000 [#1] SMP NOPTI\n  CPU: 0 UID: 0 PID: 11 Comm: kworker/0:1 Not tainted 7.2.0-rc5 #6 PREEMPT(lazy)\n  Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.17.0-0-gb52ca86e094d-prebuilt.qemu.org 04/01/2014\n  Workqueue: events p9_xen_response\n  RIP: 0010:idr_find+0x4/0x10\n  RSP: 0018:ffffbf5d80063de8 EFLAGS: 00010202\n  RAX: 0000000000000001 RBX: ffffa229c21195a0 RCX: ffffa229c2400000\n  RDX: ffffa229c11c2200 RSI: 000000000000ffff RDI: 0000000000000050\n  RBP: 000000000000ffff R08: 3fffffffffffdfff R09: ffffffffffffffff\n  R10: 3fffffffffffdfff R11: ffffffff87a60e80 R12: 0000000000000050\n  R13: 0000000000000000 R14: 000000000000ffff R15: 0000000000100000\n  FS:  0000000000000000(0000) GS:ffffa22a7661c000(0000) knlGS:0000000000000000\n  CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\n  CR2: 0000000000000060 CR3: 000000003ac34002 CR4: 0000000000770ef0\n  PKRU: 55555554\n  Call Trace:\n   <TASK>\n   p9_tag_lookup+0x2b/0x90\n   p9_xen_response+0x17c/0x2e0\n   process_one_work+0x16a/0x3a0\n   worker_thread+0x172/0x2e0\n   kthread+0xdd/0x110\n   ret_from_fork+0x18b/0x240\n   ret_from_fork_asm+0x1a/0x30\n   </TASK>\n  Modules linked in:\n  CR2: 0000000000000060\n  ---[ end trace 0000000000000000 ]---\n\nReject a response whose size is outside [sizeof(header), queued] before\nusing it, matching the validation the backend already applies to\nincoming requests.","published":"2026-11-20T05:51:31.238Z","updated":"2026-11-20T05:51:31.238Z","reserved":"2026-09-25T10:25:14.433Z","status":"PUBLISHED","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f66c72bea1293786b9916894019f96bcd729505b","lessThan":"79a3d1bfd5b25bd0da01df4a364c113715146970","status":"affected","versionType":"git"},{"version":"f66c72bea1293786b9916894019f96bcd729505b","lessThan":"0ca38f8aeca45f47123cbf65710b889078558f8a","status":"affected","versionType":"git"},{"version":"f66c72bea1293786b9916894019f96bcd729505b","lessThan":"c342fef95252c92c46531da676784c833806fd9a","status":"affected","versionType":"git"},{"version":"f66c72bea1293786b9916894019f96bcd729505b","lessThan":"9b4cf60c6b739461c5b4ec9c52587da6b2608786","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.12","status":"affected"},{"version":"0","lessThan":"4.12","status":"unaffected","versionType":"semver"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/79a3d1bfd5b25bd0da01df4a364c113715146970","tags":[]},{"url":"https://git.kernel.org/stable/c/0ca38f8aeca45f47123cbf65710b889078558f8a","tags":[]},{"url":"https://git.kernel.org/stable/c/c342fef95252c92c46531da676784c833806fd9a","tags":[]},{"url":"https://git.kernel.org/stable/c/9b4cf60c6b739461c5b4ec9c52587da6b2608786","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99764","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99764","ok":false,"note":"not found"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99764","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99764","ok":false,"note":"no score yet"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}