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

目标: 1000 元 · 已筹: 1336

100%

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

AI 预测 7.8 利用难度: 困难 EPSS 0.27% · P19

影响版本矩阵 18

厂商产品版本范围状态
LinuxLinuxb2a4df200d570b2c33a57e1ebfa5896e4bc81b69< c3ce634ad953ce48c75c39bdfd8b711dd95f346faffected
b2a4df200d570b2c33a57e1ebfa5896e4bc81b69< 4efb69a0e294ef201bcdf7ce3d6202cd0a545a5daffected
b2a4df200d570b2c33a57e1ebfa5896e4bc81b69< 1e4332581cd4eed75aea77af6f66cdcdda8b49b9affected
b2a4df200d570b2c33a57e1ebfa5896e4bc81b69< 199c20fb7499c79557a075dc24e9a7dae7d9f1ceaffected
b2a4df200d570b2c33a57e1ebfa5896e4bc81b69< bbad2d5b6c99db468d8f88b6ba6a56ed409b4881affected
b2a4df200d570b2c33a57e1ebfa5896e4bc81b69< 3e79ad156bedf2da0ab909a118d2cec6c9c22b79affected
b2a4df200d570b2c33a57e1ebfa5896e4bc81b69< e0a317ad68e4ea48a0158187238c5407e4fdec8baffected
b2a4df200d570b2c33a57e1ebfa5896e4bc81b69< 4a74da044ec9ec8679e6beccc4306b936b62873faffected
… +10 条更多
获取后续新漏洞提醒登录后订阅

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

漏洞信息

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

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

Vulnerability Title
security/keys: fix slab-out-of-bounds in key_task_permission
来源: 美国国家漏洞数据库 NVD
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: security/keys: fix slab-out-of-bounds in key_task_permission KASAN reports an out of bounds read: BUG: KASAN: slab-out-of-bounds in __kuid_val include/linux/uidgid.h:36 BUG: KASAN: slab-out-of-bounds in uid_eq include/linux/uidgid.h:63 [inline] BUG: KASAN: slab-out-of-bounds in key_task_permission+0x394/0x410 security/keys/permission.c:54 Read of size 4 at addr ffff88813c3ab618 by task stress-ng/4362 CPU: 2 PID: 4362 Comm: stress-ng Not tainted 5.10.0-14930-gafbffd6c3ede #15 Call Trace: __dump_stack lib/dump_stack.c:82 [inline] dump_stack+0x107/0x167 lib/dump_stack.c:123 print_address_description.constprop.0+0x19/0x170 mm/kasan/report.c:400 __kasan_report.cold+0x6c/0x84 mm/kasan/report.c:560 kasan_report+0x3a/0x50 mm/kasan/report.c:585 __kuid_val include/linux/uidgid.h:36 [inline] uid_eq include/linux/uidgid.h:63 [inline] key_task_permission+0x394/0x410 security/keys/permission.c:54 search_nested_keyrings+0x90e/0xe90 security/keys/keyring.c:793 This issue was also reported by syzbot. It can be reproduced by following these steps(more details [1]): 1. Obtain more than 32 inputs that have similar hashes, which ends with the pattern '0xxxxxxxe6'. 2. Reboot and add the keys obtained in step 1. The reproducer demonstrates how this issue happened: 1. In the search_nested_keyrings function, when it iterates through the slots in a node(below tag ascend_to_node), if the slot pointer is meta and node->back_pointer != NULL(it means a root), it will proceed to descend_to_node. However, there is an exception. If node is the root, and one of the slots points to a shortcut, it will be treated as a keyring. 2. Whether the ptr is keyring decided by keyring_ptr_is_keyring function. However, KEYRING_PTR_SUBTYPE is 0x2UL, the same as ASSOC_ARRAY_PTR_SUBTYPE_MASK. 3. When 32 keys with the similar hashes are added to the tree, the ROOT has keys with hashes that are not similar (e.g. slot 0) and it splits NODE A without using a shortcut. When NODE A is filled with keys that all hashes are xxe6, the keys are similar, NODE A will split with a shortcut. Finally, it forms the tree as shown below, where slot 6 points to a shortcut. NODE A +------>+---+ ROOT | | 0 | xxe6 +---+ | +---+ xxxx | 0 | shortcut : : xxe6 +---+ | +---+ xxe6 : : | | | xxe6 +---+ | +---+ | 6 |---+ : : xxe6 +---+ +---+ xxe6 : : | f | xxe6 +---+ +---+ xxe6 | f | +---+ 4. As mentioned above, If a slot(slot 6) of the root points to a shortcut, it may be mistakenly transferred to a key*, leading to a read out-of-bounds read. To fix this issue, one should jump to descend_to_node if the ptr is a shortcut, regardless of whether the node is root or not. [1] https://lore.kernel.org/linux-kernel/1cfa878e-8c7b-4570-8606-21daf5e13ce7@huaweicloud.com/ [jarkko: tweaked the commit message a bit to have an appropriate closes tag.]
来源: 美国国家漏洞数据库 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
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商产品影响版本CPE订阅
LinuxLinux b2a4df200d570b2c33a57e1ebfa5896e4bc81b69 ~ c3ce634ad953ce48c75c39bdfd8b711dd95f346f -
LinuxLinux 3.13 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

CVE-2024-50301 补丁与修复 (3)

同批安全公告 · Linux · 2024-11-19 · 共 88 条

CVE-2024-53057Linux kernel 安全漏洞
CVE-2024-53053Linux kernel 安全漏洞
CVE-2024-53055Linux kernel 安全漏洞
CVE-2024-53052Linux kernel 安全漏洞
CVE-2024-53048Linux kernel 安全漏洞
CVE-2024-53049Linux kernel 安全漏洞
CVE-2024-53047Linux kernel 安全漏洞
CVE-2024-53045Linux kernel 安全漏洞
CVE-2024-53046Linux kernel 安全漏洞
CVE-2024-53051Linux kernel 安全漏洞
CVE-2024-53056Linux kernel 安全漏洞
CVE-2024-53058Linux kernel 安全漏洞
CVE-2024-53059Linux kernel 安全漏洞
CVE-2024-53060Linux kernel 安全漏洞
CVE-2024-53061Linux kernel 安全漏洞
CVE-2024-53062Linux kernel 安全漏洞
CVE-2024-53064Linux kernel 安全漏洞
CVE-2024-53063Linux kernel 安全漏洞
CVE-2024-53066Linux kernel 安全漏洞
CVE-2024-53065Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-50301

暂无评论


发表评论