Memory Corruption Vulnerability in PWM Driver by Zephyr Project
CVE-2026-102957
7.7HIGH
What is CVE-2026-102957?
The z_impl_pwm_capture_cycles() function in the Zephyr Project's PWM driver can lead to memory corruption due to an unhandled case when called with a K_NO_WAIT timeout. This oversight allows unprivileged user-mode threads access to stale data from the kernel stack, which may result in kernel memory corruption and potential privilege escalation. When the capture completes, an interrupt service routine may inadvertently manipulate this uninitialized data, leading to instability in the kernel's operation. The upcoming patch addresses this issue by rejecting K_NO_WAIT configurations to prevent the defect from affecting system integrity.
Affected Version(s)
zephyr 2.5.0 < 4.3.2
zephyr 4.4.0 < 4.5.0
