What’s Vulnerable › Vulnerabilities
CVE-2026-31514: erofs: set fileio bio failed in short read case
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-22 · updated 2026-10-23
Description
In the Linux kernel, the following vulnerability has been resolved: erofs: set fileio bio failed in short read case For file-backed mount, IO requests are handled by vfs_iocb_iter_read(). However, it can be interrupted by SIGKILL, returning the number of bytes actually copied. Unused folios in bio are unexpectedly marked as uptodate. vfs_read filemap_read filemap_get_pages filemap_readahead erofs_fileio_readahead erofs_fileio_rq_submit vfs_iocb_iter_read filemap_read filemap_get_pages <= detect signal erofs_fileio_ki_complete <= set all folios uptodate This patch addresses this by setting short read bio with an error directly.
Affected products
- Linux kernel: from 6.12.75 before 6.12.80; from 6.18.14 before 6.18.21; from 6.19.4 before 6.19.11 — fixed in 6.12.80, 6.18.21, 6.19.11
How to fix
Upgrade to a fixed version: Linux kernel 6.12.80, 6.18.21, 6.19.11. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/5a5f23ef5431639db1ac3a0b274aef3a84cc413c
- https://git.kernel.org/stable/c/5cf3972c8221abdb1b464a14ccf8103d840b9085
- https://git.kernel.org/stable/c/d1ba7d6b3cd1757b108d7b6856c92ae661d6c323
- https://git.kernel.org/stable/c/eade54040384f54b7fb330e4b0975c5734850b3c
Get alerted when CVE-2026-31514 or the next vulnerability affects your stack