{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-100046","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.454Z","datePublished":"2026-11-30T13:23:23.077Z","dateUpdated":"2026-12-01T05:39:56.120Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-01T05:39:56.120Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nvirtiofs: validate fixed-output response length\n\nA short successful virtiofs response can leave the fixed-output portion of\nthe request argument buffer unwritten.  The completion path nevertheless\ncopies the full declared output to the request destination, allowing stale\nallocator contents to reach callers such as fuse_statfs().\n\nRequire successful fixed-output responses to contain their complete\ndeclared output.  Continue to permit a shorter final argument only for\nout_argvar requests.  Reject positive and internal restart error values\nand require valid error replies to be header-only.  The error already\nstored in the FUSE output header is returned by fuse_request_end(), so do\nnot copy output arguments from an error reply.\n\nThis was found by source review with AI assistance.  A header-only\nsuccessful FUSE_STATFS reply returned stale fields in nine of nine calls\nacross three boots.  The fixed kernel rejected the short response and\npreserved complete replies, valid negative-error replies, and\nvariable-output replies."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.4,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The malformed input is a FUSE reply placed on the virtqueue by the virtio-fs device backend (host virtiofsd/VMM or emulated device), collected in virtio_fs_requests_done_work() and checked only for oh->len/unique by virtio_fs_verify_response(). It arrives over a local paravirtual device, not a routable protocol; the VDUSE VIRTIO_ID_FS alternative needs init-ns CAP_NET_ADMIN.\nAC:L - The backend alone chooses each reply's used length, oh.len and oh.error, so short fixed-output replies, oversized lengths and out-of-range error values are delivered deterministically to whatever request the guest sends (FUSE_LOOKUP, FUSE_GETXATTR, FUSE_STATFS); no race or outside state is involved.\nPR:N - The malicious device backend needs no account or capability inside the guest whose kernel it attacks. Pre-fix virtiofs never range-checked oh->error, unlike fuse_dev_do_write() and the io_uring path, which reject error <= -512 or > 0.\nUI:N - No guest user action is required beyond normal use of the configured virtiofs mount; the backend simply answers the lookup, getxattr and statfs requests the guest kernel itself issues during ordinary path walks and syscalls.\nS:U - The vulnerable code in fs/fuse/virtio_fs.c and the memory it discloses or corrupts both belong to the same guest kernel; no separate security authority is affected.\nC:H - An oversized used length (stored as the out_argvar size) or a positive oh->error is returned by fuse_chan_send() as a byte count; fuse_getxattr() passes it up and do_getxattr() copy_to_user()s that many bytes from the smaller kvzalloc(size) buffer, an unbounded guest heap over-read. Short fixed replies also leak stale argbuf slab bytes via fuse_statfs().\nI:H - A header-only FUSE_LOOKUP reply with oh->error <= -4096 flows from fuse_lookup_name() into ERR_PTR(err) in fuse_lookup(), which IS_ERR() misses, so __lookup_slow() returns a device-chosen top-2GiB kernel address as a struct dentry that the VFS then reads and later dput()s, a forged-pointer type confusion.\nA:H - The same paths crash the guest kernel: the oversized copy_to_user trips hardened-usercopy usercopy_abort(), a positive error becomes a small ERR_PTR() pointer dereferenced as a dentry, and the forged dentry faults in step_into()/dput()."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/fuse/virtio_fs.c"],"versions":[{"version":"a62a8ef9d97da23762a588592c8b8eb50a8deb6a","lessThan":"892a5d212afe2e645157272f645e0d6443f226c5","status":"affected","versionType":"git"},{"version":"a62a8ef9d97da23762a588592c8b8eb50a8deb6a","lessThan":"0c16df0169b9781b1c404c2cbf921210f98c14f8","status":"affected","versionType":"git"},{"version":"a62a8ef9d97da23762a588592c8b8eb50a8deb6a","lessThan":"5b6dc6c2fe2013e96fb7d3bb7452db5dd2ef27e7","status":"affected","versionType":"git"},{"version":"a62a8ef9d97da23762a588592c8b8eb50a8deb6a","lessThan":"ac87235dd0355ea25ccdd66c21a82db2fc951b16","status":"affected","versionType":"git"},{"version":"a62a8ef9d97da23762a588592c8b8eb50a8deb6a","lessThan":"d187f259ddeb8b9ad4c713b5871c0eb774879002","status":"affected","versionType":"git"},{"version":"a62a8ef9d97da23762a588592c8b8eb50a8deb6a","lessThan":"9aade9e78aa3ba0d083e7304a4db28fc14743fa5","status":"affected","versionType":"git"},{"version":"a62a8ef9d97da23762a588592c8b8eb50a8deb6a","lessThan":"0602ba498ff402df87f51f779885b8590a1deae9","status":"affected","versionType":"git"},{"version":"a62a8ef9d97da23762a588592c8b8eb50a8deb6a","lessThan":"5364d081125a34e90851fbb46ecc93f79339ce78","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/fuse/virtio_fs.c"],"versions":[{"version":"5.4","status":"affected"},{"version":"0","lessThan":"5.4","status":"unaffected","versionType":"semver"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"5.10.275"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"6.12.118"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"6.18.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/892a5d212afe2e645157272f645e0d6443f226c5"},{"url":"https://git.kernel.org/stable/c/0c16df0169b9781b1c404c2cbf921210f98c14f8"},{"url":"https://git.kernel.org/stable/c/5b6dc6c2fe2013e96fb7d3bb7452db5dd2ef27e7"},{"url":"https://git.kernel.org/stable/c/ac87235dd0355ea25ccdd66c21a82db2fc951b16"},{"url":"https://git.kernel.org/stable/c/d187f259ddeb8b9ad4c713b5871c0eb774879002"},{"url":"https://git.kernel.org/stable/c/9aade9e78aa3ba0d083e7304a4db28fc14743fa5"},{"url":"https://git.kernel.org/stable/c/0602ba498ff402df87f51f779885b8590a1deae9"},{"url":"https://git.kernel.org/stable/c/5364d081125a34e90851fbb46ecc93f79339ce78"}],"title":"virtiofs: validate fixed-output response length","x_generator":{"engine":"bippy-1.2.0"}}}}