CVE-2026-31451
ext4: replace BUG_ON with proper error handling in ext4_read_inline_folio
- Severity
- unscored
- Affects
- Linux
- Published
- 22 April 2026 by Linux
- First seen on our lists
- 27 July 2026
In the Linux kernel, the following vulnerability has been resolved:
ext4: replace BUG_ON with proper error handling in ext4_read_inline_folio
Replace BUG_ON() with proper error handling when inline data size
exceeds PAGE_SIZE. This prevents kernel panic and allows the system to
continue running while properly reporting the filesystem corruption.
The error is logged via ext4_error_inode(), the buffer head is released
to prevent memory leak, and -EFSCORRUPTED is returned to indicate
filesystem corruption.