MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-102957

PWM capture syscall leaves callback armed on a dead kernel stack frame when called with K_NO_WAIT

Not on CISA KEV
  • Overview

Summary

z_impl_pwm_capture_cycles() in drivers/pwm/pwm_capture.c stores its capture context (struct z_pwm_capture_cb_data, including a struct k_sem) on its own stack and registers a pointer to it as the driver capture callback's user_data. When called with a K_NO_WAIT timeout, k_sem_take() returns -EBUSY,

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)