CVE-2026-138872

HighCVSS 7.0/10Last modified Dec 1, 2026

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.

Metrics

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

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Dec 1, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-138873In the Linux kernel, the following vulnerability has been resolved: ext4: fix ABBA deadlock in ext4_rmdir() We observe the following ABBA CVE-2026-138874In the Linux kernel, the following vulnerability has been resolved: ext4: don't report delalloc data as a hole on indirect-mapped inodes WCVE-2026-1388757.8In the Linux kernel, the following vulnerability has been resolved: jbd2: don't advance j_fc_off before the buffer is recorded jbd2_fc_getCVE-2026-138876In the Linux kernel, the following vulnerability has been resolved: fanotify: report names longer than NAME_MAX fanotify keeps the length CVE-2026-138877In the Linux kernel, the following vulnerability has been resolved: ALSA: hda/hdmi: clamp sad_count in ELD proc write handler snd_hdmi_wriCVE-2026-138878In the Linux kernel, the following vulnerability has been resolved: ALSA: hda/hdmi: clamp num_cvts against cvt_nids[] in hdmi_read_pin_connCVE-2026-138879In the Linux kernel, the following vulnerability has been resolved: crypto: algif_skcipher - rewind rounded output bytes af_alg_get_rsgl()CVE-2026-138888.8Use after free in Extensions in Google Chrome prior to 150.0.7871.47 allowed a remote attacker to execute arbitrary code inside a sandbox viCVE-2026-138880In the Linux kernel, the following vulnerability has been resolved: PCI/sysfs: Pass the device name length in UTF-16 code units Currently,CVE-2026-138881In the Linux kernel, the following vulnerability has been resolved: aoe: pull in the headers each received packet type reads aoenet_rcv() CVE-2026-138882In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7996: fix PCI device reference leak in mt7996_pci_init_hiCVE-2026-138883In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7615: cancel reset work during unregister The MCU error
CVE-2026-138872: High severity, CVSS 7.0 | Vulnix