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.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None (no login)
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
References
- git.kernel.org/stable/c/892a5d212afe2e645157272f645e0d6443f226c5
- git.kernel.org/stable/c/0c16df0169b9781b1c404c2cbf921210f98c14f8
- git.kernel.org/stable/c/5b6dc6c2fe2013e96fb7d3bb7452db5dd2ef27e7
- git.kernel.org/stable/c/ac87235dd0355ea25ccdd66c21a82db2fc951b16
- git.kernel.org/stable/c/d187f259ddeb8b9ad4c713b5871c0eb774879002
- git.kernel.org/stable/c/9aade9e78aa3ba0d083e7304a4db28fc14743fa5
- git.kernel.org/stable/c/0602ba498ff402df87f51f779885b8590a1deae9
- git.kernel.org/stable/c/5364d081125a34e90851fbb46ecc93f79339ce78
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.