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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-04-22T13:53:46.243Z
- Modified: 2026-11-11T23:10:00.263Z
- Weaknesses: CWE-617
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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; 3.8 (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.*; from 6.18.21 up to 6.18.*; from 6.19.11 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 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.0

## References

- <https://git.kernel.org/stable/c/3462a3f0716d27af51896dc8688bcf0628fb17ee>
- <https://git.kernel.org/stable/c/636e8d85a36ab6c31aafd04ee66a69b18eebee7b>
- <https://git.kernel.org/stable/c/af25a6affeac4919e8d8c5cccc01a9d53478447e>
- <https://git.kernel.org/stable/c/65c6c30ce6362c1c684568744ea510c921a756cd> (patch)
- <https://git.kernel.org/stable/c/d4b3f370c3d8f7ce565d4a718572c9f7c12f77ed> (patch)
- <https://git.kernel.org/stable/c/823849a26af089ffc5dfdd2ae4b9d446b46a0cda> (patch)
- <https://git.kernel.org/stable/c/a7d600e04732a7d29b107c91fe3aec64cf6ce7f2> (patch)
- <https://git.kernel.org/stable/c/356227096eb66e41b23caf7045e6304877322edf> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

- CVE List: [CVE-2026-31451](https://www.cve.org/CVERecord?id=CVE-2026-31451), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-31451](https://nvd.nist.gov/vuln/detail/CVE-2026-31451), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-31451 · Whole record: https://cve.day/CVE-2026-31451.json · Rebuilt by cve.day 2026-11-25T22:59:19.268Z
