CVE-2026-31451
JSON

5.5medium

ext4: replace BUG_ON with proper error handling in ext4_read_inline_folio

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.13% (higher than 3% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 46c7f254543dedcf134ad05091ed2b935a9a597d before 3462a3f0716d27af51896dc8688bcf0628fb17ee, from 46c7f254543dedcf134ad05091ed2b935a9a597d before 636e8d85a36ab6c31aafd04ee66a69b18eebee7b, from 46c7f254543dedcf134ad05091ed2b935a9a597d before af25a6affeac4919e8d8c5cccc01a9d53478447e, from 46c7f254543dedcf134ad05091ed2b935a9a597d before 65c6c30ce6362c1c684568744ea510c921a756cd, from 46c7f254543dedcf134ad05091ed2b935a9a597d before d4b3f370c3d8f7ce565d4a718572c9f7c12f77ed, from 46c7f254543dedcf134ad05091ed2b935a9a597d before 823849a26af089ffc5dfdd2ae4b9d446b46a0cda, from 46c7f254543dedcf134ad05091ed2b935a9a597d before a7d600e04732a7d29b107c91fe3aec64cf6ce7f2, from 46c7f254543dedcf134ad05091ed2b935a9a597d before 356227096eb66e41b23caf7045e6304877322edf and 1 more
Not affected: before 3.8, from 5.10.260 up to 5.10.*, from 5.15.211 up to 5.15.*, from 6.1.177 up to 6.1.*, from 6.6.131 up to 6.6.*, from 6.12.80 up to 6.12.*
CVE List
linux linux_kernelfrom 3.8 before 6.6.131, from 6.7 before 6.12.80, from 6.13 before 6.18.21, from 6.19 before 6.19.11, 7.0NVD

Classification

CWE-617

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ext4: reemplazar BUG_ON con un manejo de errores adecuado en ext4_read_inline_folio Reemplazar BUG_ON() con un manejo de errores adecuado cuando el tamaño de los datos en línea excede PAGE_SIZE. Esto previene un pánico del kernel y permite que el sistema continúe ejecutándose mientras informa adecuadamente la corrupción del sistema de archivos. El error se registra a través de ext4_error_inode(), el encabezado del búfer se libera para prevenir una fuga de memoria, y se devuelve -EFSCORRUPTED para indicar corrupción del sistema de archivos.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31451 changed 2026-11-05CVE Terms of Use
NVDCVE-2026-31451 changed 2026-11-11Public domain