VDB

CVE-2026-31449

CVE-2026-31449 PUBLISHED CVSS 7.8 HIGH

ext4: validate p_idx bounds in ext4_ext_correct_indexes

Reported by linux · Published April 22, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12Amazon Linux1:6.12.80-105.147.amzn2023
kernel6.12-develAmazon Linux1:6.12.80-105.147.amzn2023
kernel-livepatch-6.12.80-105.147Amazon Linux1:1.0-0.amzn2023
kernel-livepatch-6.18.25-52.107Amazon Linux1:1.0-0.amzn2023
kernel6.18-develAmazon Linux1:6.18.25-52.107.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.80-105.147.amzn2023
linux_kernellinux6.19.11, 6.18.21, 6.12.80

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxa86c61812637c7dd0c57e29880cffd477b62f2e7, a86c61812637c7dd0c57e29880cffd477b62f2e7, a86c61812637c7dd0c57e29880cffd477b62f2e7
LinuxLinux2.6.19, 0, 5.10.259
amazon:2023kernel6.120
amazon:2023kernel6.12-devel0
amazon:2023kernel-livepatch-6.12.80-105.1470
amazon:2023kernel-livepatch-6.18.25-52.1070
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.7, 3.1.6
amazon:2023kernel6.18-devel0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)3.1.7, 3.1.6
amazon:2023kernel6.12-modules-extra0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.6, 3.1.7
linuxlinux_kernel2.6.19, 2.6.19, 2.6.19
LinuxLinux6.19.11, 7.0, 6.18.21
amazon:2023kernel6.12-libbpf0
amazon:2023bpftool6.120
amazon:2023kernel6.12-tools0
amazon:2023perf6.180
amazon:2023kernel6.18-tools0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)3.1.7, 3.1.6
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0

…and 29 more

Timeline

  • Apr 22, 2026 CVE Published
  • Apr 23, 2026 Security Advisory (97 in total, the first dated here)
  • May 18, 2026 EPSS Score (30 in total, the first dated here)
  • Jul 16, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (92 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-31449
vulnetix vdb fixes CVE-2026-31449

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-31449/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›