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

目标: 1000 元 · 已筹: 1336

100%

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

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

影响版本矩阵 10

厂商产品版本范围状态
LinuxLinuxfe2140e2f57fef8562e0f9b7cd447d2b08dc2f35< 90f17e47f1e209c6a3c92a1d038a0a80c95c460eaffected
fe2140e2f57fef8562e0f9b7cd447d2b08dc2f35< 9dd7f5663899ea13a6a73216106d9c13c37453e3affected
fe2140e2f57fef8562e0f9b7cd447d2b08dc2f35< 38b88d544216f806d93a273a62ff8ebe82254003affected
fe2140e2f57fef8562e0f9b7cd447d2b08dc2f35< 522018a0de6b6fcce60c04f86dfc5f0e4b6a1b36affected
5.17affected
< 5.17unaffected
6.1.101≤ 6.1.*unaffected
6.6.42≤ 6.6.*unaffected
… +2 条更多
获取后续新漏洞提醒登录后订阅

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

漏洞信息

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

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

Vulnerability Title
cachefiles: fix slab-use-after-free in fscache_withdraw_volume()
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: cachefiles: fix slab-use-after-free in fscache_withdraw_volume() We got the following issue in our fault injection stress test: ================================================================== BUG: KASAN: slab-use-after-free in fscache_withdraw_volume+0x2e1/0x370 Read of size 4 at addr ffff88810680be08 by task ondemand-04-dae/5798 CPU: 0 PID: 5798 Comm: ondemand-04-dae Not tainted 6.8.0-dirty #565 Call Trace: kasan_check_range+0xf6/0x1b0 fscache_withdraw_volume+0x2e1/0x370 cachefiles_withdraw_volume+0x31/0x50 cachefiles_withdraw_cache+0x3ad/0x900 cachefiles_put_unbind_pincount+0x1f6/0x250 cachefiles_daemon_release+0x13b/0x290 __fput+0x204/0xa00 task_work_run+0x139/0x230 Allocated by task 5820: __kmalloc+0x1df/0x4b0 fscache_alloc_volume+0x70/0x600 __fscache_acquire_volume+0x1c/0x610 erofs_fscache_register_volume+0x96/0x1a0 erofs_fscache_register_fs+0x49a/0x690 erofs_fc_fill_super+0x6c0/0xcc0 vfs_get_super+0xa9/0x140 vfs_get_tree+0x8e/0x300 do_new_mount+0x28c/0x580 [...] Freed by task 5820: kfree+0xf1/0x2c0 fscache_put_volume.part.0+0x5cb/0x9e0 erofs_fscache_unregister_fs+0x157/0x1b0 erofs_kill_sb+0xd9/0x1c0 deactivate_locked_super+0xa3/0x100 vfs_get_super+0x105/0x140 vfs_get_tree+0x8e/0x300 do_new_mount+0x28c/0x580 [...] ================================================================== Following is the process that triggers the issue: mount failed | daemon exit ------------------------------------------------------------ deactivate_locked_super cachefiles_daemon_release erofs_kill_sb erofs_fscache_unregister_fs fscache_relinquish_volume __fscache_relinquish_volume fscache_put_volume(fscache_volume, fscache_volume_put_relinquish) zero = __refcount_dec_and_test(&fscache_volume->ref, &ref); cachefiles_put_unbind_pincount cachefiles_daemon_unbind cachefiles_withdraw_cache cachefiles_withdraw_volumes list_del_init(&volume->cache_link) fscache_free_volume(fscache_volume) cache->ops->free_volume cachefiles_free_volume list_del_init(&cachefiles_volume->cache_link); kfree(fscache_volume) cachefiles_withdraw_volume fscache_withdraw_volume fscache_volume->n_accesses // fscache_volume UAF !!! The fscache_volume in cache->volumes must not have been freed yet, but its reference count may be 0. So use the new fscache_try_get_volume() helper function try to get its reference count. If the reference count of fscache_volume is 0, fscache_put_volume() is freeing it, so wait for it to be removed from cache->volumes. If its reference count is not 0, call cachefiles_withdraw_volume() with reference count protection 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 存在安全漏洞,该漏洞源于在使用fscache_withdraw_volume函数时,fscache_volume可能已经被释放,但引用计数可能为0,导致释放后重用问题。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商产品影响版本CPE订阅
LinuxLinux fe2140e2f57fef8562e0f9b7cd447d2b08dc2f35 ~ 90f17e47f1e209c6a3c92a1d038a0a80c95c460e -
LinuxLinux 5.17 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

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

同批安全公告 · Linux · 2024-07-29 · 共 121 条

CVE-2024-41089Linux kernel 安全漏洞
CVE-2024-42068Linux kernel 安全漏洞
CVE-2024-42067Linux kernel 安全漏洞
CVE-2024-42066Linux kernel 安全漏洞
CVE-2024-42065Linux kernel 安全漏洞
CVE-2024-42063Linux kernel 安全漏洞
CVE-2024-42064Linux kernel 安全漏洞
CVE-2023-52887Linux kernel 安全漏洞
CVE-2024-41098Linux kernel 安全漏洞
CVE-2024-41097Linux kernel 安全漏洞
CVE-2024-41096Linux kernel 安全漏洞
CVE-2024-41095Linux kernel 安全漏洞
CVE-2024-41094Linux kernel 安全漏洞
CVE-2024-41093Linux kernel 安全漏洞
CVE-2024-41092Linux kernel 安全漏洞
CVE-2024-41078Linux kernel 安全漏洞
CVE-2024-41081Linux kernel 安全漏洞
CVE-2024-41080Linux kernel 安全漏洞
CVE-2024-41079Linux kernel 安全漏洞
CVE-2024-41076Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-41058

暂无评论


发表评论