What’s Vulnerable › Vulnerabilities

CVE-2026-31451: ext4: replace BUG_ON with proper error handling in ext4_read_inline_folio

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.80, 6.18.21, 6.19.11, 6.6.131. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-31451 or the next vulnerability affects your stack