bpf:避免 pskb_pull_reason 中的 splat(CVE-2024-40996)

admin 2024-07-15 16:08:52 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
bpf:避免 pskb_pull_reason 中的 splat(CVE-2024-40996)

CVE编号

CVE-2024-40996

利用情况

暂无

补丁情况

N/A

披露时间

2024-07-12
漏洞描述
In the Linux kernel, the following vulnerability has been resolved: bpf: Avoid splat in pskb_pull_reason syzkaller builds (CONFIG_DEBUG_NET=y) frequently trigger a debug hint in pskb_may_pull. We'd like to retain this debug check because it might hint at integer overflows and other issues (kernel code should pull headers, not huge value). In bpf case, this splat isn't interesting at all: such (nonsensical) bpf programs are typically generated by a fuzzer anyway. Do what Eric suggested and suppress such warning. For CONFIG_DEBUG_NET=n we don't need the extra check because pskb_may_pull will do the right thing: return an error without the WARN() backtrace.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://git.kernel.org/stable/c/2bbe3e5a2f4ef69d13be54f1cf895b4658287080
https://git.kernel.org/stable/c/5e90258303a358e88737afb5048bee9113beea3a
https://git.kernel.org/stable/c/7f9644782c559635bd676c12c59389a34ed7c866
https://git.kernel.org/stable/c/dacc15e9cb248d19e5fc63c54bef0b9b55007761
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
系统 debian_11 linux * Up to (excluding) 5.10.218-1
CVSS3评分 N/A
  • 攻击路径 N/A
  • 攻击复杂度 N/A
  • 权限要求 N/A
  • 影响范围 N/A
  • 用户交互 N/A
  • 可用性 N/A
  • 保密性 N/A
  • 完整性 N/A
N/A
CWE-ID 漏洞类型
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论:0   参与:  0