zimplpwmcapturecycles() in drivers/pwm/pwmcapture.c stores its capture context (struct zpwmcapturecbdata, including a struct ksem) on its…
CVE-2026-102957
zimplpwmcapturecycles() in drivers/pwm/pwmcapture.c stores its capture context (struct zpwmcapturecbdata, including a struct ksem) on its own stack and registers a pointer to it as the driver capture callback's userdata. When called with a KNOWAIT timeout, ksemtake() returns -EBUSY, which the function did not handle: it fell through, returned the uninitialized status field, copied uninitialized period/pulse values to the caller when that status happened to be zero, and returned without disabling the capture or clearing the callback. pwmcapturecycles() is a system call, and zvrfypwmcapturecycles() passes the caller's timeout through unchanged. With CONFIGUSERSPACE and CONFIGPWMCAPTURE enabled, an unprivileged user-mode thread that has been granted access to a capture-capable PWM device can pass KNOWAIT to trigger the defect. Without userspace the function is only reachable from trusted application code. The uninitialized values come from the thread's privileged (kernel) stack, so a user-mode caller can read up to 8 bytes of stale kernel stack memory per call. More seriously, when the capture later completes, the driver ISR invokes zpwmcapturecyclescallback() with the dangling…
Assessment
- CVSS
- 7.7 (v3.1)
- Severity
- High
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 25 November 2026
- Last updated
- 25 November 2026
- Affected
- zephyrproject · Zephyr
- Assigner
- zephyr
CVSS vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:H
At the source
References
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-102957