CVE-2026-100046

virtiofs: validate fixed-output response length

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

virtiofs: validate fixed-output response length

A short successful virtiofs response can leave the fixed-output portion of
the request argument buffer unwritten. The completion path nevertheless
copies the full declared output to the request destination, allowing stale
allocator contents to reach callers such as fuse_statfs().

Require successful fixed-output responses to contain their complete
declared output. Continue to permit a shorter final argument only for
out_argvar requests. Reject positive and internal restart error values
and require valid error replies to be header-only. The error already
stored in the FUSE output header is returned by fuse_request_end(), so do
not copy output arguments from an error reply.

This was found by source review with AI assistance. A header-only
successful FUSE_STATFS reply returned stale fields in nine of nine calls
across three boots. The fixed kernel rejected the short response and
preserved complete replies, valid negative-error replies, and
variable-output replies.

Analysis

AI-generated

Technical impact

The Linux kernel contains a flaw in virtiofs where a short successful response is copied as if it contained the full declared output. The kernel therefore copies uninitialized or stale data from the allocator into the destination buffer, allowing callers such as fuse_statfs() to receive memory that was never written for that request. This results in the disclosure of previously allocated memory contents and can leak sensitive information. The vulnerability was identified through source review and demonstrated in repeated boots.

Affected Systems

All Linux kernel builds that include virtiofs support and have not applied the recent fix are affected. The listed CPE denotes the generic Linux kernel with no specific version range, meaning any machine running a virtiofs‑enabled kernel prior to the commit that introduced the validation logic is at risk, regardless of distribution or kernel configuration.

Risk and Exploitability

The flaw is limited to data exchanged between a virtual machine and its hypervisor via the virtiofs interface. No remote exploitation path is known, and the vulnerability is not listed in CISA’s KEV catalog nor accompanied by an EPSS score, indicating a low likelihood of widespread exploitation at present. However, the potential for sensitive data leakage warrants prompt remediation. While a CVSS score is not provided, the nature of exposing stale, uninitialized memory justifies treating the impact as significant for affected systems.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that includes the virtiofs fix, such as the latest stable or long‑term support kernel.
  • Reboot the system or reload the virtiofs module to ensure the patched code is active and all associated services are restarted.
  • If a kernel upgrade cannot be performed immediately, disable the virtiofs filesystem or remove the virtiofs module from the running kernel to prevent callers from receiving stale data.
  • Verify that FUSE_STATFS responses no longer contain stale fields by monitoring log output or using sandbox tests.

Generated by OpenCVE AI on November 30, 2026 at 16:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-788
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: virtiofs: validate fixed-output response length A short successful virtiofs response can leave the fixed-output portion of the request argument buffer unwritten. The completion path nevertheless copies the full declared output to the request destination, allowing stale allocator contents to reach callers such as fuse_statfs(). Require successful fixed-output responses to contain their complete declared output. Continue to permit a shorter final argument only for out_argvar requests. Reject positive and internal restart error values and require valid error replies to be header-only. The error already stored in the FUSE output header is returned by fuse_request_end(), so do not copy output arguments from an error reply. This was found by source review with AI assistance. A header-only successful FUSE_STATFS reply returned stale fields in nine of nine calls across three boots. The fixed kernel rejected the short response and preserved complete replies, valid negative-error replies, and variable-output replies.
Title virtiofs: validate fixed-output response length
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-788

    Access of Memory Location After End of Buffer

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:23 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Nov 30, 2026, 2:17 PM
Modified
Nov 30, 2026, 2:17 PM