CVE-2026-102957
Patch-Priorität
RegulärMit dem nächsten regulären Update beheben.
- CVSS
- 7,7
- Schweregrad
- 7,7
- EPSS
- 0,2 %
- Perzentil
- 9
- Aktiv ausgenutzt
- nicht bekannt
Die Ampel kombiniert CVSS (Schwere), EPSS (Ausnutzungswahrscheinlichkeit, FIRST) und den KEV-Katalog der CISA. Sie ersetzt keine eigene Bewertung. Mehr dazu im Glossar
Was muss ich tun?
in einfachen WortenWen betrifft das?
Das betroffene Produkt ist noch nicht genauer angegeben – die Beschreibung unten nennt es meist.
Wie gefährlich ist das?
- Ein Angreifer braucht schon Zugriff auf das Gerät (oder bringt dich dazu, eine Datei zu öffnen).
- Der Angreifer muss bereits angemeldet sein – das senkt das Risiko.
Was tun?
- Beim nächsten regulären Update mitnehmen.
- Die Hinweise des Herstellers (unten verlinkt) nennen die korrigierte Version.
Automatisch aus CVSS-Vektor, KEV und EPSS erstellt – ersetzt nicht die Angaben des Herstellers. Begriffe erklärt
Beschreibung
NVDz_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, 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. pwm_capture_cycles() is a system call, and z_vrfy_pwm_capture_cycles() passes the caller's timeout through unchanged. With CONFIG_USERSPACE and CONFIG_PWM_CAPTURE enabled, an unprivileged user-mode thread that has been granted access to a capture-capable PWM device can pass K_NO_WAIT 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 z_pwm_capture_cycles_callback() with the dangling pointer. The callback writes into the expired kernel stack region and calls k_sem_give() on whatever memory now occupies it, which can corrupt live kernel stack frames and make the scheduler walk a forged wait queue. The result is kernel memory corruption from interrupt context, leading at least to a crash and possibly to privilege escalation out of the userspace sandbox. The fix rejects K_NO_WAIT with -EINVAL before any capture is configured.
- Veröffentlicht
- 25.11.2026
- Geändert
- 25.11.2026
- CWE
- CWE-825
- Status
- Awaiting Analysis
CVSS v3.1 · CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:H
Updates der Hersteller
0Hier ist noch kein Hersteller-Update zu dieser CVE erfasst. Prüfen Sie die Referenz des Herstellers.
Quellen: NVD (NIST), CISA KEV, EPSS (FIRST.org), Hersteller und Behörden. Angaben ohne Gewähr.