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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-26616— Linux kernel安全漏洞

一分钟漏洞结论

影响对象
Linux Linux
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于在 ext4 转换 btrfs 时,scrub 会导致不可修复的故障。

AI 预测 6.5 利用难度: 困难 EPSS 0.29% · P20

影响版本矩阵 8

厂商产品 版本范围状态
Linux Linux e02ee89baa66c40e1002cf8b09141fce7265e0f5< 642b9c520ef2f104277ad1f902f8526edbe087fb affected
e02ee89baa66c40e1002cf8b09141fce7265e0f5< 34de0f04684ec00c093a0455648be055f0e8e24f affected
e02ee89baa66c40e1002cf8b09141fce7265e0f5< f546c4282673497a06ecb6190b50ae7f6c85b02f affected
6.4 affected
< 6.4 unaffected
6.6.15≤ 6.6.* unaffected
6.7.3≤ 6.7.* unaffected
6.8≤ * unaffected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2024-26616 基础信息

漏洞信息

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

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

Vulnerability Title
btrfs: scrub: avoid use-after-free when chunk length is not 64K aligned
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: scrub: avoid use-after-free when chunk length is not 64K aligned [BUG] There is a bug report that, on a ext4-converted btrfs, scrub leads to various problems, including: - "unable to find chunk map" errors BTRFS info (device vdb): scrub: started on devid 1 BTRFS critical (device vdb): unable to find chunk map for logical 2214744064 length 4096 BTRFS critical (device vdb): unable to find chunk map for logical 2214744064 length 45056 This would lead to unrepariable errors. - Use-after-free KASAN reports: ================================================================== BUG: KASAN: slab-use-after-free in __blk_rq_map_sg+0x18f/0x7c0 Read of size 8 at addr ffff8881013c9040 by task btrfs/909 CPU: 0 PID: 909 Comm: btrfs Not tainted 6.7.0-x64v3-dbg #11 c50636e9419a8354555555245df535e380563b2b Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 2023.11-2 12/24/2023 Call Trace: <TASK> dump_stack_lvl+0x43/0x60 print_report+0xcf/0x640 kasan_report+0xa6/0xd0 __blk_rq_map_sg+0x18f/0x7c0 virtblk_prep_rq.isra.0+0x215/0x6a0 [virtio_blk 19a65eeee9ae6fcf02edfad39bb9ddee07dcdaff] virtio_queue_rqs+0xc4/0x310 [virtio_blk 19a65eeee9ae6fcf02edfad39bb9ddee07dcdaff] blk_mq_flush_plug_list.part.0+0x780/0x860 __blk_flush_plug+0x1ba/0x220 blk_finish_plug+0x3b/0x60 submit_initial_group_read+0x10a/0x290 [btrfs e57987a360bed82fe8756dcd3e0de5406ccfe965] flush_scrub_stripes+0x38e/0x430 [btrfs e57987a360bed82fe8756dcd3e0de5406ccfe965] scrub_stripe+0x82a/0xae0 [btrfs e57987a360bed82fe8756dcd3e0de5406ccfe965] scrub_chunk+0x178/0x200 [btrfs e57987a360bed82fe8756dcd3e0de5406ccfe965] scrub_enumerate_chunks+0x4bc/0xa30 [btrfs e57987a360bed82fe8756dcd3e0de5406ccfe965] btrfs_scrub_dev+0x398/0x810 [btrfs e57987a360bed82fe8756dcd3e0de5406ccfe965] btrfs_ioctl+0x4b9/0x3020 [btrfs e57987a360bed82fe8756dcd3e0de5406ccfe965] __x64_sys_ioctl+0xbd/0x100 do_syscall_64+0x5d/0xe0 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f47e5e0952b - Crash, mostly due to above use-after-free [CAUSE] The converted fs has the following data chunk layout: item 2 key (FIRST_CHUNK_TREE CHUNK_ITEM 2214658048) itemoff 16025 itemsize 80 length 86016 owner 2 stripe_len 65536 type DATA|single For above logical bytenr 2214744064, it's at the chunk end (2214658048 + 86016 = 2214744064). This means btrfs_submit_bio() would split the bio, and trigger endio function for both of the two halves. However scrub_submit_initial_read() would only expect the endio function to be called once, not any more. This means the first endio function would already free the bbio::bio, leaving the bvec freed, thus the 2nd endio call would lead to use-after-free. [FIX] - Make sure scrub_read_endio() only updates bits in its range Since we may read less than 64K at the end of the chunk, we should not touch the bits beyond chunk boundary. - Make sure scrub_submit_initial_read() only to read the chunk range This is done by calculating the real number of sectors we need to read, and add sector-by-sector to the bio. Thankfully the scrub read repair path won't need extra fixes: - scrub_stripe_submit_repair_read() With above fixes, we won't update error bit for range beyond chunk, thus scrub_stripe_submit_repair_read() should never submit any read beyond the chunk.
来源: CVE Program / CVE List V5
CVSS Information
N/A
来源: CVE Program / CVE List V5
Vulnerability Type
N/A
来源: CVE Program / CVE List V5
Vulnerability Title
Linux kernel安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于在 ext4 转换 btrfs 时,scrub 会导致不可修复的故障。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux e02ee89baa66c40e1002cf8b09141fce7265e0f5 ~ 642b9c520ef2f104277ad1f902f8526edbe087fb -
Linux Linux 6.4 -

二、漏洞 CVE-2024-26616 的公开POC

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

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2024-26616 的情报信息

请登录查看更多情报信息。

CVE-2024-26616 其他参考 (3)

同批安全公告 · Linux · 2024-02-29 · 共 53 条

CVE-2023-52480 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2023-52478 8.8 HIGH Linux kernel 安全漏洞
CVE-2023-52479 8.8 HIGH Linux kernel 安全漏洞
CVE-2024-26620 8.2 HIGH Linux kernel 安全漏洞
CVE-2021-47068 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-52491 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-26608 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-52486 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-26610 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-26614 7.8 HIGH Linux kernel安全漏洞
CVE-2024-26617 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-52483 7.8 HIGH Linux kernel 安全漏洞
CVE-2021-47060 7.8 HIGH Linux kernel 安全漏洞
CVE-2021-47061 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-26611 7.5 HIGH Linux kernel 安全漏洞
CVE-2021-47066 7.1 HIGH Linux kernel 安全漏洞
CVE-2023-52497 7.1 HIGH Linux kernel 安全漏洞
CVE-2021-47055 7.1 HIGH Linux kernel 安全漏洞
CVE-2021-47058 Linux kernel 安全漏洞
CVE-2023-52477 Linux kernel 安全漏洞

显示前 20 条,共 53 条。 查看全部 &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2024-26616

暂无评论


发表评论