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.
https://git.kernel.org/stable/c/d187f259ddeb8b9ad4c713b5871c0eb774879002
https://git.kernel.org/stable/c/ac87235dd0355ea25ccdd66c21a82db2fc951b16
https://git.kernel.org/stable/c/9aade9e78aa3ba0d083e7304a4db28fc14743fa5
https://git.kernel.org/stable/c/892a5d212afe2e645157272f645e0d6443f226c5
https://git.kernel.org/stable/c/5b6dc6c2fe2013e96fb7d3bb7452db5dd2ef27e7
https://git.kernel.org/stable/c/5364d081125a34e90851fbb46ecc93f79339ce78
https://git.kernel.org/stable/c/0c16df0169b9781b1c404c2cbf921210f98c14f8
https://git.kernel.org/stable/c/0602ba498ff402df87f51f779885b8590a1deae9