CVE-2026-31449

ext4: validate p_idx bounds in ext4_ext_correct_indexes

7.8 high EPSS 0.21%

Published 22 Apr 2026 Updated 10 Nov 2026 CNA: Linux

Check your servers for CVE-2026-31449

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-31449 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: validate p_idx bounds in ext4_ext_correct_indexes

ext4_ext_correct_indexes() walks up the extent tree correcting index entries when the first extent in a leaf is modified. Before accessing path[k].p_idx->ei_block, there is no validation that p_idx falls within the valid range of index entries for that level.

If the on-disk extent header contains a corrupted or crafted eh_entries value, p_idx can point past the end of the allocated buffer, causing a slab-out-of-bounds read.

Fix this by validating path[k].p_idx against EXT_LAST_INDEX() at both access sites: before the while loop and inside it. Return -EFSCORRUPTED if the index pointer is out of range, consistent with how other bounds violations are handled in the ext4 extent tree code.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
required: a user has to do something, such as open a link or a file
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

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

The assessment of CISA (SSVC, 16 Oct 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
total: full control of the component or of its data

Weakness

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from a86c61812637c7dd0c57e29880cffd477b62f2e7, before 39d6e2b67651614bac0dc6592fa9836321910067
affected from a86c61812637c7dd0c57e29880cffd477b62f2e7, before c5839b34704c9c2f47f079451bdbb22de0da1ed1
affected from a86c61812637c7dd0c57e29880cffd477b62f2e7, before 10242e640b36b91ad03d25f3dc77854bbdff8358
affected from a86c61812637c7dd0c57e29880cffd477b62f2e7, before 4d08401aa13f1531216f1a7ae281ca4806e90a5c
affected from a86c61812637c7dd0c57e29880cffd477b62f2e7, before 407c944f217c17d4343148011acafebc604d55e1
affected from a86c61812637c7dd0c57e29880cffd477b62f2e7, before 93f2e975ed658ce09db4d4c2877ca2c06540df83
affected from a86c61812637c7dd0c57e29880cffd477b62f2e7, before 01bf1e0b997d82c0e353b51ed74ef99698043c33
affected from a86c61812637c7dd0c57e29880cffd477b62f2e7, before 2acb5c12ebd860f30e4faf67e6cc8c44ddfe5fe8
Other versions: unaffected
Linux
affected 2.6.19
unaffected before 2.6.19
unaffected from 5.10.259 up to and including 5.10.*
unaffected from 5.15.210 up to and including 5.15.*
unaffected from 6.1.175 up to and including 6.1.*
unaffected from 6.6.140 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-31449 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31449

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-31449
trivy image --scanners vuln IMAGE | grep CVE-2026-31449

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-31449 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.