csirt@kutim:~/threat-intel/cve/CVE-2026-46159

Katalog CVE

CVSS 4.7 · Medium EPSS 0,11%

Kerentanan Time-of-check Time-of-use (TOCTOU) Race Condition pada linux kernel. Skor CVSS 3.1 4.7 (Medium) menurut NVD.

Deskripsi (NVD)

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.

Rincian

Terbit di NVD
28 Mei 2026
Terakhir diubah
19 Juni 2026
Status NVD
Modified
CVSS 3.1
4.7 (Medium), sumber NVD
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H · uraikan di kalkulator
Jenis kelemahan (CWE)
CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
EPSS (30 hari)
0,11% peluang dieksploitasi; lebih tinggi dari 1,2% CVE lain

Produk dan versi terdampak

VendorProdukVersi terdampak
linux linux kernel Versi 2.6.34.1 hingga sebelum 6.6.140
linux linux kernel Versi 6.7 hingga sebelum 6.12.90
linux linux kernel Versi 6.13 hingga sebelum 6.18.32
linux linux kernel Versi 6.19 hingga sebelum 7.0.7
linux linux kernel Versi 2.6.34
linux linux kernel Versi 2.6.34 rc2
linux linux kernel Versi 2.6.34 rc3
linux linux kernel Versi 2.6.34 rc4
linux linux kernel Versi 2.6.34 rc5
linux linux kernel Versi 2.6.34 rc6
linux linux kernel Versi 2.6.34 rc7

> Data dari konfigurasi CPE di NVD.

Referensi dan perbaikan

Sumber: NVD · CVE.org · EPSS. Halaman ini disusun otomatis dari data tersebut; pembaruan terakhir 5 Okt 2026, 20:11 WITA. Kalau sistem di Perangkat Daerah memakai produk ini dan butuh bantuan, laporkan lewat kanal pelaporan.