CVE-2026-31451

ext4: replace BUG_ON with proper error handling in ext4_read_inline_folio

No CVSS score yet EPSS 0.18%

Published 22 Apr 2026 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2026-31451

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-31451 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.29% of all scored CVEs. Scores of 30 Nov 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 46c7f254543dedcf134ad05091ed2b935a9a597d, before 3462a3f0716d27af51896dc8688bcf0628fb17ee
affected from 46c7f254543dedcf134ad05091ed2b935a9a597d, before 636e8d85a36ab6c31aafd04ee66a69b18eebee7b
affected from 46c7f254543dedcf134ad05091ed2b935a9a597d, before af25a6affeac4919e8d8c5cccc01a9d53478447e
affected from 46c7f254543dedcf134ad05091ed2b935a9a597d, before 65c6c30ce6362c1c684568744ea510c921a756cd
affected from 46c7f254543dedcf134ad05091ed2b935a9a597d, before d4b3f370c3d8f7ce565d4a718572c9f7c12f77ed
affected from 46c7f254543dedcf134ad05091ed2b935a9a597d, before 823849a26af089ffc5dfdd2ae4b9d446b46a0cda
affected from 46c7f254543dedcf134ad05091ed2b935a9a597d, before a7d600e04732a7d29b107c91fe3aec64cf6ce7f2
affected from 46c7f254543dedcf134ad05091ed2b935a9a597d, before 356227096eb66e41b23caf7045e6304877322edf
Other versions: unaffected
Linux
affected 3.8
unaffected before 3.8
unaffected from 5.10.260 up to and including 5.10.*
unaffected from 5.15.211 up to and including 5.15.*
unaffected from 6.1.177 up to and including 6.1.*
unaffected from 6.6.131 up to and including 6.6.*
unaffected from 6.12.80 up to and including 6.12.*
unaffected from 6.18.21 up to and including 6.18.*
unaffected from 6.19.11 up to and including 6.19.*
unaffected 7.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-31451 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31451

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-31451
trivy image --scanners vuln IMAGE | grep CVE-2026-31451

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-31451 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.