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

目标: 1000 元 · 已筹: 1336

100%

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

AI 预测 4.7 利用难度: 较易 EPSS 0.17% · P7

可能的 ATT&CK 技术 1AI

T1499 · Endpoint Denial of Service

影响版本矩阵 8

厂商产品版本范围状态
LinuxLinux1506fcc8189cdd4b95e06df7845a09f18b4526a6< ded566b4637f1b6b4c9ba74e7d0b8493e93f19cfaffected
1506fcc8189cdd4b95e06df7845a09f18b4526a6< 89bca7fe6382d61e88c67a0b0e7bce315986fb8baffected
1506fcc8189cdd4b95e06df7845a09f18b4526a6< b0ad381fa7690244802aed119b478b4bdafc31ddaffected
2.6.29affected
< 2.6.29unaffected
6.6.24≤ 6.6.*unaffected
6.7.12≤ 6.7.*unaffected
6.8≤ *unaffected
获取后续新漏洞提醒登录后订阅

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

漏洞信息

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

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

Vulnerability Title
btrfs: fix deadlock with fiemap and extent locking
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix deadlock with fiemap and extent locking While working on the patchset to remove extent locking I got a lockdep splat with fiemap and pagefaulting with my new extent lock replacement lock. This deadlock exists with our normal code, we just don't have lockdep annotations with the extent locking so we've never noticed it. Since we're copying the fiemap extent to user space on every iteration we have the chance of pagefaulting. Because we hold the extent lock for the entire range we could mkwrite into a range in the file that we have mmap'ed. This would deadlock with the following stack trace [<0>] lock_extent+0x28d/0x2f0 [<0>] btrfs_page_mkwrite+0x273/0x8a0 [<0>] do_page_mkwrite+0x50/0xb0 [<0>] do_fault+0xc1/0x7b0 [<0>] __handle_mm_fault+0x2fa/0x460 [<0>] handle_mm_fault+0xa4/0x330 [<0>] do_user_addr_fault+0x1f4/0x800 [<0>] exc_page_fault+0x7c/0x1e0 [<0>] asm_exc_page_fault+0x26/0x30 [<0>] rep_movs_alternative+0x33/0x70 [<0>] _copy_to_user+0x49/0x70 [<0>] fiemap_fill_next_extent+0xc8/0x120 [<0>] emit_fiemap_extent+0x4d/0xa0 [<0>] extent_fiemap+0x7f8/0xad0 [<0>] btrfs_fiemap+0x49/0x80 [<0>] __x64_sys_ioctl+0x3e1/0xb50 [<0>] do_syscall_64+0x94/0x1a0 [<0>] entry_SYSCALL_64_after_hwframe+0x6e/0x76 I wrote an fstest to reproduce this deadlock without my replacement lock and verified that the deadlock exists with our existing locking. To fix this simply don't take the extent lock for the entire duration of the fiemap. This is safe in general because we keep track of where we are when we're searching the tree, so if an ordered extent updates in the middle of our fiemap call we'll still emit the correct extents because we know what offset we were on before. The only place we maintain the lock is searching delalloc. Since the delalloc stuff can change during writeback we want to lock the extent range so we have a consistent view of delalloc at the time we're checking to see if we need to set the delalloc flag. With this patch applied we no longer deadlock with my testcase.
来源: 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存在安全漏洞,该漏洞源于存在死锁问题。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商产品影响版本CPE订阅
LinuxLinux 1506fcc8189cdd4b95e06df7845a09f18b4526a6 ~ ded566b4637f1b6b4c9ba74e7d0b8493e93f19cf -
LinuxLinux 2.6.29 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

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

同批安全公告 · Linux · 2024-05-17 · 共 135 条

CVE-2023-526879.8 CRITICALLinux kernel 安全漏洞
CVE-2024-358568.8 HIGHLinux kernel 安全漏洞
CVE-2024-358048.8 HIGHLinux kernel 安全漏洞
CVE-2024-358438.8 HIGHLinux kernel 安全漏洞
CVE-2024-358118.8 HIGHLinux kernel 安全漏洞
CVE-2024-274158.8 HIGHLinux kernel 安全漏洞
CVE-2024-274168.8 HIGHLinux kernel 安全漏洞
CVE-2024-274048.2 HIGHLinux kernel 安全漏洞
CVE-2023-526698.2 HIGHLinux kernel 安全漏洞
CVE-2024-358348.2 HIGHLinux kernel 安全漏洞
CVE-2024-357898.0 HIGHLinux kernel 安全漏洞
CVE-2024-358307.8 HIGHLinux kernel 安全漏洞
CVE-2024-358357.8 HIGHLinux kernel 安全漏洞
CVE-2024-358277.8 HIGHLinux kernel 安全漏洞
CVE-2023-526627.8 HIGHLinux kernel 安全漏洞
CVE-2024-358177.8 HIGHLinux kernel 安全漏洞
CVE-2024-358087.8 HIGHLinux kernel 安全漏洞
CVE-2024-357937.8 HIGHLinux kernel 安全漏洞
CVE-2024-357987.8 HIGHLinux kernel 安全漏洞
CVE-2024-358147.8 HIGHLinux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-35784

暂无评论


发表评论