目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-64567— btrfs 拒绝包含超过页面数条目的空闲空间缓存

AI 预测 4.4 利用难度: 困难 EPSS 0.16% · P5
获取后续新漏洞提醒登录后订阅

一、 漏洞 CVE-2026-64567 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
btrfs: reject free space cache with more entries than pages
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: reject free space cache with more entries than pages When loading a v1 free space cache, __load_free_space_cache() takes num_entries and num_bitmaps straight from the on-disk btrfs_free_space_header. That header is stored in the tree_root under a key with type 0, which the tree-checker has no case for, so neither count is validated before the load trusts it. The load loops num_entries times and maps the next page whenever the current one runs out, going through io_ctl_check_crc() -> io_ctl_map_page(), which does io_ctl->pages[io_ctl->index++]. But pages[] is allocated in io_ctl_init() from the cache inode's i_size, not from num_entries: num_pages = DIV_ROUND_UP(i_size_read(inode), PAGE_SIZE); io_ctl->pages = kcalloc(num_pages, sizeof(struct page *), GFP_NOFS); So if num_entries claims more records than the pages can hold, io_ctl->index runs off the end of pages[]. The write side never hits this because io_ctl_add_entry() and io_ctl_add_bitmap() both stop once io_ctl->index >= io_ctl->num_pages; the read side just never had the same check. To trigger it, take a clean cache (num_entries = <N> here), set num_entries in the header to 0x10000, and fix up the leaf checksum so it still passes the tree-checker. The cache inode has i_size = 65536, so num_pages is 16 and pages[] is a 16-pointer (kmalloc-128) array. The load now tries to read 65536 entries, io_ctl->index walks up to 16, and pages[16] is read past the array: BUG: KASAN: slab-out-of-bounds in io_ctl_check_crc (fs/btrfs/free-space-cache.c:420 fs/btrfs/free-space-cache.c:565) Read of size 8 at addr ffff88800c833a80 by task kworker/u8:3/58 io_ctl_check_crc (fs/btrfs/free-space-cache.c:420 fs/btrfs/free-space-cache.c:565) __load_free_space_cache (fs/btrfs/free-space-cache.c:655 fs/btrfs/free-space-cache.c:820) load_free_space_cache (fs/btrfs/free-space-cache.c:1017) caching_thread (fs/btrfs/block-group.c:880) btrfs_work_helper (fs/btrfs/async-thread.c:312) process_one_work worker_thread kthread ret_from_fork free-space-cache.c:420 is io_ctl_map_page(), inlined into io_ctl_check_crc() at line 565, which is why that is the frame KASAN names. The out-of-bounds slot is then treated as a struct page and handed to crc32c(), so the bad read turns into a GP fault. Add the missing check to io_ctl_check_crc(), which is where both the entry loop and the bitmap loop end up. When num_entries is too large the load now fails like any corrupt cache: __load_free_space_cache() drops it and rebuilds the free space from the extent tree, so a valid cache is never rejected.
来源: CVE Program / CVE List V5
CVSS Information
N/A
来源: CVE Program / CVE List V5
Vulnerability Type
N/A
来源: CVE Program / CVE List V5

受影响产品

厂商产品影响版本CPE订阅
LinuxLinux 5b0e95bf607ddd59b39f52d3d55e6581c817b530 ~ 33878ba25e2638bc0c61623d7a05c9ca2b74c039 -
LinuxLinux 3.2 -

二、漏洞 CVE-2026-64567 的公开POC

#POC 描述源链接神龙链接
AI 生成 POC高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-64567 的情报信息

登录查看更多情报信息。

CVE-2026-64567 补丁与修复 (5)

同批安全公告 · Linux · 2026-08-05 · 共 17 条

CVE-2026-64582RDMA/rxe: rxe_mmap中内存使用后释放漏洞
CVE-2026-64581Linux 内核 sk_dst_cache 双重释放漏洞
CVE-2026-64580xfrm6: 避免 xfrm6_fill_dst 中重复 netdev_put
CVE-2026-64578ksmbd 结构大小校验漏洞
CVE-2026-64579xfrm策略预分配不精确桶前xfrm_hash_rebuild重插入
CVE-2026-64576nexthop: nh_res_bucket_migrate() 初始化 extack
CVE-2026-64577GTP 协议内核模块回显响应远程代码执行漏洞
CVE-2026-64575bpf: tcp批量重分配时双重释放sock漏洞
CVE-2026-64573蓝牙qca:TLV解析器中NVM标签长度下溢漏洞
CVE-2026-64574mac80211 链路更新错误路径下销毁新链路漏洞
CVE-2026-64572IPv4 FIB fib_alias 插入错误路径释放漏洞
CVE-2026-64571p54驱动接收帧长度验证漏洞
CVE-2026-64570mac80211 FTS 发现双释放漏洞
CVE-2026-64569MPLS CONFIG_INET=n时空指针解引用漏洞
CVE-2026-64568mac80211 未应答广播探测响应双释放漏洞
CVE-2026-64566Linux内核xfrm模块iptfs_skb_add_frags共享碎片传播漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-64567

暂无评论


发表评论