Buffer Overflow Vulnerability in Linux Kernel's 9p Virtio Mount Tag Handling
CVE-2026-99785
What is CVE-2026-99785?
A vulnerability exists in the Linux kernel's 9p virtio component that allows for an excessive mount tag length to be specified, potentially allowing a malicious host to cause a buffer overflow. Specifically, during the probe phase, the p9_virtio_probe function reads an unbounded mount tag length, leading to a situation where an attacker can present an excessively large tag. This tag is subsequently copied into a sysfs buffer without sufficient validation, resulting in an out-of-bounds write that could compromise system integrity. The vulnerability is mitigated by implementing a rejection mechanism for overly long mount tags, enforcing a maximum length that aligns with legitimate usage.
Affected Version(s)
Linux 179a5bc4b8cbe68ca675057b960dd805867e41c4 < 1b8a525573d15370d441c8a25fd27161f1d084c2
Linux 179a5bc4b8cbe68ca675057b960dd805867e41c4 < 030cebd51fcfa46eeb916a599fee447c9d3d1170
Linux 179a5bc4b8cbe68ca675057b960dd805867e41c4