Linux kernel btrfs ioctl space info information leak
CVE-2026-46159Medium
The btrfs_ioctl_space_info() function in the Linux kernel has a race condition where it counts block group entries in one pass, releases a lock, then fills a buffer in a second pass. If block groups are removed between passes, the buffer contains fewer entries than expected. The function then copies the entire allocated buffer to userspace, including uninitialized kernel memory. An attacker with access to call the ioctl can read sensitive kernel heap data by triggering this race condition.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Detail
Affected versions
- linux linux kernel: from 2.6.34.1, before 6.6.140
- linux linux kernel: from 6.7, before 6.12.90
- linux linux kernel: from 6.13, before 6.18.32
- linux linux kernel: from 6.19, before 7.0.7
- linux linux kernel: 2.6.34
Reports naming this CVE1 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 TM MFP (opens in a new tab)