Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-46159— btrfs: fix btrfs_ioctl_space_info() slot_count TOCTOU which can lead to info-leak

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于btrfs中btrfs_ioctl_space_info()函数存在TOCTOU竞争,可能导致信息泄漏。

AI Predicted 6.5 Difficulty: Easy EPSS 0.09% · P1

Possible ATT&CK Techniques 1 AI

T1005 · Data from Local System

Affected Version Matrix 18

VendorProduct Version RangeStatus
Linux Linux 7fde62bffb576d384ea49a3aed3403d5609ee5bc< f407aad350bdea4db300c47433573b7a41630d33 affected
7fde62bffb576d384ea49a3aed3403d5609ee5bc< d8224b1be6627c6c3b204bfb264508d27c65ac44 affected
7fde62bffb576d384ea49a3aed3403d5609ee5bc< d69a4a6813fdba7c4cc3695a7e843842b240790d affected
7fde62bffb576d384ea49a3aed3403d5609ee5bc< f5ee467b56764964027c361641f64953fc0f8f9a affected
7fde62bffb576d384ea49a3aed3403d5609ee5bc< 4fdc6ee0802121d9cd96b8d085e589f51e5a4ec3 affected
7fde62bffb576d384ea49a3aed3403d5609ee5bc< 5d12e0ab009ade48c1bff9324fd9bea2c773d088 affected
7fde62bffb576d384ea49a3aed3403d5609ee5bc< d09d67d5de577cedae3de9497dff217e0ac8b641 affected
7fde62bffb576d384ea49a3aed3403d5609ee5bc< 973e57c726c1f8e77259d1c8e519519f1e9aea77 affected
… +10 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-46159

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
btrfs: fix btrfs_ioctl_space_info() slot_count TOCTOU which can lead to info-leak
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于btrfs中btrfs_ioctl_space_info()函数存在TOCTOU竞争,可能导致信息泄漏。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 7fde62bffb576d384ea49a3aed3403d5609ee5bc ~ f407aad350bdea4db300c47433573b7a41630d33 -
Linux Linux 2.6.34 -

II. Public POCs for CVE-2026-46159

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-46159

登录查看更多情报信息。

Patches & Fixes for CVE-2026-46159 (7)

Same Patch Batch · Linux · 2026-05-28 · 135 CVEs total

CVE-2026-46195 9.8 CRITICAL smb: client: validate dacloffset before building DACL pointers
CVE-2026-46135 9.8 CRITICAL nvmet-tcp: fix race between ICReq handling and queue teardown
CVE-2026-46137 9.8 CRITICAL mptcp: pm: ADD_ADDR rtx: fix potential data-race
CVE-2026-46115 9.8 CRITICAL block: add pgmap check to biovec_phys_mergeable
CVE-2026-46155 9.1 CRITICAL smb/client: fix out-of-bounds read in smb2_compound_op()
CVE-2026-46185 9.1 CRITICAL smb/client: fix out-of-bounds read in symlink_data()
CVE-2026-46119 9.1 CRITICAL libceph: Fix slab-out-of-bounds access in auth message processing
CVE-2026-46238 8.8 HIGH batman-adv: stop caching unowned originator pointers in BAT IV
CVE-2026-46174 8.8 HIGH x86/CPU/AMD: Prevent improper isolation of shared resources in Zen2's op cache
CVE-2026-46125 8.8 HIGH wifi: mac80211: remove station if connection prep fails
CVE-2026-46198 8.8 HIGH batman-adv: fix integer overflow on buff_pos
CVE-2026-46166 8.8 HIGH wifi: mac80211: use safe list iteration in radar detect work
CVE-2026-46212 8.8 HIGH batman-adv: bla: prevent use-after-free when deleting claims
CVE-2026-46152 8.8 HIGH wifi: mac80211: drop stray 'static' from fast-RX rx_result
CVE-2026-46113 8.8 HIGH KVM: x86: Fix shadow paging use-after-free due to unexpected GFN
CVE-2026-46138 8.1 HIGH Bluetooth: hci_event: Fix OOB read and infinite loop in hci_le_create_big_complete_evt
CVE-2026-46232 8.1 HIGH HID: playstation: Clamp num_touch_reports
CVE-2026-46215 7.8 HIGH drm: Set old handle to NULL before prime swap in change_handle
CVE-2026-46176 7.8 HIGH RDMA/mlx5: Fix error path fall-through in mlx5_ib_dev_res_srq_init()
CVE-2026-46157 7.8 HIGH ALSA: pcm: oss: Fix data race at accessing runtime.oss.trigger

Showing top 20 of 135 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2026-46159

No comments yet


Leave a comment