CVE-2026-105415
Last modified
CVE-2026-105415 is a high-severity vulnerability rated 7/10 on the CVSS scale. 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.
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().
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| zephyrproject | zephyr | >= 4.4.0, < 4.5.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-105415?
How severe is CVE-2026-105415?
How do I fix CVE-2026-105415?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-105408A Stored Cross-site Scripting (XSS) vulnerability affecting …8.7
- CVE-2026-105409A Stored Cross-site Scripting (XSS) vulnerability affecting …8.7
- CVE-2026-105410A Stored Cross-site Scripting (XSS) vulnerability affecting …8.7
- CVE-2026-105411An Authorization Bypass Through User-Controlled Key vulnerab…8.1
- CVE-2026-105412An SQL Injection vulnerability affecting Tuleap Enterprise E…7.1
- CVE-2026-105413The Form Maker by 10Web WordPress plugin before 1.15.51 doe…7.5
- CVE-2026-10542Mattermost versions 11.9.x <= 11.9.0, 11.8.x <= 11.8.4, 11.7…4.3
- CVE-2026-105420Wing FTP Server does not verify user's base folder. An attac…9.4
- CVE-2026-105421Missing Authorization vulnerability in Kit Kit (formerly Con…5.3
- CVE-2026-105422Improper Limitation of a Pathname to a Restricted Directory …6.6
- CVE-2026-105425OS command injection in Ivanti Sentry before versions 11.0.0…7.2
- CVE-2026-105426Improper input validation in Ivanti EPMM before version 12.1…6.7
Are you affected by CVE-2026-105415?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
