{"schema":"vulnpedia.research/1","cve":"CVE-2026-105415","references":[{"url":"https://github.com/zephyrproject-rtos/zephyr/commit/4e42cd021b1b41e4d80cf56839432adb8360fe88","tags":["patch"],"source":"mitre","sourceId":"zephyr","modified":"2026-11-29T20:56:53.074Z","origins":[{"source":"mitre","sourceId":"zephyr","modified":"2026-11-29T20:56:53.074Z","tags":["patch"],"url":"https://github.com/zephyrproject-rtos/zephyr/commit/4e42cd021b1b41e4d80cf56839432adb8360fe88"},{"source":"nvd","sourceId":"CVE-2026-105415","modified":"2026-11-29T21:17:01.990","url":"https://github.com/zephyrproject-rtos/zephyr/commit/4e42cd021b1b41e4d80cf56839432adb8360fe88"}]},{"url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-wjc6-4j74-9wrh","source":"mitre","sourceId":"zephyr","modified":"2026-11-29T20:56:53.074Z","origins":[{"source":"mitre","sourceId":"zephyr","modified":"2026-11-29T20:56:53.074Z","url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-wjc6-4j74-9wrh"},{"source":"nvd","sourceId":"CVE-2026-105415","modified":"2026-11-29T21:17:01.990","url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-wjc6-4j74-9wrh"}],"tags":[]},{"source":"euvd","sourceId":"EUVD-2026-137836","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-137836","tags":["ADVISORY"],"origins":[{"source":"euvd","sourceId":"EUVD-2026-137836","tags":["ADVISORY"],"url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-137836"}]}],"packages":[],"pocCandidates":[],"cataloguedPoc":[],"vendorStatements":[],"sourceTimes":{"cisa-kev":"2026-12-02T08:07:57.787Z","exploitdb":"2026-12-02T08:07:57.787Z","epss":"2026-12-02T08:07:57.787Z","nuclei":"2026-12-02T08:07:57.787Z","osv-PyPI":"2026-12-02T08:08:28.417Z","osv-npm":"2026-12-02T08:09:06.481Z","osv-Maven":"2026-12-02T08:08:33.548Z","osv-Go":"2026-12-02T08:08:37.108Z","osv-crates_io":"2026-12-02T08:08:38.459Z","osv-RubyGems":"2026-12-02T08:08:39.853Z","osv-Packagist":"2026-12-02T08:08:43.257Z","osv-NuGet":"2026-12-02T08:08:44.799Z","osv-Pub":"2026-12-02T08:08:45.082Z","osv-SwiftURL":"2026-12-02T08:08:45.246Z","osv-GitHub_Actions":"2026-12-02T08:08:45.404Z","osv-_EMPTY_":"2026-12-02T08:08:50.503Z","poc-in-github":"2026-12-02T08:08:55.031Z","metasploit":"2026-12-02T08:08:56.892Z","redhat-vex":"2026-12-02T08:13:29.952Z","euvd":"2026-12-02T08:08:22.901Z","vulncheck-kev":"2026-12-02T08:08:21.627Z","zdi":"2026-12-02T08:08:18.922Z","oss-security":"2026-12-02T08:08:18.922Z","full-disclosure":"2026-12-02T08:08:18.922Z","cert-cc":"2026-12-02T08:08:18.922Z","watchtowr":"2026-12-02T08:08:18.922Z","lexfo":"2026-12-02T08:08:18.922Z","google-security-research":"2026-12-02T08:08:18.922Z","vulncheck-initial-access":"2026-12-02T08:08:18.922Z","fkie-nvd-2026":"2026-12-02T08:08:02.020Z","fkie-nvd-2025":"2026-12-02T08:08:13.945Z","ghsa":"2026-12-02T08:08:28.417Z","pysec":"2026-12-02T08:08:28.417Z","go":"2026-12-02T08:08:28.417Z","rustsec":"2026-12-02T08:08:28.417Z","primary":"2026-11-29T20:56:53.074Z","nvd":"2026-11-29T21:17:01.990"},"sourceFields":{"schema":"vulnpedia.source-fields/1","primary":{"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.\n\npwm_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.\n\nThe 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().","published":"2026-11-29","cwe":[{"id":"CWE-787","name":"bounds"}],"labels":{"vendors":["zephyrproject"],"products":["zephyr"]},"ssvc":null},"nvd":{"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.\n\npwm_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.\n\nThe 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().","published":"2026-11-29","cwe":[{"id":"CWE-787","name":"Out-of-bounds write"}],"labels":{"vendors":[],"products":[]},"ssvc":null}},"labels":{"vendors":["zephyrproject"],"products":["zephyr"]},"evidence":{"version":"2026-12-02T08:13:57.184Z#6fef8a1abd350a706d651ed4fb57466c94df0cd31277df6b9826307978588181","checkedAt":"2026-12-02T08:13:57.184Z","changedAt":"2026-12-01T08:12:50.035Z","pocChangedAt":null}}