CVE-2026-138872
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | linux |
Fixed | 6.12.117-1 |
| sid | linux |
Fixed | 7.3.4-1 |
| forky | linux |
Fixed | 7.3.4-1 |
| bookworm | linux |
Affected | — |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| linux | linux | {"startIncluding":"5.10.181","endExcluding":"5.10.275"} | 5.10.275 |
| linux | linux | {"startIncluding":"5.15.113","endExcluding":"5.15.226"} | 5.15.226 |
| linux | linux | {"startIncluding":"6.1.30","endExcluding":"6.1.193"} | 6.1.193 |
| linux | linux | {"startIncluding":"6.3.4","endExcluding":"6.4"} | 6.4 |
| linux | linux | 6.4 | |
References
- https://git.kernel.org/stable/c/02eea74948bda0409d7e359969218a814238a42a
- https://git.kernel.org/stable/c/22ee086e5c96d9e0f47ed0450b5e3b2d39ae9a89
- https://git.kernel.org/stable/c/425add03ad9a2fd539bcb02a62b892e19ff0600d
- https://git.kernel.org/stable/c/840de582e3c98cbf01911472c8d363b9499932ca
- https://git.kernel.org/stable/c/b067d3c1f90b536e9aa9f48b19580475a0b34f0f
- https://git.kernel.org/stable/c/b3151c0908b0ae63bb2bc5faae8d8d3cf421169c
- https://git.kernel.org/stable/c/cd24b217717f152195de4abf8272ea1ef2a7c4be
- https://git.kernel.org/stable/c/de1e5704b3d71ef2c111ea424aa8e0e3ee8c6bf9
- https://security-tracker.debian.org/tracker/CVE-2026-138872
- https://www.suse.com/security/cve/CVE-2026-138872.html
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.