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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2025-40122— Linux kernel 安全漏洞

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于MSR访问错误,可能导致寄存器写入失败。

AI 预测 5.5 利用难度: 较易 EPSS 0.20% · P9

影响版本矩阵 6

厂商产品 版本范围状态
Linux Linux ec980e4facef8110f6fce27e5b6344660117f01f< c6cca4213b618c92e4972919ee568f0fb87313b1 affected
ec980e4facef8110f6fce27e5b6344660117f01f< 43796f30507802d93ead2dc44fc9637f34671a89 affected
6.16 affected
< 6.16 unaffected
6.17.3≤ 6.17.* unaffected
6.18≤ * unaffected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2025-40122 基础信息

漏洞信息

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

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

Vulnerability Title
perf/x86/intel: Fix IA32_PMC_x_CFG_B MSRs access error
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: perf/x86/intel: Fix IA32_PMC_x_CFG_B MSRs access error When running perf_fuzzer on PTL, sometimes the below "unchecked MSR access error" is seen when accessing IA32_PMC_x_CFG_B MSRs. [ 55.611268] unchecked MSR access error: WRMSR to 0x1986 (tried to write 0x0000000200000001) at rIP: 0xffffffffac564b28 (native_write_msr+0x8/0x30) [ 55.611280] Call Trace: [ 55.611282] <TASK> [ 55.611284] ? intel_pmu_config_acr+0x87/0x160 [ 55.611289] intel_pmu_enable_acr+0x6d/0x80 [ 55.611291] intel_pmu_enable_event+0xce/0x460 [ 55.611293] x86_pmu_start+0x78/0xb0 [ 55.611297] x86_pmu_enable+0x218/0x3a0 [ 55.611300] ? x86_pmu_enable+0x121/0x3a0 [ 55.611302] perf_pmu_enable+0x40/0x50 [ 55.611307] ctx_resched+0x19d/0x220 [ 55.611309] __perf_install_in_context+0x284/0x2f0 [ 55.611311] ? __pfx_remote_function+0x10/0x10 [ 55.611314] remote_function+0x52/0x70 [ 55.611317] ? __pfx_remote_function+0x10/0x10 [ 55.611319] generic_exec_single+0x84/0x150 [ 55.611323] smp_call_function_single+0xc5/0x1a0 [ 55.611326] ? __pfx_remote_function+0x10/0x10 [ 55.611329] perf_install_in_context+0xd1/0x1e0 [ 55.611331] ? __pfx___perf_install_in_context+0x10/0x10 [ 55.611333] __do_sys_perf_event_open+0xa76/0x1040 [ 55.611336] __x64_sys_perf_event_open+0x26/0x30 [ 55.611337] x64_sys_call+0x1d8e/0x20c0 [ 55.611339] do_syscall_64+0x4f/0x120 [ 55.611343] entry_SYSCALL_64_after_hwframe+0x76/0x7e On PTL, GP counter 0 and 1 doesn't support auto counter reload feature, thus it would trigger a #GP when trying to write 1 on bit 0 of CFG_B MSR which requires to enable auto counter reload on GP counter 0. The root cause of causing this issue is the check for auto counter reload (ACR) counter mask from user space is incorrect in intel_pmu_acr_late_setup() helper. It leads to an invalid ACR counter mask from user space could be set into hw.config1 and then written into CFG_B MSRs and trigger the MSR access warning. e.g., User may create a perf event with ACR counter mask (config2=0xcb), and there is only 1 event created, so "cpuc->n_events" is 1. The correct check condition should be "i + idx >= cpuc->n_events" instead of "i + idx > cpuc->n_events" (it looks a typo). Otherwise, the counter mask would traverse twice and an invalid "cpuc->assign[1]" bit (bit 0) is set into hw.config1 and cause MSR accessing error. Besides, also check if the ACR counter mask corresponding events are ACR events. If not, filter out these counter mask. If a event is not a ACR event, it could be scheduled to an HW counter which doesn't support ACR. It's invalid to add their counter index in ACR counter mask. Furthermore, remove the WARN_ON_ONCE() since it's easily triggered as user could set any invalid ACR counter mask and the warning message could mislead users.
来源: 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存在安全漏洞,该漏洞源于MSR访问错误,可能导致寄存器写入失败。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux ec980e4facef8110f6fce27e5b6344660117f01f ~ c6cca4213b618c92e4972919ee568f0fb87313b1 -
Linux Linux 6.16 -

二、漏洞 CVE-2025-40122 的公开POC

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

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2025-40122 的情报信息

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

同批安全公告 · Linux · 2025-11-12 · 共 96 条

CVE-2025-40176 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-40140 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-40133 8.1 HIGH Linux kernel 安全漏洞
CVE-2025-40186 8.1 HIGH Linux kernel 安全漏洞
CVE-2025-40158 8.1 HIGH Linux kernel 安全漏洞
CVE-2025-40204 8.1 HIGH Linux kernel 安全漏洞
CVE-2025-40135 8.1 HIGH Linux kernel 安全漏洞
CVE-2025-40168 8.1 HIGH Linux kernel 安全漏洞
CVE-2025-40141 8.0 HIGH Linux kernel 安全漏洞
CVE-2025-40166 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-40159 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-40173 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-40167 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-40170 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-40172 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-40149 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-40174 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-40139 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-40190 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-40151 7.8 HIGH Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2025-40122

暂无评论


发表评论