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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-105415— ESP32 MCPWM驱动越界写漏洞

一分钟漏洞结论

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

这段漏洞描述可译为: Espressif 的 MCPWM PWM 驱动( )在 中,将调用者提供的 用作索引来访问按通道配置的静态数组 ,但没有任何边界检查;已有的 判断永远不可能失败。随后,驱动会通过越界的数组元素写入 、 和 ,并使用越界的 、 、 值去索引 MCPWM 硬件寄存器。 是一个系统调用, 和 都不会对通道进行验证。在启用 的 Espressif RISC‑V SoC(带 PMP;ESP32‑C6,后续代码中也包括 ESP32‑C5)上,一个已被授予 MCPWM 设备访问权限的非特权用户态线程,可以

CVSS 7.0 · High
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-105415 基础信息

漏洞信息

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

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

Vulnerability Title
Out-of-bounds write via unchecked channel index in ESP32 MCPWM PWM driver set_cycles syscall
来源: CVE Program / CVE List V5
Vulnerability Description
The Espressif MCPWM PWM driver (drivers/pwm/pwm_mc_esp32.c) indexed its per-channel configuration array config->channel_config[] with the caller-supplied channel_idx in mcpwm_esp32_set_cycles() without any bounds check; the existing if (!channel) test can never fail. The driver then wrote channel->freq, channel->duty and channel->inverted through the out-of-bounds element and used out-of-bounds timer_id/operator_id/generator_id values to index MCPWM hardware registers. pwm_set_cycles() is a system call, and neither z_vrfy_pwm_set_cycles() nor z_impl_pwm_set_cycles() validates the channel. With CONFIG_USERSPACE enabled on an Espressif RISC-V SoC with PMP (ESP32-C6, and ESP32-C5 in later code), an unprivileged user-mode thread that has been granted access to the MCPWM device can pass an arbitrary channel number and cause the kernel-mode driver to write outside the array. The configuration object is a writable static in kernel RAM, so this gives a user thread a partially controlled kernel memory write (and stray peripheral register writes), which can crash the system and may be leveraged for privilege escalation. Builds without CONFIG_USERSPACE are not affected in a security sense, since only trusted code can call the driver. The fix adds a channel bounds check to mcpwm_esp32_set_cycles().
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
zephyrproject zephyr 4.4.0 ~ 4.5.0 -

二、漏洞 CVE-2026-105415 的公开POC

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

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-105415 的情报信息

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

CVE-2026-105415 其他参考 (2)

同批安全公告 · zephyrproject · 2026-11-29 · 共 10 条

CVE-2026-104378 8.8 HIGH DesignWare I3C驱动 越界写漏洞
CVE-2026-130477 8.8 HIGH 内核线程/栈对象提前释放(释放后使用)
CVE-2026-104376 7.7 HIGH Zephyr内核对象核心释放后写漏洞
CVE-2026-104929 6.5 MEDIUM STM32WBA HCI 远程蓝牙接收活锁
CVE-2026-95821 6.5 MEDIUM SOCKS5握手失败栈悬挂回调漏洞
CVE-2026-102961 5.9 MEDIUM Zephyr IPv6/IPv4/6LoWPAN UAF
CVE-2026-104930 5.9 MEDIUM STM32 HAL v2以太网RX丢帧后卡死
CVE-2026-104379 5.9 MEDIUM Zephyr IPv6 释放后使用漏洞
CVE-2026-104377 3.7 LOW Zephyr TFTP客户端越界读漏洞

IV. Related Vulnerabilities