{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-31514","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-03-09T15:48:24.107Z","datePublished":"2026-04-22T13:54:31.531Z","dateUpdated":"2026-05-11T22:10:16.061Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-05-11T22:10:16.061Z"},"descriptions":[{"lang":"en","value":"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, 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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/erofs/fileio.c"],"versions":[{"version":"8d582d65d20bb4796db01b19e86909ad68cb337b","lessThan":"d1ba7d6b3cd1757b108d7b6856c92ae661d6c323","status":"affected","versionType":"git"},{"version":"e49abde0ffc382a967b24f326d1614ac3bb06a94","lessThan":"5cf3972c8221abdb1b464a14ccf8103d840b9085","status":"affected","versionType":"git"},{"version":"fe4039034dcdf584afbf763787909e28e92a4927","lessThan":"5a5f23ef5431639db1ac3a0b274aef3a84cc413c","status":"affected","versionType":"git"},{"version":"bc804a8d7e865ef47fb7edcaf5e77d18bf444ebc","lessThan":"eade54040384f54b7fb330e4b0975c5734850b3c","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/erofs/fileio.c"],"versions":[{"version":"6.12.75","lessThan":"6.12.80","status":"affected","versionType":"semver"},{"version":"6.18.14","lessThan":"6.18.21","status":"affected","versionType":"semver"},{"version":"6.19.4","lessThan":"6.19.11","status":"affected","versionType":"semver"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.75","versionEndExcluding":"6.12.80"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18.14","versionEndExcluding":"6.18.21"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19.4","versionEndExcluding":"6.19.11"}]}]}],"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"}],"title":"erofs: set fileio bio failed in short read case","x_generator":{"engine":"bippy-1.2.0"}}}}