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

目标: 1000 元 · 已筹: 1336

100%

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

AI 预测 5.5 利用难度: 困难 EPSS 0.13% · P3

影响版本矩阵 10

厂商产品版本范围状态
LinuxLinux08a7ce384e33e53e0732c500a8af67a73f8fceca< 3392fa605d7c5708c5fbe02e4fbdac547c3b7352affected
08a7ce384e33e53e0732c500a8af67a73f8fceca< b0027500000dfcb8ee952557d565064cea22c43eaffected
08a7ce384e33e53e0732c500a8af67a73f8fceca< c1d398a3af7e59d7fef351c84fed7ebb575d1f1aaffected
08a7ce384e33e53e0732c500a8af67a73f8fceca< 8eef6ac4d70eb1f0099fff93321d90ce8fa49ee1affected
6.4affected
< 6.4unaffected
6.6.76≤ 6.6.*unaffected
6.12.13≤ 6.12.*unaffected
… +2 条更多
获取后续新漏洞提醒登录后订阅

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

漏洞信息

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

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

Vulnerability Title
bpf: bpf_local_storage: Always use bpf_mem_alloc in PREEMPT_RT
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: bpf: bpf_local_storage: Always use bpf_mem_alloc in PREEMPT_RT In PREEMPT_RT, kmalloc(GFP_ATOMIC) is still not safe in non preemptible context. bpf_mem_alloc must be used in PREEMPT_RT. This patch is to enforce bpf_mem_alloc in the bpf_local_storage when CONFIG_PREEMPT_RT is enabled. [ 35.118559] BUG: sleeping function called from invalid context at kernel/locking/spinlock_rt.c:48 [ 35.118566] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 1832, name: test_progs [ 35.118569] preempt_count: 1, expected: 0 [ 35.118571] RCU nest depth: 1, expected: 1 [ 35.118577] INFO: lockdep is turned off. ... [ 35.118647] __might_resched+0x433/0x5b0 [ 35.118677] rt_spin_lock+0xc3/0x290 [ 35.118700] ___slab_alloc+0x72/0xc40 [ 35.118723] __kmalloc_noprof+0x13f/0x4e0 [ 35.118732] bpf_map_kzalloc+0xe5/0x220 [ 35.118740] bpf_selem_alloc+0x1d2/0x7b0 [ 35.118755] bpf_local_storage_update+0x2fa/0x8b0 [ 35.118784] bpf_sk_storage_get_tracing+0x15a/0x1d0 [ 35.118791] bpf_prog_9a118d86fca78ebb_trace_inet_sock_set_state+0x44/0x66 [ 35.118795] bpf_trace_run3+0x222/0x400 [ 35.118820] __bpf_trace_inet_sock_set_state+0x11/0x20 [ 35.118824] trace_inet_sock_set_state+0x112/0x130 [ 35.118830] inet_sk_state_store+0x41/0x90 [ 35.118836] tcp_set_state+0x3b3/0x640 There is no need to adjust the gfp_flags passing to the bpf_mem_cache_alloc_flags() which only honors the GFP_KERNEL. The verifier has ensured GFP_KERNEL is passed only in sleepable context. It has been an old issue since the first introduction of the bpf_local_storage ~5 years ago, so this patch targets the bpf-next. bpf_mem_alloc is needed to solve it, so the Fixes tag is set to the commit when bpf_mem_alloc was first used in the bpf_local_storage.
来源: 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存在安全漏洞,该漏洞源于在PREEMPT_RT环境中未使用bpf_mem_alloc,可能导致内存分配失败。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商产品影响版本CPE订阅
LinuxLinux 08a7ce384e33e53e0732c500a8af67a73f8fceca ~ 3392fa605d7c5708c5fbe02e4fbdac547c3b7352 -
LinuxLinux 6.4 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

CVE-2024-58070 补丁与修复 (4)

同批安全公告 · Linux · 2025-03-06 · 共 46 条

CVE-2024-58063Linux kernel 安全漏洞
CVE-2024-58060Linux kernel 资源管理错误漏洞
CVE-2024-58058Linux kernel 安全漏洞
CVE-2024-58055Linux kernel 安全漏洞
CVE-2024-58053Linux kernel 安全漏洞
CVE-2024-58054Linux kernel 安全漏洞
CVE-2024-58052Linux kernel 安全漏洞
CVE-2024-58051Linux kernel 安全漏洞
CVE-2024-58056Linux kernel 安全漏洞
CVE-2024-58062Linux kernel 安全漏洞
CVE-2024-58061Linux kernel 安全漏洞
CVE-2024-58064Linux kernel 安全漏洞
CVE-2024-58065Linux kernel 安全漏洞
CVE-2024-58066Linux kernel 安全漏洞
CVE-2024-58067Linux kernel 安全漏洞
CVE-2024-58069Linux kernel 安全漏洞
CVE-2024-58068Linux kernel 安全漏洞
CVE-2024-58071Linux kernel 安全漏洞
CVE-2024-58072Linux kernel 安全漏洞
CVE-2024-58073Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-58070

暂无评论


发表评论