{"api_version":"1","generated_at":"2026-11-20T07:30:04+00:00","cve":"CVE-2026-99785","urls":{"html":"https://cve.report/CVE-2026-99785","api":"https://cve.report/api/cve/CVE-2026-99785.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99785","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99785"},"summary":{"title":"9p/trans_virtio: reject mount tags longer than NAME_MAX at probe","description":"In the Linux kernel, the following vulnerability has been resolved:\n\n9p/trans_virtio: reject mount tags longer than NAME_MAX at probe\n\np9_virtio_probe() reads a 16-bit mount tag length (tag_len) from the\ndevice config and kzalloc()s tag_len + 1 bytes for chan->tag with no\nupper bound. A malicious or compromised host can present a tag of up to\n65535 bytes; that tag is later copied into the single-page sysfs buffer\nby p9_mount_tag_show() (memcpy(buf, chan->tag, tag_len + 1)), a\nhost-controlled out-of-bounds write of up to ~64 KiB past the PAGE_SIZE\nattribute buffer.\n\nReject an overlong tag at probe time. A 9p mount tag is a name-like\nidentifier, so bound it by NAME_MAX (255): that limit is independent of\nthe sysfs/seq_file page size and is far above any legitimate mount tag,\nwhich keeps p9_mount_tag_show() safe at the root without hard-coding a\nseq_file implementation detail.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-20 06:18:17","updated_at":"2026-11-20 06:18:17"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/1b8a525573d15370d441c8a25fd27161f1d084c2","name":"https://git.kernel.org/stable/c/1b8a525573d15370d441c8a25fd27161f1d084c2","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b8779990399009d73f8d039a149c398a9b879839","name":"https://git.kernel.org/stable/c/b8779990399009d73f8d039a149c398a9b879839","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5bfef2b6dafe83fe2d8d210d54093a8f48cfc97e","name":"https://git.kernel.org/stable/c/5bfef2b6dafe83fe2d8d210d54093a8f48cfc97e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/030cebd51fcfa46eeb916a599fee447c9d3d1170","name":"https://git.kernel.org/stable/c/030cebd51fcfa46eeb916a599fee447c9d3d1170","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99785","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99785","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 179a5bc4b8cbe68ca675057b960dd805867e41c4 1b8a525573d15370d441c8a25fd27161f1d084c2 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 179a5bc4b8cbe68ca675057b960dd805867e41c4 030cebd51fcfa46eeb916a599fee447c9d3d1170 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 179a5bc4b8cbe68ca675057b960dd805867e41c4 b8779990399009d73f8d039a149c398a9b879839 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 179a5bc4b8cbe68ca675057b960dd805867e41c4 5bfef2b6dafe83fe2d8d210d54093a8f48cfc97e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.1","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.1 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_virtio.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"1b8a525573d15370d441c8a25fd27161f1d084c2","status":"affected","version":"179a5bc4b8cbe68ca675057b960dd805867e41c4","versionType":"git"},{"lessThan":"030cebd51fcfa46eeb916a599fee447c9d3d1170","status":"affected","version":"179a5bc4b8cbe68ca675057b960dd805867e41c4","versionType":"git"},{"lessThan":"b8779990399009d73f8d039a149c398a9b879839","status":"affected","version":"179a5bc4b8cbe68ca675057b960dd805867e41c4","versionType":"git"},{"lessThan":"5bfef2b6dafe83fe2d8d210d54093a8f48cfc97e","status":"affected","version":"179a5bc4b8cbe68ca675057b960dd805867e41c4","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/9p/trans_virtio.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.1"},{"lessThan":"4.1","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.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.64","versionStartIncluding":"4.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.5","versionStartIncluding":"4.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"4.1","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\n9p/trans_virtio: reject mount tags longer than NAME_MAX at probe\n\np9_virtio_probe() reads a 16-bit mount tag length (tag_len) from the\ndevice config and kzalloc()s tag_len + 1 bytes for chan->tag with no\nupper bound. A malicious or compromised host can present a tag of up to\n65535 bytes; that tag is later copied into the single-page sysfs buffer\nby p9_mount_tag_show() (memcpy(buf, chan->tag, tag_len + 1)), a\nhost-controlled out-of-bounds write of up to ~64 KiB past the PAGE_SIZE\nattribute buffer.\n\nReject an overlong tag at probe time. A 9p mount tag is a name-like\nidentifier, so bound it by NAME_MAX (255): that limit is independent of\nthe sysfs/seq_file page size and is far above any legitimate mount tag,\nwhich keeps p9_mount_tag_show() safe at the root without hard-coding a\nseq_file implementation detail."}],"providerMetadata":{"dateUpdated":"2026-11-20T05:51:47.026Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/1b8a525573d15370d441c8a25fd27161f1d084c2"},{"url":"https://git.kernel.org/stable/c/030cebd51fcfa46eeb916a599fee447c9d3d1170"},{"url":"https://git.kernel.org/stable/c/b8779990399009d73f8d039a149c398a9b879839"},{"url":"https://git.kernel.org/stable/c/5bfef2b6dafe83fe2d8d210d54093a8f48cfc97e"}],"title":"9p/trans_virtio: reject mount tags longer than NAME_MAX at probe","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99785","datePublished":"2026-11-20T05:51:47.026Z","dateReserved":"2026-09-25T10:25:14.434Z","dateUpdated":"2026-11-20T05:51:47.026Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-20 06:18:17","lastModifiedDate":"2026-11-20 06:18:17","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99785","Ordinal":"1","Title":"9p/trans_virtio: reject mount tags longer than NAME_MAX at probe","CVE":"CVE-2026-99785","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99785","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\n9p/trans_virtio: reject mount tags longer than NAME_MAX at probe\n\np9_virtio_probe() reads a 16-bit mount tag length (tag_len) from the\ndevice config and kzalloc()s tag_len + 1 bytes for chan->tag with no\nupper bound. A malicious or compromised host can present a tag of up to\n65535 bytes; that tag is later copied into the single-page sysfs buffer\nby p9_mount_tag_show() (memcpy(buf, chan->tag, tag_len + 1)), a\nhost-controlled out-of-bounds write of up to ~64 KiB past the PAGE_SIZE\nattribute buffer.\n\nReject an overlong tag at probe time. A 9p mount tag is a name-like\nidentifier, so bound it by NAME_MAX (255): that limit is independent of\nthe sysfs/seq_file page size and is far above any legitimate mount tag,\nwhich keeps p9_mount_tag_show() safe at the root without hard-coding a\nseq_file implementation detail.","Type":"Description","Title":"9p/trans_virtio: reject mount tags longer than NAME_MAX at probe"}]}}}