Live threats

All CVEs / Linux

CVE-2026-46159Linux Kernel

Medium 4.7

Priority
28
CVSS 3.1
4.7
EPSS
—
Auth required
Yes
Published
May 28, 2026
Updated
Nov 6, 2026
Category
Operating system · Linux
Weakness (CWE)
CWE-367
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

What happens

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix btrfs_ioctl_space_info() slot_count TOCTOU which can lead to info-leak btrfs_ioctl_space_info() has a TOCTOU race between two passes over the block group RAID type lists. The first pass counts entries to determine the allocation size, then the second pass fills the buffer. The groups_sem rwlock is released between passes, allowing concurrent block group removal to reduce the entry count. When the second pass fills fewer entries than the first pass counted, copy_to_user() copies the full alloc_size bytes including trailing uninitialized kmalloc bytes to userspace. Fix by copying only total_spaces entries (the actually-filled count from the second pass) instead of alloc_size bytes, and switch to kzalloc so any future copy size mismatch cannot leak heap data.

Original NVD text.

What to do

  1. Apply the vendor's security update for Linux Kernel.

Affected products (CPE)

VendorProductVersions
linuxlinux_kernel≥ 2.6.34.1 < 6.6.140
linuxlinux_kernel≥ 6.7 < 6.12.90
linuxlinux_kernel≥ 6.13 < 6.18.32
linuxlinux_kernel≥ 6.19 < 7.0.7
linuxlinux_kernel2.6.34
linuxlinux_kernel2.6.34
linuxlinux_kernel2.6.34
linuxlinux_kernel2.6.34
linuxlinux_kernel2.6.34
linuxlinux_kernel2.6.34
linuxlinux_kernel2.6.34

Official advisories

Also: SUSE (+15)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.