Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99785

published high CVSS 3.1 · 7.8

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

Published
20 Nov 2026, 05:51:47 UTC
Updated
23 Nov 2026, 08:07:22 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux179a5bc4b8cbe68ca675057b960dd805867e41c4 to < 6801a2dbe6014fb12ac32ab8f93f271d911cbfef · 179a5bc4b8cbe68ca675057b960dd805867e41c4 to < 493ac68dbb533b8be6c938376b3d80c0bf819884 · 179a5bc4b8cbe68ca675057b960dd805867e41c4 to < a5eddf875437a313a9229415d8fe8caa39a65481 · 179a5bc4b8cbe68ca675057b960dd805867e41c4 to < 42eef160f82496e416597cf9ef8c686545286d12 · 179a5bc4b8cbe68ca675057b960dd805867e41c4 to < 1b8a525573d15370d441c8a25fd27161f1d084c2 · 179a5bc4b8cbe68ca675057b960dd805867e41c4 to < 030cebd51fcfa46eeb916a599fee447c9d3d1170 · 179a5bc4b8cbe68ca675057b960dd805867e41c4 to < b8779990399009d73f8d039a149c398a9b879839 · 179a5bc4b8cbe68ca675057b960dd805867e41c4 to < 5bfef2b6dafe83fe2d8d210d54093a8f48cfc97e · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.1 (affected) · 0 to < 4.1 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian trixie linux Advisory build 6.12.118-1 DSA-6652-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
Show 13 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - p9_virtio_probe(), reached from virtio_dev_probe() after virtio_pci_probe() or virtio_mmio_probe(), copies tag_len and the tag from virtio device config with virtio_cread() and virtio_cread_bytes(); those bytes are not a 9P message from a remote peer. AC:L - The host presents a legacy virtio-pci device so virtio_pci_probe() falls through on modern -ENODEV, or a virtio-mmio device, with a config region large enough for the tag; legacy vp_get() and vm_get() do not cap the read, so p9_virtio_probe() stores it every time. PR:N - The device backend supplies struct virtio_9p_config.tag_len in p9_virtio_probe() with no credential check, and the resulting mount_tag attribute is created mode 0444; no guest capability or login is required. UI:R - The out-of-bounds memcpy is in p9_mount_tag_show(), invoked only when userspace reads mount_tag (seq_read_iter to sysfs_kf_seq_show to dev_attr_show); the KOBJ_CHANGE uevent from p9_virtio_probe() does not read that file. S:U - The corrupted object is the guest kernel seq_file buffer filled by p9_mount_tag_show(); the fault stays in that kernel and is not a guest-to-host or IOMMU boundary crossing. C:H - p9_mount_tag_show() memcpy()s strlen(chan->tag)+1 host-chosen bytes into the PAGE_SIZE buffer seq_read_iter allocated with seq_buf_alloc(), so a tag_len above PAGE_SIZE overruns the heap object and can leak adjacent kernel memory. I:H - That memcpy writes the device-supplied tag, up to 65535 bytes from virtio_cread_bytes(), past the seq_file page; the host chooses both the length and the bytes, which is a controlled kernel heap write. A:H - p9_mount_tag_show() memcpy()s past the PAGE_SIZE seq_file buffer from seq_buf_alloc(); that fault runs in the read syscall's kernel context and oopses the guest.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 179a5bc4b8cbe68ca675057b960dd805867e41c4 to < 6801a2dbe6014fb12ac32ab8f93f271d911cbfef (affected · git)179a5bc4b8cbe68ca675057b960dd805867e41c4 to < 493ac68dbb533b8be6c938376b3d80c0bf819884 (affected · git)179a5bc4b8cbe68ca675057b960dd805867e41c4 to < a5eddf875437a313a9229415d8fe8caa39a65481 (affected · git)179a5bc4b8cbe68ca675057b960dd805867e41c4 to < 42eef160f82496e416597cf9ef8c686545286d12 (affected · git)179a5bc4b8cbe68ca675057b960dd805867e41c4 to < 1b8a525573d15370d441c8a25fd27161f1d084c2 (affected · git)179a5bc4b8cbe68ca675057b960dd805867e41c4 to < 030cebd51fcfa46eeb916a599fee447c9d3d1170 (affected · git)179a5bc4b8cbe68ca675057b960dd805867e41c4 to < b8779990399009d73f8d039a149c398a9b879839 (affected · git)179a5bc4b8cbe68ca675057b960dd805867e41c4 to < 5bfef2b6dafe83fe2d8d210d54093a8f48cfc97e (affected · git)Default: unaffected Linux · cna
Linux Linux 4.1 (affected)0 to < 4.1 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
ebed7f42816b6f1bad287703938bc7b1f592132dce28a64277e9793125913301
Ingested
23 Nov 2026, 14:37:13 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected