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

目标: 1000 元 · 已筹: 1359 元

100%

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

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于 cachefiles 组件在 cachefiles_ondemand_daemon_read 函数中存在释放后重用的问题。

AI 预测 5.5 利用难度: 中等 EPSS 0.28% · P20

影响版本矩阵 8

厂商产品 版本范围状态
Linux Linux f17443d52d805c9a7fab5e67a4e8b973626fe1cd< cb55625f8eb9d2de8be4da0c4580d48cbb32058e affected
f740fd943bb1fbf79b7eaba3c71eb7536f437f51< 3958679c49152391209b32be3357193300a51abd affected
0a7e54c1959c0feb2de23397ec09c7692364313e< 93064676a2820420a2d37d7c8289f277fe20793d affected
0a7e54c1959c0feb2de23397ec09c7692364313e< da4a827416066191aafeeccee50a8836a826ba10 affected
6.8 affected
< 6.8 unaffected
6.9.6≤ 6.9.* unaffected
6.10≤ * unaffected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
cachefiles: fix slab-use-after-free in cachefiles_ondemand_daemon_read()
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: cachefiles: fix slab-use-after-free in cachefiles_ondemand_daemon_read() We got the following issue in a fuzz test of randomly issuing the restore command: ================================================================== BUG: KASAN: slab-use-after-free in cachefiles_ondemand_daemon_read+0xb41/0xb60 Read of size 8 at addr ffff888122e84088 by task ondemand-04-dae/963 CPU: 13 PID: 963 Comm: ondemand-04-dae Not tainted 6.8.0-dirty #564 Call Trace: kasan_report+0x93/0xc0 cachefiles_ondemand_daemon_read+0xb41/0xb60 vfs_read+0x169/0xb50 ksys_read+0xf5/0x1e0 Allocated by task 116: kmem_cache_alloc+0x140/0x3a0 cachefiles_lookup_cookie+0x140/0xcd0 fscache_cookie_state_machine+0x43c/0x1230 [...] Freed by task 792: kmem_cache_free+0xfe/0x390 cachefiles_put_object+0x241/0x480 fscache_cookie_state_machine+0x5c8/0x1230 [...] ================================================================== Following is the process that triggers the issue: mount | daemon_thread1 | daemon_thread2 ------------------------------------------------------------ cachefiles_withdraw_cookie cachefiles_ondemand_clean_object(object) cachefiles_ondemand_send_req REQ_A = kzalloc(sizeof(*req) + data_len) wait_for_completion(&REQ_A->done) cachefiles_daemon_read cachefiles_ondemand_daemon_read REQ_A = cachefiles_ondemand_select_req msg->object_id = req->object->ondemand->ondemand_id ------ restore ------ cachefiles_ondemand_restore xas_for_each(&xas, req, ULONG_MAX) xas_set_mark(&xas, CACHEFILES_REQ_NEW) cachefiles_daemon_read cachefiles_ondemand_daemon_read REQ_A = cachefiles_ondemand_select_req copy_to_user(_buffer, msg, n) xa_erase(&cache->reqs, id) complete(&REQ_A->done) ------ close(fd) ------ cachefiles_ondemand_fd_release cachefiles_put_object cachefiles_put_object kmem_cache_free(cachefiles_object_jar, object) REQ_A->object->ondemand->ondemand_id // object UAF !!! When we see the request within xa_lock, req->object must not have been freed yet, so grab the reference count of object before xa_unlock to avoid the above issue.
来源: 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 存在安全漏洞,该漏洞源于 cachefiles 组件在 cachefiles_ondemand_daemon_read 函数中存在释放后重用的问题。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux f17443d52d805c9a7fab5e67a4e8b973626fe1cd ~ cb55625f8eb9d2de8be4da0c4580d48cbb32058e -
Linux Linux 6.8 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2024-39510 其他参考 (4)

同批安全公告 · Linux · 2024-07-12 · 共 122 条

CVE-2024-40999 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2024-40923 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2024-40907 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2024-40983 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2024-40937 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2024-40911 8.8 HIGH Linux kernel 安全漏洞
CVE-2024-40910 8.8 HIGH Linux kernel 安全漏洞
CVE-2024-40941 8.1 HIGH Linux kernel 安全漏洞
CVE-2024-40953 7.9 HIGH Linux kernel 安全漏洞
CVE-2024-40954 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-40918 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-40924 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-40925 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-40943 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-40947 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-40949 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-40990 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-40986 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-40989 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-40984 7.8 HIGH Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-39510

暂无评论


发表评论