CVE-2026-31451

MEDIUM

ext4: replace BUG_ON with proper error handling in ext4_read_inline_folio

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0012
EPSS Percentile 2.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-617
Status published
Products (32)
linux/Kernel 3.8.0 - 5.10.260linux
linux/Kernel 5.11.0 - 5.15.211linux
linux/Kernel 5.16.0 - 6.1.177linux
linux/Kernel 6.13.0 - 6.18.21linux
linux/Kernel 6.19.0 - 6.19.11linux
linux/Kernel 6.2.0 - 6.6.131linux
linux/Kernel 6.7.0 - 6.12.80linux
Linux/Linux < 3.8
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 356227096eb66e41b23caf7045e6304877322edf
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 65c6c30ce6362c1c684568744ea510c921a756cd
... and 22 more
Published Apr 22, 2026
Tracked Since Apr 22, 2026