CVE-2026-99785

9p/trans_virtio: reject mount tags longer than NAME_MAX at probe

7.8 high EPSS 0.19%

Published 20 Nov 2026 Updated 23 Nov 2026 CNA: Linux

Check your servers for CVE-2026-99785

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99785 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
required: a user has to do something, such as open a link or a file
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 9.28% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 179a5bc4b8cbe68ca675057b960dd805867e41c4, before 6801a2dbe6014fb12ac32ab8f93f271d911cbfef
affected from 179a5bc4b8cbe68ca675057b960dd805867e41c4, before 493ac68dbb533b8be6c938376b3d80c0bf819884
affected from 179a5bc4b8cbe68ca675057b960dd805867e41c4, before a5eddf875437a313a9229415d8fe8caa39a65481
affected from 179a5bc4b8cbe68ca675057b960dd805867e41c4, before 42eef160f82496e416597cf9ef8c686545286d12
affected from 179a5bc4b8cbe68ca675057b960dd805867e41c4, before 1b8a525573d15370d441c8a25fd27161f1d084c2
affected from 179a5bc4b8cbe68ca675057b960dd805867e41c4, before 030cebd51fcfa46eeb916a599fee447c9d3d1170
affected from 179a5bc4b8cbe68ca675057b960dd805867e41c4, before b8779990399009d73f8d039a149c398a9b879839
affected from 179a5bc4b8cbe68ca675057b960dd805867e41c4, before 5bfef2b6dafe83fe2d8d210d54093a8f48cfc97e
Other versions: unaffected
Linux
affected 4.1
unaffected before 4.1
unaffected from 5.10.275 up to and including 5.10.*
unaffected from 5.15.226 up to and including 5.15.*
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.118 up to and including 6.12.*
unaffected from 6.18.64 up to and including 6.18.*
unaffected from 7.3.5 up to and including 7.3.*
unaffected 7.4-rc2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99785 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99785

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-99785
trivy image --scanners vuln IMAGE | grep CVE-2026-99785

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-99785 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.