{"id":"CVE-2026-31514","published":"2026-04-22T13:54:31Z","modified":"2026-10-23T08:20:15Z","title":"erofs: set fileio bio failed in short read case","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00168,"percentile":0.03482,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/d1ba7d6b3cd1757b108d7b6856c92ae661d6c323","tags":[]},{"url":"https://git.kernel.org/stable/c/5cf3972c8221abdb1b464a14ccf8103d840b9085","tags":[]},{"url":"https://git.kernel.org/stable/c/5a5f23ef5431639db1ac3a0b274aef3a84cc413c","tags":[]},{"url":"https://git.kernel.org/stable/c/eade54040384f54b7fb330e4b0975c5734850b3c","tags":[]}],"priority":{"score":0.7,"factors":[{"name":"EPSS percentile","points":0.7}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ce63cb62d794c98c7631c2296fa845f2a8d0a4a1, < d1ba7d6b3cd1757b108d7b6856c92ae661d6c323",">= ce63cb62d794c98c7631c2296fa845f2a8d0a4a1, < 5cf3972c8221abdb1b464a14ccf8103d840b9085",">= ce63cb62d794c98c7631c2296fa845f2a8d0a4a1, < 5a5f23ef5431639db1ac3a0b274aef3a84cc413c",">= ce63cb62d794c98c7631c2296fa845f2a8d0a4a1, < eade54040384f54b7fb330e4b0975c5734850b3c"]},{"vendor":"Linux","product":"Linux","versions":["6.12"]}],"euvd":{"id":"EUVD-2026-24898","exploited":false,"provenance":"source"}}