Out-of-bounds read in ext4 group info lookup in the Linux kernel
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 4 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
The ext4 filesystem code in the Linux kernel reads the group count without ordering guarantees, so a concurrent online resize can make a lookup read past the group info array. A local user with low privileges can trigger it with high attack complexity. The flaw affects Linux kernel from 5.10.181 before 5.10.275, from 5.15.113 before 5.15.226, from 6.1.30 before 6.1.193, from 6.3.4 before 6.4, and from 6.4 onward.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 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 | 5.10.275, 5.15.226, 6.1.193, 6.4 | Patch available | CNA |
| Linux | Linux | 6.4 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1 | Patch available | CNA |
- Linux VendorLinux Affected 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 Fixed in 5.10.275, 5.15.226, 6.1.193, 6.4 Patch available CNA
- Linux VendorLinux Affected 6.4 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1 Patch available CNA
Remediation
Fixed Linux kernel versions are 5.10.275, 5.15.226, 6.1.193, 6.4, 6.6.163, 6.12.117, 6.18.63, 7.3.4 and 7.4-rc1. Red Hat reports no fix plan available for Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 and Red Hat OpenShift Container Platform 5.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.4
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet: Fix deferred |
Not affected: 4 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat OpenShift Container Platform 4
Timeline
- 2026-11-30 Threatist record created from CVE-2026-138872
- 2026-11-30 Alias added: GHSA-gp5c-hjxg-j795
- 2026-12-01 CVSS score added · CNA
- 2026-12-01 Affected versions changed · Red Hat
- 2026-12-01 CVSS score added · Red Hat
References
Other 8
- https://git.kernel.org/stable/c/840de582e3c98cbf01911472c8d363b9499932ca
- https://git.kernel.org/stable/c/22ee086e5c96d9e0f47ed0450b5e3b2d39ae9a89
- https://git.kernel.org/stable/c/b3151c0908b0ae63bb2bc5faae8d8d3cf421169c
- https://git.kernel.org/stable/c/de1e5704b3d71ef2c111ea424aa8e0e3ee8c6bf9
- https://git.kernel.org/stable/c/cd24b217717f152195de4abf8272ea1ef2a7c4be
- https://git.kernel.org/stable/c/02eea74948bda0409d7e359969218a814238a42a
- https://git.kernel.org/stable/c/425add03ad9a2fd539bcb02a62b892e19ff0600d
- https://git.kernel.org/stable/c/b067d3c1f90b536e9aa9f48b19580475a0b34f0f
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-138872 · CVE Program
- CVE-2026-138872 · NVD
- GHSA-gp5c-hjxg-j795 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-138872 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences