virtiofs: validate fixed-output response length

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linuxa62a8ef9d97da23762a588592c8b8eb50a8deb6a to before 892a5d212afe2e645157272f645e0d6443f226c5 Affecteda62a8ef9d97da23762a588592c8b8eb50a8deb6a to before 0c16df0169b9781b1c404c2cbf921210f98c14f8 Affecteda62a8ef9d97da23762a588592c8b8eb50a8deb6a to before 5b6dc6c2fe2013e96fb7d3bb7452db5dd2ef27e7 Affecteda62a8ef9d97da23762a588592c8b8eb50a8deb6a to before ac87235dd0355ea25ccdd66c21a82db2fc951b16 Affecteda62a8ef9d97da23762a588592c8b8eb50a8deb6a to before d187f259ddeb8b9ad4c713b5871c0eb774879002 Affecteda62a8ef9d97da23762a588592c8b8eb50a8deb6a to before 9aade9e78aa3ba0d083e7304a4db28fc14743fa5 Affecteda62a8ef9d97da23762a588592c8b8eb50a8deb6a to before 0602ba498ff402df87f51f779885b8590a1deae9 Affecteda62a8ef9d97da23762a588592c8b8eb50a8deb6a to before 5364d081125a34e90851fbb46ecc93f79339ce78 Affected
Linux Linux5.4 Affectedbefore 5.4 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.118 through 6.12.* Not Affected6.18.64 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.