CVE-2026-19809
Kernel stack information disclosure in the charger_get_prop() system call handler
Mitigation
- Upgrade zephyr to 4.5.0 or later.
Who should check
- Anyone running zephyrproject zephyr >= 3.5.0, < 4.3.2; >= 4.4.0, < 4.5.0
Vulnerability facts
- Affected
- zephyrproject zephyr >= 3.5.0, < 4.3.2; >= 4.4.0, < 4.5.0
- Fixed in
- zephyrproject zephyr 4.3.2, zephyrproject zephyr 4.5.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 3.3 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.15% chance of exploitation in 30 days (percentile 2, 2026-11-26)
- CWE
- CWE-252, CWE-908
- Modified
Description
The user-mode system call verifier z_vrfy_charger_get_prop() in drivers/charger/charger_handlers.c declares an uninitialized union charger_propval k_val on the kernel (privileged) stack, passes it to the charger driver back end via z_impl_charger_get_prop(), and then copies the full sizeof(union charger_propval) back into the calling user thread's buffer with k_usermode_to_copy(). That discloses kernel stack contents on two paths: On error. The copy-out ignores the driver's return code. In-tree back ends return an error without writing through the value pointer for properties they do not implement: charger_gpio_get_prop() returns -ENOTSUP unconditionally, and bq24190_get_prop() has a default: return -ENOTSUP; arm that never touches val. The whole union is then stack residue. On success. A back end writes only the one union member the requested property selects (for example sbs_charger.c writes the one-byte val->present for CHARGER_PROP_PRESENT and returns 0), yet the handler still copies the whole union, so every byte beyond that member is uninitialized. The handler is compiled only when CONFIG_USERSPACE=y and is reachable by any user-mode thread that has been granted access to a charger device object. K_SYSCALL_DRIVER_CHARGER() validates only the device object and its API pointer, not the property identifier, so an unprivileged thread can choose prop freely: an unimplemented property forces the error path, a narrow one the success path, and the call can be repeated at will. Each call discloses up to the size of the union (12 bytes on a 32-bit target, 16 bytes on 64-bit targets where the function-pointer members widen it) of supervisor-stack memory. The bytes are residue of earlier kernel-side frames on the thread's privileged stack and can contain kernel object addresses and saved return addresses, which an unprivileged thread cannot otherwise observe and which help defeat address-layout assumptions when exploiting a separate memory-safety defect. There is no integrity or availability impact. Two commits fix it, and both are needed. 5054384e983c skips the copy-out when the back end reports an error. c31cac727d02 zeroes the union before the driver call, so the bytes copied out on success are driver-written data or zeros. A tree carrying only the first still leaks on every successful call.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| zephyrproject zephyr | >= 3.5.0, < 4.3.2; >= 4.4.0, < 4.5.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-19809. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-19809.md Affected: zephyrproject zephyr >= 3.5.0, < 4.3.2; >= 4.4.0, < 4.5.0 Fixed in: zephyrproject zephyr 4.3.2, zephyrproject zephyr 4.5.0 Steps: 1. Search this machine and project for zephyrproject zephyr: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Vendor advisories
FAQ
Is CVE-2026-19809 being exploited?
There is no confirmed exploitation: CVE-2026-19809 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.15% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-19809?
Low: CVSS 3.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-19809?
zephyrproject zephyr >= 3.5.0, < 4.3.2; >= 4.4.0, < 4.5.0.
Is there a fix for CVE-2026-19809?
Yes. Fixed in zephyrproject zephyr 4.3.2, zephyrproject zephyr 4.5.0. Upgrade zephyr to 4.5.0 or later.
How do I check if I'm affected by CVE-2026-19809?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Zephyr RTOS vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 6.5 | CVE-2026-102963 Use-after-return in getaddrinfo() when a DNS query that followed a CNAME cannot be cancelled | Linux kernel+1 | ||
| LOW 2.8 | CVE-2026-104928 Kernel object validation bypass in k_thread_stack_space_get syscall verifier with CONFIG_NO_RUNTIME_CHECKS | Zephyr RTOS | ||
| MEDIUM 4.2 | CVE-2026-102962 MCUmgr SMP client accepts responses from any transport, allowing spoofed command results | Zephyr RTOS | ||
| MEDIUM 4.6 | CVE-2026-90592 Out-of-bounds read in it51xxx I2C target FIFO ISR on oversized read transaction | Zephyr RTOS | EPSS 10% | |
| MEDIUM 6.8 | CVE-2026-102960 Stack buffer overflow in Grow R502-A fingerprint sensor driver UART RX handler | Zephyr RTOS | EPSS 21% |