IM
IronMonkey Threat Research

CVE-2026-31449 HIGH

Published: 2026-04-22 | Last Modified: 2026-09-08 | Status: Modified

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.

CVSS Metrics

Base Score: 7.8 (HIGH)

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

Attack VectorLOCAL
Attack ComplexityLOW
Privileges RequiredNONE
User InteractionREQUIRED
ScopeUNCHANGED
Confidentiality ImpactHIGH
Integrity ImpactHIGH
Availability ImpactHIGH

Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Type: Secondary

Exploitability Score: 1.8

Impact Score: 5.9

Weaknesses

Source Type Description
[email protected] Primary
en CWE-125

Affected Products

Vendor Product Version Update Type
linux linux_kernel * <built-in method update of dict object at 0x7d23beaf4600> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7d23beaf7580> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7d23beaf7800> Operating System
linux linux_kernel 2.6.19 <built-in method update of dict object at 0x7d23af2035c0> Operating System
linux linux_kernel 2.6.19 <built-in method update of dict object at 0x7d23af2036c0> Operating System
linux linux_kernel 2.6.19 <built-in method update of dict object at 0x7d23af201480> Operating System
linux linux_kernel 2.6.19 <built-in method update of dict object at 0x7d23bea96900> Operating System
linux linux_kernel 2.6.19 <built-in method update of dict object at 0x7d23beaf7340> Operating System
linux linux_kernel 2.6.19 <built-in method update of dict object at 0x7d23a59c3e40> Operating System
linux linux_kernel 7.0 <built-in method update of dict object at 0x7d23af201c80> Operating System
linux linux_kernel 7.0 <built-in method update of dict object at 0x7d23a536d640> Operating System
linux linux_kernel 7.0 <built-in method update of dict object at 0x7d23beaf44c0> Operating System
linux linux_kernel 7.0 <built-in method update of dict object at 0x7d24244f6680> Operating System
linux linux_kernel 7.0 <built-in method update of dict object at 0x7d23af200800> Operating System

Affected Configurations

Operator: OR

Vulnerable CPE
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:2.6.19:-:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:2.6.19:rc2:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:2.6.19:rc3:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:2.6.19:rc4:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:2.6.19:rc5:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:2.6.19:rc6:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
Notification
Message here