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

目标: 1000 元 · 已筹: 1359 元

100%

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

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于对非活动事件执行停止或启动操作时未正确处理事件状态,可能导致未定义行为。

CVSS 7.8 · High EPSS 0.16% · P5

影响版本矩阵 6

厂商产品 版本范围状态
Linux Linux 9734e25fbf5ae68eb04234b2cd14a4b36ab89141< d689135aa9c5e4e0eab5a92bbe35dab0c8d6677f affected
9734e25fbf5ae68eb04234b2cd14a4b36ab89141< b64fdd422a85025b5e91ead794db9d3ef970e369 affected
6.16 affected
< 6.16 unaffected
6.16.5≤ 6.16.* unaffected
6.17≤ * unaffected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
perf: Avoid undefined behavior from stopping/starting inactive events
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: perf: Avoid undefined behavior from stopping/starting inactive events Calling pmu->start()/stop() on perf events in PERF_EVENT_STATE_OFF can leave event->hw.idx at -1. When PMU drivers later attempt to use this negative index as a shift exponent in bitwise operations, it leads to UBSAN shift-out-of-bounds reports. The issue is a logical flaw in how event groups handle throttling when some members are intentionally disabled. Based on the analysis and the reproducer provided by Mark Rutland (this issue on both arm64 and x86-64). The scenario unfolds as follows: 1. A group leader event is configured with a very aggressive sampling period (e.g., sample_period = 1). This causes frequent interrupts and triggers the throttling mechanism. 2. A child event in the same group is created in a disabled state (.disabled = 1). This event remains in PERF_EVENT_STATE_OFF. Since it hasn't been scheduled onto the PMU, its event->hw.idx remains initialized at -1. 3. When throttling occurs, perf_event_throttle_group() and later perf_event_unthrottle_group() iterate through all siblings, including the disabled child event. 4. perf_event_throttle()/unthrottle() are called on this inactive child event, which then call event->pmu->start()/stop(). 5. The PMU driver receives the event with hw.idx == -1 and attempts to use it as a shift exponent. e.g., in macros like PMCNTENSET(idx), leading to the UBSAN report. The throttling mechanism attempts to start/stop events that are not actively scheduled on the hardware. Move the state check into perf_event_throttle()/perf_event_unthrottle() so that inactive events are skipped entirely. This ensures only active events with a valid hw.idx are processed, preventing undefined behavior and silencing UBSAN warnings. The corrected check ensures true before proceeding with PMU operations. The problem can be reproduced with the syzkaller reproducer:
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
来源: 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存在安全漏洞,该漏洞源于对非活动事件执行停止或启动操作时未正确处理事件状态,可能导致未定义行为。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux 9734e25fbf5ae68eb04234b2cd14a4b36ab89141 ~ d689135aa9c5e4e0eab5a92bbe35dab0c8d6677f -
Linux Linux 6.16 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

同批安全公告 · Linux · 2025-09-16 · 共 115 条

CVE-2022-50350 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-39806 8.8 HIGH Linux kernel 安全漏洞
CVE-2023-53305 8.8 HIGH Linux kernel 安全漏洞
CVE-2023-53297 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-39827 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-39826 8.8 HIGH Linux kernel 安全漏洞
CVE-2023-53315 8.8 HIGH Linux kernel 安全漏洞
CVE-2023-53322 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-39809 8.4 HIGH Linux kernel 安全漏洞
CVE-2023-53333 8.2 HIGH Linux kernel 安全漏洞
CVE-2022-50341 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-39810 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-53311 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-53314 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-53286 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-39815 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-39818 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-53274 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-39836 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-39825 7.8 HIGH Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2025-39821

暂无评论


发表评论