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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-56772— Linux kernel 资源管理错误漏洞

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在资源管理错误漏洞,该漏洞源于kunit测试框架的kunit_init_suite函数中,如果alloc_string_stream失败,未将suite->log的stream指针设置为NULL,导致后续的string_stream_clear操作出现释放后重用问题,影响内核测试的稳定性和可靠性。

AI 预测 5.5 利用难度: 中等 EPSS 0.20% · P9

可能的 ATT&CK 技术 1 AI

T1055 · Process Injection

影响版本矩阵 6

厂商产品 版本范围状态
Linux Linux a3fdf784780ccb0008d630e8722d1389c49c7499< 3213b92754b94dec6836e8b4d6ec7d224a805b61 affected
a3fdf784780ccb0008d630e8722d1389c49c7499< 39e21403c978862846fa68b7f6d06f9cca235194 affected
6.7 affected
< 6.7 unaffected
6.12.4≤ 6.12.* unaffected
6.13≤ * unaffected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
kunit: string-stream: Fix a UAF bug in kunit_init_suite()
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: kunit: string-stream: Fix a UAF bug in kunit_init_suite() In kunit_debugfs_create_suite(), if alloc_string_stream() fails in the kunit_suite_for_each_test_case() loop, the "suite->log = stream" has assigned before, and the error path only free the suite->log's stream memory but not set it to NULL, so the later string_stream_clear() of suite->log in kunit_init_suite() will cause below UAF bug. Set stream pointer to NULL after free to fix it. Unable to handle kernel paging request at virtual address 006440150000030d Mem abort info: ESR = 0x0000000096000004 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x04: level 0 translation fault Data abort info: ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000 CM = 0, WnR = 0, TnD = 0, TagAccess = 0 GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [006440150000030d] address between user and kernel address ranges Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: iio_test_gts industrialio_gts_helper cfg80211 rfkill ipv6 [last unloaded: iio_test_gts] CPU: 5 UID: 0 PID: 6253 Comm: modprobe Tainted: G B W N 6.12.0-rc4+ #458 Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST Hardware name: linux,dummy-virt (DT) pstate: 40000005 (nZcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : string_stream_clear+0x54/0x1ac lr : string_stream_clear+0x1a8/0x1ac sp : ffffffc080b47410 x29: ffffffc080b47410 x28: 006440550000030d x27: ffffff80c96b5e98 x26: ffffff80c96b5e80 x25: ffffffe461b3f6c0 x24: 0000000000000003 x23: ffffff80c96b5e88 x22: 1ffffff019cdf4fc x21: dfffffc000000000 x20: ffffff80ce6fa7e0 x19: 032202a80000186d x18: 0000000000001840 x17: 0000000000000000 x16: 0000000000000000 x15: ffffffe45c355cb4 x14: ffffffe45c35589c x13: ffffffe45c03da78 x12: ffffffb810168e75 x11: 1ffffff810168e74 x10: ffffffb810168e74 x9 : dfffffc000000000 x8 : 0000000000000004 x7 : 0000000000000003 x6 : 0000000000000001 x5 : ffffffc080b473a0 x4 : 0000000000000000 x3 : 0000000000000000 x2 : 0000000000000001 x1 : ffffffe462fbf620 x0 : dfffffc000000000 Call trace: string_stream_clear+0x54/0x1ac __kunit_test_suites_init+0x108/0x1d8 kunit_exec_run_tests+0xb8/0x100 kunit_module_notify+0x400/0x55c notifier_call_chain+0xfc/0x3b4 blocking_notifier_call_chain+0x68/0x9c do_init_module+0x24c/0x5c8 load_module+0x4acc/0x4e90 init_module_from_file+0xd4/0x128 idempotent_init_module+0x2d4/0x57c __arm64_sys_finit_module+0xac/0x100 invoke_syscall+0x6c/0x258 el0_svc_common.constprop.0+0x160/0x22c do_el0_svc+0x44/0x5c el0_svc+0x48/0xb8 el0t_64_sync_handler+0x13c/0x158 el0t_64_sync+0x190/0x194 Code: f9400753 d2dff800 f2fbffe0 d343fe7c (38e06b80) ---[ end trace 0000000000000000 ]--- Kernel panic - not syncing: Oops: Fatal exception
来源: 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存在资源管理错误漏洞,该漏洞源于kunit测试框架的kunit_init_suite函数中,如果alloc_string_stream失败,未将suite->log的stream指针设置为NULL,导致后续的string_stream_clear操作出现释放后重用问题,影响内核测试的稳定性和可靠性。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux a3fdf784780ccb0008d630e8722d1389c49c7499 ~ 3213b92754b94dec6836e8b4d6ec7d224a805b61 -
Linux Linux 6.7 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2024-56772 补丁与修复 (2)

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

CVE-2024-56779 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2024-56775 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-56784 7.8 HIGH Linux kernel 缓冲区错误漏洞
CVE-2024-56770 Linux kernel 安全漏洞
CVE-2024-56771 Linux kernel 安全漏洞
CVE-2024-56773 Linux kernel 代码问题漏洞
CVE-2024-56774 Linux kernel 代码问题漏洞
CVE-2024-56776 Linux kernel 代码问题漏洞
CVE-2024-56777 Linux kernel 代码问题漏洞
CVE-2024-56778 Linux kernel 代码问题漏洞
CVE-2024-56780 Linux kernel 安全漏洞
CVE-2024-56782 Linux kernel 代码问题漏洞
CVE-2024-56783 Linux kernel 安全漏洞
CVE-2024-56785 Linux kernel 安全漏洞
CVE-2024-56787 Linux kernel 安全漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2024-56772

暂无评论


发表评论