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

目标: 1000 元 · 已筹: 1336

100%

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

AI 预测 5.5 利用难度: 中等 EPSS 0.22% · P12

可能的 ATT&CK 技术 1AI

T1496 · Resource Hijacking

影响版本矩阵 16

厂商产品版本范围状态
LinuxLinux3234975f477f746c22d076ea178a79ea104b2ca7< a85364f0d30dee01c5d5b4afa55a9629a8f36d8eaffected
3234975f477f746c22d076ea178a79ea104b2ca7< 2d505a801e57428057563762f67a5a62009b2600affected
3234975f477f746c22d076ea178a79ea104b2ca7< 0ab0a3ad24e970e894abcac58f85c332d1726749affected
3234975f477f746c22d076ea178a79ea104b2ca7< 45abb68c941ebc9a35c6d3a7b08196712093c636affected
3234975f477f746c22d076ea178a79ea104b2ca7< 37dfc81266d3a32294524bfadd3396614f8633eeaffected
3234975f477f746c22d076ea178a79ea104b2ca7< 6f73f920b7ad0084373e46121d7ac34117aed652affected
3234975f477f746c22d076ea178a79ea104b2ca7< 98100e88dd8865999dc6379a3356cd799795fe7baffected
3.17affected
… +8 条更多
获取后续新漏洞提醒登录后订阅

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

漏洞信息

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

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

Vulnerability Title
nfsd: fix nfs4_openowner leak when concurrent nfsd4_open occur
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: nfsd: fix nfs4_openowner leak when concurrent nfsd4_open occur The action force umount(umount -f) will attempt to kill all rpc_task even umount operation may ultimately fail if some files remain open. Consequently, if an action attempts to open a file, it can potentially send two rpc_task to nfs server. NFS CLIENT thread1 thread2 open("file") ... nfs4_do_open _nfs4_do_open _nfs4_open_and_get_state _nfs4_proc_open nfs4_run_open_task /* rpc_task1 */ rpc_run_task rpc_wait_for_completion_task umount -f nfs_umount_begin rpc_killall_tasks rpc_signal_task rpc_task1 been wakeup and return -512 _nfs4_do_open // while loop ... nfs4_run_open_task /* rpc_task2 */ rpc_run_task rpc_wait_for_completion_task While processing an open request, nfsd will first attempt to find or allocate an nfs4_openowner. If it finds an nfs4_openowner that is not marked as NFS4_OO_CONFIRMED, this nfs4_openowner will released. Since two rpc_task can attempt to open the same file simultaneously from the client to server, and because two instances of nfsd can run concurrently, this situation can lead to lots of memory leak. Additionally, when we echo 0 to /proc/fs/nfsd/threads, warning will be triggered. NFS SERVER nfsd1 nfsd2 echo 0 > /proc/fs/nfsd/threads nfsd4_open nfsd4_process_open1 find_or_alloc_open_stateowner // alloc oo1, stateid1 nfsd4_open nfsd4_process_open1 find_or_alloc_open_stateowner // find oo1, without NFS4_OO_CONFIRMED release_openowner unhash_openowner_locked list_del_init(&oo->oo_perclient) // cannot find this oo // from client, LEAK!!! alloc_stateowner // alloc oo2 nfsd4_process_open2 init_open_stateid // associate oo1 // with stateid1, stateid1 LEAK!!! nfs4_get_vfs_file // alloc nfsd_file1 and nfsd_file_mark1 // all LEAK!!! nfsd4_process_open2 ... write_threads ... nfsd_destroy_serv nfsd_shutdown_net nfs4_state_shutdown_net nfs4_state_destroy_net destroy_client __destroy_client // won't find oo1!!! nfsd_shutdown_generic nfsd_file_cache_shutdown kmem_cache_destroy for nfsd_file_slab and nfsd_file_mark_slab // bark since nfsd_file1 // and nfsd_file_mark1 // still alive ======================================================================= BUG nfsd_file (Not tainted): Objects remaining in nfsd_file on __kmem_cache_shutdown() ----------------------------------------------------------------------- Slab 0xffd4000004438a80 objects=34 used=1 fp=0xff11000110e2ad28 flags=0x17ffffc0000240(workingset|head|node=0|zone=2|lastcpupid=0x1fffff) CPU: 4 UID: 0 PID: 757 Comm: sh Not tainted 6.12.0-rc6+ #19 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.1-2.fc37 04/01/2014 Call Trace: <TASK> dum ---truncated---
来源: 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存在安全漏洞,该漏洞源于nfsd在处理并发nfsd4_open请求时,可能会导致nfs4_openowner内存泄漏,进而影响文件系统的性能和稳定性。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商产品影响版本CPE订阅
LinuxLinux 3234975f477f746c22d076ea178a79ea104b2ca7 ~ a85364f0d30dee01c5d5b4afa55a9629a8f36d8e -
LinuxLinux 3.17 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

CVE-2024-56779 补丁与修复 (7)

同批安全公告 · Linux · 2025-01-08 · 共 16 条

CVE-2024-56770Linux kernel 安全漏洞
CVE-2024-56771Linux kernel 安全漏洞
CVE-2024-56773Linux kernel 代码问题漏洞
CVE-2024-56772Linux kernel 资源管理错误漏洞
CVE-2024-56774Linux kernel 代码问题漏洞
CVE-2024-56775Linux kernel 安全漏洞
CVE-2024-56776Linux kernel 代码问题漏洞
CVE-2024-56777Linux kernel 代码问题漏洞
CVE-2024-56778Linux kernel 代码问题漏洞
CVE-2024-56780Linux kernel 安全漏洞
CVE-2024-56782Linux kernel 代码问题漏洞
CVE-2024-56783Linux kernel 安全漏洞
CVE-2024-56785Linux kernel 安全漏洞
CVE-2024-56784Linux kernel 缓冲区错误漏洞
CVE-2024-56787Linux kernel 安全漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2024-56779

暂无评论


发表评论