{"api_version":"1","generated_at":"2026-11-20T07:29:59+00:00","cve":"CVE-2026-99764","urls":{"html":"https://cve.report/CVE-2026-99764","api":"https://cve.report/api/cve/CVE-2026-99764.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99764","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99764"},"summary":{"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 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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-20 06:18:14","updated_at":"2026-11-20 06:18:14"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/c342fef95252c92c46531da676784c833806fd9a","name":"https://git.kernel.org/stable/c/c342fef95252c92c46531da676784c833806fd9a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/79a3d1bfd5b25bd0da01df4a364c113715146970","name":"https://git.kernel.org/stable/c/79a3d1bfd5b25bd0da01df4a364c113715146970","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9b4cf60c6b739461c5b4ec9c52587da6b2608786","name":"https://git.kernel.org/stable/c/9b4cf60c6b739461c5b4ec9c52587da6b2608786","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0ca38f8aeca45f47123cbf65710b889078558f8a","name":"https://git.kernel.org/stable/c/0ca38f8aeca45f47123cbf65710b889078558f8a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99764","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99764","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f66c72bea1293786b9916894019f96bcd729505b 79a3d1bfd5b25bd0da01df4a364c113715146970 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f66c72bea1293786b9916894019f96bcd729505b 0ca38f8aeca45f47123cbf65710b889078558f8a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f66c72bea1293786b9916894019f96bcd729505b c342fef95252c92c46531da676784c833806fd9a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f66c72bea1293786b9916894019f96bcd729505b 9b4cf60c6b739461c5b4ec9c52587da6b2608786 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.12","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.12 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.118 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.64 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.5 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/9p/trans_xen.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"79a3d1bfd5b25bd0da01df4a364c113715146970","status":"affected","version":"f66c72bea1293786b9916894019f96bcd729505b","versionType":"git"},{"lessThan":"0ca38f8aeca45f47123cbf65710b889078558f8a","status":"affected","version":"f66c72bea1293786b9916894019f96bcd729505b","versionType":"git"},{"lessThan":"c342fef95252c92c46531da676784c833806fd9a","status":"affected","version":"f66c72bea1293786b9916894019f96bcd729505b","versionType":"git"},{"lessThan":"9b4cf60c6b739461c5b4ec9c52587da6b2608786","status":"affected","version":"f66c72bea1293786b9916894019f96bcd729505b","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/9p/trans_xen.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.12"},{"lessThan":"4.12","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.118","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.64","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.118","versionStartIncluding":"4.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.64","versionStartIncluding":"4.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.5","versionStartIncluding":"4.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"4.12","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-11-20T05:51:31.238Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/79a3d1bfd5b25bd0da01df4a364c113715146970"},{"url":"https://git.kernel.org/stable/c/0ca38f8aeca45f47123cbf65710b889078558f8a"},{"url":"https://git.kernel.org/stable/c/c342fef95252c92c46531da676784c833806fd9a"},{"url":"https://git.kernel.org/stable/c/9b4cf60c6b739461c5b4ec9c52587da6b2608786"}],"title":"9p/xen: validate the response size from the backend","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99764","datePublished":"2026-11-20T05:51:31.238Z","dateReserved":"2026-09-25T10:25:14.433Z","dateUpdated":"2026-11-20T05:51:31.238Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-20 06:18:14","lastModifiedDate":"2026-11-20 06:18:14","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99764","Ordinal":"1","Title":"9p/xen: validate the response size from the backend","CVE":"CVE-2026-99764","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99764","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"9p/xen: validate the response size from the backend"}]}}}