{"id":"CVE-2026-31514","title":"erofs: set fileio bio failed in short read case","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: set fileio bio failed in short read case\n\nFor file-backed mount, IO requests are handled by vfs_iocb_iter_read().\nHowever, it can be interrupted by SIGKILL, retu…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= ce63cb62d794c98c7631c2296fa845f2a8d0a4a1 < d1ba7d6b3cd1757b108d7b6856c92ae661d6c323","Linux >= ce63cb62d794c98c7631c2296fa845f2a8d0a4a1 < 5cf3972c8221abdb1b464a14ccf8103d840b9085","Linux >= ce63cb62d794c98c7631c2296fa845f2a8d0a4a1 < 5a5f23ef5431639db1ac3a0b274aef3a84cc413c","Linux >= ce63cb62d794c98c7631c2296fa845f2a8d0a4a1 < eade54040384f54b7fb330e4b0975c5734850b3c","Linux 6.12"],"published":"2026-04-22","updated":"2026-10-23","sourceUpdated":"2026-10-23T08:20:15.576Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-31514","references":[{"url":"https://git.kernel.org/stable/c/d1ba7d6b3cd1757b108d7b6856c92ae661d6c323"},{"url":"https://git.kernel.org/stable/c/5cf3972c8221abdb1b464a14ccf8103d840b9085"},{"url":"https://git.kernel.org/stable/c/5a5f23ef5431639db1ac3a0b274aef3a84cc413c"},{"url":"https://git.kernel.org/stable/c/eade54040384f54b7fb330e4b0975c5734850b3c"}],"tags":["cve.org"],"epss":0.00162,"epssPercentile":0.0501,"ingestedAt":"2026-10-23T09:20:44.068Z","slug":"CVE-2026-31514","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nerofs: set fileio bio failed in short read case\n\nFor file-backed mount, IO requests are handled by vfs_iocb_iter_read().\nHowever, it can be interrupted by SIGKILL, returning the number of\nbytes actually copied. Unused folios in bio are unexpectedly marked\nas uptodate.\n\n  vfs_read\n    filemap_read\n      filemap_get_pages\n        filemap_readahead\n          erofs_fileio_readahead\n            erofs_fileio_rq_submit\n              vfs_iocb_iter_read\n                filemap_read\n                  filemap_get_pages  <= detect signal\n              erofs_fileio_ki_complete  <= set all folios uptodate\n\nThis patch addresses this by setting short read bio with an error\ndirectly.\n\n## Affected\n\n- `Linux >= ce63cb62d794c98c7631c2296fa845f2a8d0a4a1 < d1ba7d6b3cd1757b108d7b6856c92ae661d6c323`\n- `Linux >= ce63cb62d794c98c7631c2296fa845f2a8d0a4a1 < 5cf3972c8221abdb1b464a14ccf8103d840b9085`\n- `Linux >= ce63cb62d794c98c7631c2296fa845f2a8d0a4a1 < 5a5f23ef5431639db1ac3a0b274aef3a84cc413c`\n- `Linux >= ce63cb62d794c98c7631c2296fa845f2a8d0a4a1 < eade54040384f54b7fb330e4b0975c5734850b3c`\n- `Linux 6.12`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}