CVE-2026-31514

erofs: set fileio bio failed in short read case

State
Published
Severity
Not scored
Published
Apr 22, 2026
Updated
Oct 23, 2026
Reserved
Mar 9, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ce63cb62d794c98c7631c2296fa845f2a8d0a4a1 to before d1ba7d6b3cd1757b108d7b6856c92ae661d6c323Affected
  • ce63cb62d794c98c7631c2296fa845f2a8d0a4a1 to before 5cf3972c8221abdb1b464a14ccf8103d840b9085Affected
  • ce63cb62d794c98c7631c2296fa845f2a8d0a4a1 to before 5a5f23ef5431639db1ac3a0b274aef3a84cc413cAffected
  • ce63cb62d794c98c7631c2296fa845f2a8d0a4a1 to before eade54040384f54b7fb330e4b0975c5734850b3cAffected
LinuxLinux
  • 6.12Affected
  • before 6.12Not affected
  • 6.12.80 through 6.12.*Not affected
  • 6.18.21 through 6.18.*Not affected
  • 6.19.11 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.