erofs: set fileio bio failed in short read case
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.80, 6.18.21, 6.19.11
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From ce63cb62d794c98c7631c2296fa845f2a8d0a4a1 · fixed in d1ba7d6b3cd1757b108d7b6856c92ae661d6c323; From ce63cb62d794c98c7631c2296fa845f2a8d0a4a1 · fixed in 5cf3972c8221abdb1b464a14ccf8103d840b9085; From ce63cb62d794c98c7631c2296fa845f2a8d0a4a1 · fixed in 5a5f23ef5431639db1ac3a0b274aef3a84cc413c; From ce63cb62d794c98c7631c2296fa845f2a8d0a4a1 · fixed in eade54040384f54b7fb330e4b0975c5734850b3c
- Linux Linux
6.12
- KernelLinux
From 6.12.0 · fixed in 6.12.80; From 6.13.0 · fixed in 6.18.21; From 6.19.0 · fixed in 6.19.11