StraitOfVuln
Latest / CVE-2026-138872

CVE-2026-138872

HighCVSS 7.0 (v3.1)Received
CVE.org ↗NVD ↗

Description

In the Linux kernel, the following vulnerability has been resolved: ext4: fix out-of-bounds read in ext4_get_group_info() A plain read of s_groups_count in ext4_get_group_info() allows CPU load-load reordering. On weak memory models, speculative prefetch of s_group_info prior to the boundary check could lead to an out-of-bounds read if a concurrent online resize expands the array and increments s_groups_count. The data race occurs between the ioctl configuration path (holding the resize lock via ext4_resize_begin) and the lockless metadata lookup path: CPU 0 (Writer, Resize Lock) CPU 1 (Reader, Lockless) --------------------------- ------------------------ ext4_ioctl() [EXT4_IOC_GROUP_ADD] ext4_ioctl_group_add() ext4_resize_begin() // Takes lock ext4_group_add() ext4_mb_alloc_groupinfo() // Publishes expanded array via RCU rcu_assign_pointer(s_group_info, ...) ext4_flex_group_add() ext4_update_super() ext4_get_group_info() // Speculative / out-of-order read [Loads old/smaller s_group_info pointer] [Plain C store / smp_wmb()] sbi->s_groups_count += ...; // Reads new s_groups_count, // boundary check passes if (group >= s_groups_count) // Out-of-bounds array access! sbi_array_rcu_deref(..., s_group_info) Fix this by using ext4_get_groups_count() to enforce acquire semantics.

Details

CVE ID
CVE-2026-138872
Published / updated
30 Nov 2026, 14:17 UTC · last modified 01 Dec 2026, 06:17 UTC
Severity
HIGH
CVSS score
7.0 · v3.1 · CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H · Attack vector: Local
Affected vendor
Linux
Affected products
Linux
Affected versions
Linux: 100c0ad6c04597fefeaaba2bb1827cc015d95067 to before 840de582e3c98cbf01911472c8d363b9499932ca, 620a3c28221bb219b81bc0bffd065cc187494302 to before 22ee086e5c96d9e0f47ed0450b5e3b2d39ae9a89, b4319e457d6e3fb33e443efeaf4634fc36e8a9ed to before b3151c0908b0ae63bb2bc5faae8d8d3cf421169c, 5354b2af34064a4579be8bc0e2f15a7b70f14b5f to before de1e5704b3d71ef2c111ea424aa8e0e3ee8c6bf9, 5354b2af34064a4579be8bc0e2f15a7b70f14b5f to before cd24b217717f152195de4abf8272ea1ef2a7c4be, 5354b2af34064a4579be8bc0e2f15a7b70f14b5f to before 02eea74948bda0409d7e359969218a814238a42a, 5354b2af34064a4579be8bc0e2f15a7b70f14b5f to before 425add03ad9a2fd539bcb02a62b892e19ff0600d, 5354b2af34064a4579be8bc0e2f15a7b70f14b5f to before b067d3c1f90b536e9aa9f48b19580475a0b34f0f, 31668cebf45adfb6283e465e641c4f5a21b07afa, 5.10.181 to before 5.10.275, 5.15.113 to before 5.15.226, 6.1.30 to before 6.1.193, 6.3.4 to before 6.4
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Linux 840de582e3c98cbf01911472c8d363b9499932ca, Linux 22ee086e5c96d9e0f47ed0450b5e3b2d39ae9a89, Linux b3151c0908b0ae63bb2bc5faae8d8d3cf421169c, Linux de1e5704b3d71ef2c111ea424aa8e0e3ee8c6bf9, Linux cd24b217717f152195de4abf8272ea1ef2a7c4be, Linux 02eea74948bda0409d7e359969218a814238a42a, Linux 425add03ad9a2fd539bcb02a62b892e19ff0600d, Linux b067d3c1f90b536e9aa9f48b19580475a0b34f0f, Linux 5.10.275, Linux 5.15.226, Linux 6.1.193, Linux 6.4
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.18% probability of exploitation in the next 30 days · 8% percentile (03 Dec 2026)
Weakness
—
Remediation
See the vendor advisory below.
Source (CNA)
416baaa9-dc9f-4396-8d5f-8c081fb06d67