# CVE-2026-99785: 9p/trans\_virtio: reject mount tags longer than NAME\_MAX at probe

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.19% (percentile 5, 2026-11-26)
- **Published:** 2026-11-20T05:51:47.026Z
- **Modified:** 2026-11-23T08:18:20.407Z

## Who should check

- Anyone running Linux \>= 179a5bc4b8cbe68ca675057b960dd805867e41c4, \< 6801a2dbe6014fb12ac32ab8f93f271d911cbfef; \>= 179a5bc4b8cbe68ca675057b960dd805867e41c4, \< 493ac68dbb533b8be6c938376b3d80c0bf819884; \>= 179a5bc4b8cbe68ca675057b960dd805867e41c4, \< a5eddf875437a313a9229415d8fe8caa39a65481; \>= 179a5bc4b8cbe68ca675057b960dd805867e41c4, \< 42eef160f82496e416597cf9ef8c686545286d12; \>= 179a5bc4b8cbe68ca675057b960dd805867e41c4, \< 1b8a525573d15370d441c8a25fd27161f1d084c2; \>= 179a5bc4b8cbe68ca675057b960dd805867e41c4, \< 030cebd51fcfa46eeb916a599fee447c9d3d1170; \>= 179a5bc4b8cbe68ca675057b960dd805867e41c4, \< b8779990399009d73f8d039a149c398a9b879839; \>= 179a5bc4b8cbe68ca675057b960dd805867e41c4, \< 5bfef2b6dafe83fe2d8d210d54093a8f48cfc97e
- Anyone running Linux 4.1

## Description

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.

## Affected and fixed versions

- Linux: \>= 179a5bc4b8cbe68ca675057b960dd805867e41c4, \< 6801a2dbe6014fb12ac32ab8f93f271d911cbfef; \>= 179a5bc4b8cbe68ca675057b960dd805867e41c4, \< 493ac68dbb533b8be6c938376b3d80c0bf819884; \>= 179a5bc4b8cbe68ca675057b960dd805867e41c4, \< a5eddf875437a313a9229415d8fe8caa39a65481; \>= 179a5bc4b8cbe68ca675057b960dd805867e41c4, \< 42eef160f82496e416597cf9ef8c686545286d12; \>= 179a5bc4b8cbe68ca675057b960dd805867e41c4, \< 1b8a525573d15370d441c8a25fd27161f1d084c2; \>= 179a5bc4b8cbe68ca675057b960dd805867e41c4, \< 030cebd51fcfa46eeb916a599fee447c9d3d1170; \>= 179a5bc4b8cbe68ca675057b960dd805867e41c4, \< b8779990399009d73f8d039a149c398a9b879839; \>= 179a5bc4b8cbe68ca675057b960dd805867e41c4, \< 5bfef2b6dafe83fe2d8d210d54093a8f48cfc97e (cvelist)
- Linux: 4.1 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 5bfef2b6dafe83fe2d8d210d54093a8f48cfc97e or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99785. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99785.md
Affected: Linux >= 179a5bc4b8cbe68ca675057b960dd805867e41c4, < 6801a2dbe6014fb12ac32ab8f93f271d911cbfef; >= 179a5bc4b8cbe68ca675057b960dd805867e41c4, < 493ac68dbb533b8be6c938376b3d80c0bf819884; >= 179a5bc4b8cbe68ca675057b960dd805867e41c4, < a5eddf875437a313a9229415d8fe8caa39a65481; >= 179a5bc4b8cbe68ca675057…
Fixed in: Linux 6801a2dbe6014fb12ac32ab8f93f271d911cbfef, Linux 493ac68dbb533b8be6c938376b3d80c0bf819884, Linux 42eef160f82496e416597cf9ef8c686545286d12, Linux 1b8a525573d15370d441c8a25fd27161f1d084c2, Linux 030cebd51fcfa46eeb916a599fee447c9d3d1170, Linux 5bfef2b6dafe83fe2d8d210d54093a8f48cfc97e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99785 being exploited?

There is no confirmed exploitation: CVE-2026-99785 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-99785?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-99785?

Linux \>= 179a5bc4b8cbe68ca675057b960dd805867e41c4, \< 6801a2dbe6014fb12ac32ab8f93f271d911cbfef; \>= 179a5bc4b8cbe68ca675057b960dd805867e41c4, \< 493ac68dbb533b8be6c938376b3d80c0bf819884; \>= 179a5bc4b8cbe68ca675057b960dd805867e41c4, \< a5eddf875437a313a9229415d8fe8caa39a65481; \>= 179a5bc4b8cbe68ca675057b960dd805867e41c4, \< 42eef160f82496e416597cf9ef8c686545286d12; \>= 179a5bc4b8cbe68ca675057b960dd805867e41c4, \< 1b8a525573d15370d441c8a25fd27161f1d084c2; \>= 179a5bc4b8cbe68ca675057b960dd805867e41c4, \< 030cebd51fcfa46eeb916a599fee447c9d3d1170; \>= 179a5bc4b8cbe68ca675057b960dd805867e41c4, \< b8779990399009d73f8d039a149c398a9b879839; \>= 179a5bc4b8cbe68ca675057b960dd805867e41c4, \< 5bfef2b6dafe83fe2d8d210d54093a8f48cfc97e; Linux 4.1.

### Is there a fix for CVE-2026-99785?

Yes. Fixed in Linux 6801a2dbe6014fb12ac32ab8f93f271d911cbfef, Linux 493ac68dbb533b8be6c938376b3d80c0bf819884, Linux 42eef160f82496e416597cf9ef8c686545286d12, Linux 1b8a525573d15370d441c8a25fd27161f1d084c2, Linux 030cebd51fcfa46eeb916a599fee447c9d3d1170, Linux 5bfef2b6dafe83fe2d8d210d54093a8f48cfc97e. Upgrade Linux to 5bfef2b6dafe83fe2d8d210d54093a8f48cfc97e or later.

### How do I check if I'm affected by CVE-2026-99785?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/6801a2dbe6014fb12ac32ab8f93f271d911cbfef>
- other: <https://git.kernel.org/stable/c/493ac68dbb533b8be6c938376b3d80c0bf819884>
- other: <https://git.kernel.org/stable/c/a5eddf875437a313a9229415d8fe8caa39a65481>
- other: <https://git.kernel.org/stable/c/42eef160f82496e416597cf9ef8c686545286d12>
- other: <https://git.kernel.org/stable/c/1b8a525573d15370d441c8a25fd27161f1d084c2>
- other: <https://git.kernel.org/stable/c/030cebd51fcfa46eeb916a599fee447c9d3d1170>
- other: <https://git.kernel.org/stable/c/b8779990399009d73f8d039a149c398a9b879839>
- other: <https://git.kernel.org/stable/c/5bfef2b6dafe83fe2d8d210d54093a8f48cfc97e>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99785>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99785> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99785>
