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

目标: 1000 元 · 已筹: 1336

100%

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

AI 预测 7.8 利用难度: 中等 EPSS 0.22% · P13

影响版本矩阵 18

厂商产品版本范围状态
LinuxLinuxac27a0ec112a089f1a5102bc8dffc79c8c815571< b80575ffa98b5bb3a5d4d392bfe4c2e03e9557dbaffected
ac27a0ec112a089f1a5102bc8dffc79c8c815571< 19e13b4d7f0303186fcc891aba8d0de7c8fdbda8affected
ac27a0ec112a089f1a5102bc8dffc79c8c815571< 42d420517072028fb0eb852c358056b7717ba5aaaffected
ac27a0ec112a089f1a5102bc8dffc79c8c815571< 8afe06ed3be7a874b3cd82ef5f8959aca8d6429aaffected
ac27a0ec112a089f1a5102bc8dffc79c8c815571< abb411ac991810c0bcbe51c2e76d2502bf611b5caffected
ac27a0ec112a089f1a5102bc8dffc79c8c815571< 9d241b7a39af192d1bb422714a458982c7cc67a2affected
ac27a0ec112a089f1a5102bc8dffc79c8c815571< cdd345321699042ece4a9d2e70754d2397d378c5affected
ac27a0ec112a089f1a5102bc8dffc79c8c815571< 50ea741def587a64e08879ce6c6a30131f7111e7affected
… +10 条更多
获取后续新漏洞提醒登录后订阅

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

漏洞信息

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

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

Vulnerability Title
ext4: check dot and dotdot of dx_root before making dir indexed
来源: 美国国家漏洞数据库 NVD
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: ext4: check dot and dotdot of dx_root before making dir indexed Syzbot reports a issue as follows: ============================================ BUG: unable to handle page fault for address: ffffed11022e24fe PGD 23ffee067 P4D 23ffee067 PUD 0 Oops: Oops: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 PID: 5079 Comm: syz-executor306 Not tainted 6.10.0-rc5-g55027e689933 #0 Call Trace: <TASK> make_indexed_dir+0xdaf/0x13c0 fs/ext4/namei.c:2341 ext4_add_entry+0x222a/0x25d0 fs/ext4/namei.c:2451 ext4_rename fs/ext4/namei.c:3936 [inline] ext4_rename2+0x26e5/0x4370 fs/ext4/namei.c:4214 [...] ============================================ The immediate cause of this problem is that there is only one valid dentry for the block to be split during do_split, so split==0 results in out of bounds accesses to the map triggering the issue. do_split unsigned split dx_make_map count = 1 split = count/2 = 0; continued = hash2 == map[split - 1].hash; ---> map[4294967295] The maximum length of a filename is 255 and the minimum block size is 1024, so it is always guaranteed that the number of entries is greater than or equal to 2 when do_split() is called. But syzbot's crafted image has no dot and dotdot in dir, and the dentry distribution in dirblock is as follows: bus dentry1 hole dentry2 free |xx--|xx-------------|...............|xx-------------|...............| 0 12 (8+248)=256 268 256 524 (8+256)=264 788 236 1024 So when renaming dentry1 increases its name_len length by 1, neither hole nor free is sufficient to hold the new dentry, and make_indexed_dir() is called. In make_indexed_dir() it is assumed that the first two entries of the dirblock must be dot and dotdot, so bus and dentry1 are left in dx_root because they are treated as dot and dotdot, and only dentry2 is moved to the new leaf block. That's why count is equal to 1. Therefore add the ext4_check_dx_root() helper function to add more sanity checks to dot and dotdot before starting the conversion to avoid the above issue.
来源: 美国国家漏洞数据库 NVD
CVSS Information
N/A
来源: 美国国家漏洞数据库 NVD
Vulnerability Type
N/A
来源: 美国国家漏洞数据库 NVD
Vulnerability Title
Linux kernel 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞。目前尚无此漏洞的相关信息,请随时关注CNNVD或厂商公告。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商产品影响版本CPE订阅
LinuxLinux ac27a0ec112a089f1a5102bc8dffc79c8c815571 ~ b80575ffa98b5bb3a5d4d392bfe4c2e03e9557db -
LinuxLinux 2.6.19 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

CVE-2024-42305 其他参考 (8)

同批安全公告 · Linux · 2024-08-17 · 共 109 条

CVE-2024-43820Linux kernel 安全漏洞
CVE-2024-43833Linux kernel 安全漏洞
CVE-2024-43831Linux kernel 安全漏洞
CVE-2024-43832Linux kernel 安全漏洞
CVE-2024-43830Linux kernel 安全漏洞
CVE-2024-43829Linux kernel 安全漏洞
CVE-2024-43828Linux kernel 安全漏洞
CVE-2024-43827Linux kernel 安全漏洞
CVE-2024-43826Linux kernel 安全漏洞
CVE-2024-43825Linux kernel 安全漏洞
CVE-2024-43823Linux kernel 安全漏洞
CVE-2024-43824Linux kernel 安全漏洞
CVE-2024-43822Linux kernel 安全漏洞
CVE-2024-43821Linux kernel 安全漏洞
CVE-2024-42318Linux kernel 安全漏洞
CVE-2024-42321Linux kernel 安全漏洞
CVE-2024-42320Linux kernel 安全漏洞
CVE-2024-42319Linux kernel 安全漏洞
CVE-2024-42322Linux kernel 安全漏洞
CVE-2024-42317Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-42305

暂无评论


发表评论