Missing mount tag length check in Linux kernel 9p virtio transport
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
The Linux kernel 9p virtio transport is affected from 4.1 before the fixed releases. The probe routine accepts a mount tag length without an upper bound and allocates a buffer for it, so a later copy into a page-sized sysfs buffer writes out of bounds. A malicious or compromised host can present a tag up to 65535 bytes. The attack is local and needs no privileges, but it requires user interaction.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: 9p/trans_virtio: reject mount tags longer than NAME_MAX at probe p9_virtio_probe() reads a 16-bit mount tag length (tag_len) from the device config and kzalloc()s tag_len + 1 bytes for chan->tag with no upper bound. A malicious or compromised host can present a tag of up to 65535 bytes; that tag is later copied into the single-page sysfs buffer by p9_mount_tag_show() (memcpy(buf, chan->tag, tag_len + 1)), a host-controlled out-of-bounds write of up to ~64 KiB past the PAGE_SIZE attribute buffer. Reject an overlong tag at probe time. A 9p mount tag is a name-like identifier, so bound it by NAME_MAX (255): that limit is independent of the sysfs/seq_file page size and is far above any legitimate mount tag, which keeps p9_mount_tag_show() safe at the root without hard-coding a seq_file implementation detail.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 4.1 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5, 7.4-rc2 | Patch available | CNA |
- Linux VendorLinux Affected 4.1 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5, 7.4-rc2 Patch available CNA
Remediation
Update the Linux kernel to 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5 or 7.4-rc2, or to a later release in the same branch. Red Hat Enterprise Linux 6 is affected and has no fix available.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5, 7.4-rc2
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix yet |
Not affected: 6 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Timeline
- 2026-11-20 Threatist record created from CVE-2026-99785
- 2026-11-20 Alias added: GHSA-c3hf-xpqv-x5gx
- 2026-11-20 Affected versions changed · Red Hat
- 2026-11-20 CVSS score added · Red Hat
- 2026-11-22 CVSS score added · CNA
- 2026-11-23 Fix available: Linux/Linux@42eef160f82496e416597cf9ef8c686545286d12, Linux/Linux@493ac68dbb533b8be6c938376b3d80c0bf819884, Linux/[email protected] +5 · CNA
- 2026-11-23 4 new references · CNA
References
Other 8
- https://git.kernel.org/stable/c/6801a2dbe6014fb12ac32ab8f93f271d911cbfef
- https://git.kernel.org/stable/c/493ac68dbb533b8be6c938376b3d80c0bf819884
- https://git.kernel.org/stable/c/a5eddf875437a313a9229415d8fe8caa39a65481
- https://git.kernel.org/stable/c/42eef160f82496e416597cf9ef8c686545286d12
- https://git.kernel.org/stable/c/1b8a525573d15370d441c8a25fd27161f1d084c2
- https://git.kernel.org/stable/c/030cebd51fcfa46eeb916a599fee447c9d3d1170
- https://git.kernel.org/stable/c/b8779990399009d73f8d039a149c398a9b879839
- https://git.kernel.org/stable/c/5bfef2b6dafe83fe2d8d210d54093a8f48cfc97e
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-99785 · CVE Program
- CVE-2026-99785 · NVD
- FIRST EPSS
- GHSA-c3hf-xpqv-x5gx · GitHub Advisory Database · CC BY 4.0
- CVE-2026-99785 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences