8.4high
virtiofs: validate fixed-output response length
- Severity
- 8.4high CVSS:3.1 by Linux
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from a62a8ef9d97da23762a588592c8b8eb50a8deb6a before 892a5d212afe2e645157272f645e0d6443f226c5, from a62a8ef9d97da23762a588592c8b8eb50a8deb6a before 0c16df0169b9781b1c404c2cbf921210f98c14f8, from a62a8ef9d97da23762a588592c8b8eb50a8deb6a before 5b6dc6c2fe2013e96fb7d3bb7452db5dd2ef27e7, from a62a8ef9d97da23762a588592c8b8eb50a8deb6a before ac87235dd0355ea25ccdd66c21a82db2fc951b16, from a62a8ef9d97da23762a588592c8b8eb50a8deb6a before d187f259ddeb8b9ad4c713b5871c0eb774879002, from a62a8ef9d97da23762a588592c8b8eb50a8deb6a before 9aade9e78aa3ba0d083e7304a4db28fc14743fa5, from a62a8ef9d97da23762a588592c8b8eb50a8deb6a before 0602ba498ff402df87f51f779885b8590a1deae9, from a62a8ef9d97da23762a588592c8b8eb50a8deb6a before 5364d081125a34e90851fbb46ecc93f79339ce78 and 1 more Not affected: before 5.4, from 5.10.275 up to 5.10.*, from 5.15.226 up to 5.15.*, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.118 up to 6.12.* | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-100046 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-100046 changed 2026-12-01 | Public domain |