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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2022-49961— Linux kernel 安全漏洞

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于bpf未标记ARG_CONST_ALLOC_SIZE_OR_ZERO精度,可能导致状态错误。

AI 预测 7.8 利用难度: 中等 EPSS 0.28% · P19

影响版本矩阵 8

厂商产品 版本范围状态
Linux Linux 457f44363a8894135c85b7a9afd2bd8196db24ab< 987b4c465ba28c662ca857be6c20fd2d96bc55f0 affected
457f44363a8894135c85b7a9afd2bd8196db24ab< 2459615a8d7f44ac81f0965bc094e55ccb254717 affected
457f44363a8894135c85b7a9afd2bd8196db24ab< 2fc31465c5373b5ca4edf2e5238558cb62902311 affected
5.8 affected
< 5.8 unaffected
5.15.209≤ 5.15.* unaffected
5.19.8≤ 5.19.* unaffected
6.0≤ * unaffected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2022-49961 基础信息

漏洞信息

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

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

Vulnerability Title
bpf: Do mark_chain_precision for ARG_CONST_ALLOC_SIZE_OR_ZERO
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Do mark_chain_precision for ARG_CONST_ALLOC_SIZE_OR_ZERO Precision markers need to be propagated whenever we have an ARG_CONST_* style argument, as the verifier cannot consider imprecise scalars to be equivalent for the purposes of states_equal check when such arguments refine the return value (in this case, set mem_size for PTR_TO_MEM). The resultant mem_size for the R0 is derived from the constant value, and if the verifier incorrectly prunes states considering them equivalent where such arguments exist (by seeing that both registers have reg->precise as false in regsafe), we can end up with invalid programs passing the verifier which can do access beyond what should have been the correct mem_size in that explored state. To show a concrete example of the problem: 0000000000000000 <prog>: 0: r2 = *(u32 *)(r1 + 80) 1: r1 = *(u32 *)(r1 + 76) 2: r3 = r1 3: r3 += 4 4: if r3 > r2 goto +18 <LBB5_5> 5: w2 = 0 6: *(u32 *)(r1 + 0) = r2 7: r1 = *(u32 *)(r1 + 0) 8: r2 = 1 9: if w1 == 0 goto +1 <LBB5_3> 10: r2 = -1 0000000000000058 <LBB5_3>: 11: r1 = 0 ll 13: r3 = 0 14: call bpf_ringbuf_reserve 15: if r0 == 0 goto +7 <LBB5_5> 16: r1 = r0 17: r1 += 16777215 18: w2 = 0 19: *(u8 *)(r1 + 0) = r2 20: r1 = r0 21: r2 = 0 22: call bpf_ringbuf_submit 00000000000000b8 <LBB5_5>: 23: w0 = 0 24: exit For the first case, the single line execution's exploration will prune the search at insn 14 for the branch insn 9's second leg as it will be verified first using r2 = -1 (UINT_MAX), while as w1 at insn 9 will always be 0 so at runtime we don't get error for being greater than UINT_MAX/4 from bpf_ringbuf_reserve. The verifier during regsafe just sees reg->precise as false for both r2 registers in both states, hence considers them equal for purposes of states_equal. If we propagated precise markers using the backtracking support, we would use the precise marking to then ensure that old r2 (UINT_MAX) was within the new r2 (1) and this would never be true, so the verification would rightfully fail. The end result is that the out of bounds access at instruction 19 would be permitted without this fix. Note that reg->precise is always set to true when user does not have CAP_BPF (or when subprog count is greater than 1 (i.e. use of any static or global functions)), hence this is only a problem when precision marks need to be explicitly propagated (i.e. privileged users with CAP_BPF). A simplified test case has been included in the next patch to prevent future regressions.
来源: 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未标记ARG_CONST_ALLOC_SIZE_OR_ZERO精度,可能导致状态错误。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux 457f44363a8894135c85b7a9afd2bd8196db24ab ~ 987b4c465ba28c662ca857be6c20fd2d96bc55f0 -
Linux Linux 5.8 -

二、漏洞 CVE-2022-49961 的公开POC

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

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2022-49961 的情报信息

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

CVE-2022-49961 补丁与修复 (1)

同批安全公告 · Linux · 2025-06-18 · 共 362 条

CVE-2025-38075 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-50098 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-38052 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-49934 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-50164 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-38016 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-38074 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-49974 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-49968 8.0 HIGH Linux kernel 安全漏洞
CVE-2022-49944 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-49952 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-50028 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-49939 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-49935 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-38082 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-50182 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-38080 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-38060 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-38062 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-50101 7.8 HIGH Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2022-49961

暂无评论


发表评论