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 betwee…
- CVSS
- 4.7Medium
- Chance of exploitation (EPSS)
- —
- Published
- May 28, 2026
- In the news
- 1 story
What to do
A moderate security flaw in Linux kernel that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Affected versions
- Linux
- 2.6.34
Description
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.
Affected products
Get alerts for these →Timeline 19
Latest change: Nessus plugin 392132: Ubuntu 26.04 LTS : linux-aws, linux-raspi vulnerabilities (USN-8618-1) (Dec 2, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Thu, Dec 3, 2026
- DetectionNessus plugin 392132: Ubuntu 26.04 LTS : linux-aws, linux-raspi vulnerabilities (USN-8618-1)Tenable
- DetectionNessus plugin 392138: Ubuntu 26.04 LTS : linux-ibm, linux-oracle vulnerabilities (USN-8593-1)Tenable
- DetectionNessus plugin 392143: Ubuntu 24.04 LTS : linux-azure-7.0 vulnerabilities (USN-8728-2)Tenable
- DetectionNessus plugin 392146: Ubuntu 24.04 LTS : linux-oracle-7.0 vulnerabilities (USN-8728-3)Tenable
Wed, Nov 18, 2026
- DetectionNessus plugin 365370: Ubuntu 20.04 LTS : Linux kernel (GCP) vulnerabilities (USN-8878-1)Tenable
- DetectionNessus plugin 365377: Ubuntu 20.04 LTS : Linux kernel (Oracle) vulnerabilities (USN-8879-1)Tenable
- DetectionNessus plugin 365382: Ubuntu 20.04 LTS / 22.04 LTS : Linux kernel vulnerabilities (USN-8875-1)Tenable
- DetectionNessus plugin 365459: Ubuntu 22.04 LTS : Linux kernel (Azure CVM) vulnerabilities (USN-8876-1)Tenable
Sat, Nov 14, 2026
Fri, Nov 13, 2026
Thu, Nov 12, 2026
Mon, Nov 9, 2026
Thu, Oct 22, 2026
- AdvisorySiemens SIMATIC S7 Webserver APICISA · 12:00 UTC
- AdvisorySiemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFPCISA · 12:00 UTC
- AdvisorySiemens SIMATIC IPCsCISA · 12:00 UTC
- AdvisorySiemens SIMATIC S7 PLCs Web ServerCISA · 12:00 UTC
- AdvisorySiemens SIMATIC S7-1500 TM MFPCISA · 12:00 UTC
Thu, May 28, 2026
- CVECVE-2026-46159 published (CVSS 4.7)CVE Program · 10:16 UTC
References 9
- git.kernel.org Patch /stable/c/4fdc6ee0802121d9cd96b8d085e589f51e5a4ec3
- git.kernel.org Patch /stable/c/5d12e0ab009ade48c1bff9324fd9bea2c773d088
- git.kernel.org Patch /stable/c/973e57c726c1f8e77259d1c8e519519f1e9aea77
- git.kernel.org Patch /stable/c/d09d67d5de577cedae3de9497dff217e0ac8b641
- git.kernel.org Patch /stable/c/f5ee467b56764964027c361641f64953fc0f8f9a
- git.kernel.org /stable/c/d69a4a6813fdba7c4cc3695a7e843842b240790d
- git.kernel.org /stable/c/d8224b1be6627c6c3b204bfb264508d27c65ac44
- git.kernel.org /stable/c/f407aad350bdea4db300c47433573b7a41630d33
- cert-portal.siemens.com /productcert/html/ssa-784472.html