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

目标: 1000 元 · 已筹: 1336

100%

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

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于bpf子系统中对raw tracepoint参数的错误处理,导致内核崩溃。

AI 预测 6.5 利用难度: 中等 EPSS 0.21% · P12

影响版本矩阵 8

厂商产品 版本范围状态
Linux Linux 3f00c52393445ed49aadc1a567aa502c6333b1a1< c9b91d2d54175f781ad2c361cb2ac2c0e29b14b6 affected
3f00c52393445ed49aadc1a567aa502c6333b1a1< 3634d4a310820567fc634bf8f1ee2b91378773e8 affected
3f00c52393445ed49aadc1a567aa502c6333b1a1< cb4158ce8ec8a5bb528cc1693356a5eb8058094d affected
6.2 affected
< 6.2 unaffected
6.11.11≤ 6.11.* unaffected
6.12.2≤ 6.12.* unaffected
6.13≤ * unaffected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
bpf: Mark raw_tp arguments with PTR_MAYBE_NULL
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Mark raw_tp arguments with PTR_MAYBE_NULL Arguments to a raw tracepoint are tagged as trusted, which carries the semantics that the pointer will be non-NULL. However, in certain cases, a raw tracepoint argument may end up being NULL. More context about this issue is available in [0]. Thus, there is a discrepancy between the reality, that raw_tp arguments can actually be NULL, and the verifier's knowledge, that they are never NULL, causing explicit NULL checks to be deleted, and accesses to such pointers potentially crashing the kernel. To fix this, mark raw_tp arguments as PTR_MAYBE_NULL, and then special case the dereference and pointer arithmetic to permit it, and allow passing them into helpers/kfuncs; these exceptions are made for raw_tp programs only. Ensure that we don't do this when ref_obj_id > 0, as in that case this is an acquired object and doesn't need such adjustment. The reason we do mask_raw_tp_trusted_reg logic is because other will recheck in places whether the register is a trusted_reg, and then consider our register as untrusted when detecting the presence of the PTR_MAYBE_NULL flag. To allow safe dereference, we enable PROBE_MEM marking when we see loads into trusted pointers with PTR_MAYBE_NULL. While trusted raw_tp arguments can also be passed into helpers or kfuncs where such broken assumption may cause issues, a future patch set will tackle their case separately, as PTR_TO_BTF_ID (without PTR_TRUSTED) can already be passed into helpers and causes similar problems. Thus, they are left alone for now. It is possible that these checks also permit passing non-raw_tp args that are trusted PTR_TO_BTF_ID with null marking. In such a case, allowing dereference when pointer is NULL expands allowed behavior, so won't regress existing programs, and the case of passing these into helpers is the same as above and will be dealt with later. Also update the failure case in tp_btf_nullable selftest to capture the new behavior, as the verifier will no longer cause an error when directly dereference a raw tracepoint argument marked as __nullable. [0]: https://lore.kernel.org/bpf/ZrCZS6nisraEqehw@jlelli-thinkpadt14gen4.remote.csb
来源: 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存在安全漏洞,该漏洞源于bpf子系统中对raw tracepoint参数的错误处理,导致内核崩溃。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux 3f00c52393445ed49aadc1a567aa502c6333b1a1 ~ c9b91d2d54175f781ad2c361cb2ac2c0e29b14b6 -
Linux Linux 6.2 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

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

同批安全公告 · Linux · 2024-12-28 · 共 32 条

CVE-2024-56704 8.4 HIGH Linux kernel 安全漏洞
CVE-2024-56684 8.4 HIGH Linux kernel 安全漏洞
CVE-2024-56677 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-56706 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-56692 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-56693 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-56681 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-56688 7.5 HIGH Linux kernel 安全漏洞
CVE-2024-56703 7.5 HIGH Linux kernel 安全漏洞
CVE-2024-56694 7.5 HIGH Linux kernel 安全漏洞
CVE-2024-56708 Linux kernel 安全漏洞
CVE-2024-56682 Linux kernel 安全漏洞
CVE-2024-56707 Linux kernel 安全漏洞
CVE-2024-56705 Linux kernel 安全漏洞
CVE-2024-56676 Linux kernel 安全漏洞
CVE-2024-56678 Linux kernel 安全漏洞
CVE-2024-56701 Linux kernel 安全漏洞
CVE-2024-56700 Linux kernel 安全漏洞
CVE-2024-56699 Linux kernel 安全漏洞
CVE-2024-56698 Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-56702

暂无评论


发表评论