{"schema_version":"1.9.0","id":"CVE-2026-31514","published":"2026-04-22T13:54:31.531Z","modified":"2026-08-27T18:26:13.790340531Z","related":["SUSE-SU-2026:23066-1","SUSE-SU-2026:23068-1","SUSE-SU-2026:23221-1","SUSE-SU-2026:23231-1","SUSE-SU-2026:23237-1","openSUSE-SU-2026:21555-1"],"summary":"erofs: set fileio bio failed in short read case","details":"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":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8d582d65d20bb4796db01b19e86909ad68cb337b"},{"fixed":"d1ba7d6b3cd1757b108d7b6856c92ae661d6c323"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e49abde0ffc382a967b24f326d1614ac3bb06a94"},{"fixed":"5cf3972c8221abdb1b464a14ccf8103d840b9085"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"fe4039034dcdf584afbf763787909e28e92a4927"},{"fixed":"5a5f23ef5431639db1ac3a0b274aef3a84cc413c"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"bc804a8d7e865ef47fb7edcaf5e77d18bf444ebc"},{"fixed":"eade54040384f54b7fb330e4b0975c5734850b3c"}]}],"versions":["v6.12.79","v6.12.78","v6.12.77","v6.12.76","v6.12.75","v6.18.20","v6.18.19","v6.18.18","v6.18.17","v6.18.16","v6.18.15","v6.18.14","v6.19.10","v6.19.9","v6.19.8","v6.19.7","v6.19.6","v6.19.5","v6.19.4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31514.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.12.75"},{"fixed":"6.12.80"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.18.14"},{"fixed":"6.18.21"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.4"},{"fixed":"6.19.11"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31514.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5a5f23ef5431639db1ac3a0b274aef3a84cc413c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5cf3972c8221abdb1b464a14ccf8103d840b9085"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d1ba7d6b3cd1757b108d7b6856c92ae661d6c323"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eade54040384f54b7fb330e4b0975c5734850b3c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31514.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31514"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31514.json"}}