Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocal access as granted user-mode thread
-
DeliveryCall charger_set_prop with notifier property
-
ExploitInject arbitrary supervisor-mode function pointer
-
ExecutionCharger interrupt handler invokes pointer
-
ImpactKernel-privilege control-flow hijack
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Untrusted pointer prevention
|
| Exploitation Conditions | Exploitation requires CONFIG_USERSPACE to be enabled AND the attacking user-mode thread to have been granted the charger device object; supervisor-mode callers are unaffected. The affected system must run one of the drivers that implements the notifier properties - charger_max20335, charger_pf1550, or charger_bq2518x - and run an affected version (>=3.7.0,<4.3.2 or >=4.4.0,<4.5.0). The injected pointer only executes when the driver's interrupt work handler runs in supervisor mode on a charger state change such as a cable plug/unplug, so the escalation is gated on such an event occurring. Limiting factors: this is local-only (no network reach), needs an explicit device-object grant, applies only to those charger drivers, and is not present on builds without CONFIG_USERSPACE - so default or non-charger Zephyr configurations are not exposed. |
| Impact | This is a genuine local privilege-escalation primitive, not a high-CVSS-but-low-impact issue, but its real-world reach is gated by non-default preconditions. The CVSS vector (AV:L/AC:L/PR:L/UI:N, C:H/I:H/A:H, CWE-822 untrusted pointer) correctly captures a low-privilege local thread achieving full compromise: an unprivileged user-mode thread injects an arbitrary function pointer that the kernel later calls in supervisor mode, defeating the exact isolation CONFIG_USERSPACE exists to provide. No EPSS score was supplied, so statistical exploitation probability cannot be weighed; the CVE is NOT on CISA KEV, so there is no public evidence of active exploitation. No public exploit identified at time of analysis - the only published artifacts are the fix commit (5467b7a) and the GHSA advisory, which are remediation references, not weaponized exploit code. The mechanism is fully documented in source (diff plus line-level evidence), so technical impact is confirmed rather than inferred. Against that, exploitation requires CONFIG_USERSPACE to be enabled, the attacker thread to have been granted a charger device object, one of three specific affected drivers (max20335, pf1550, bq2518x) to be in use, and a charger interrupt (e.g., cable plug/unplug) to fire the stored pointer - so this is a targeted embedded-device local-escalation issue, consistent with the vendor's this_week priority rather than an emergency. Note the vendor's published CVSS uses S:U (score 7.8); because the flaw crosses the user/kernel security authority, an S:C reading is defensible and would score higher (see assessed vector). |
| Exploit ScenarioDerived | An unprivileged user-mode thread that has been granted a charger device object calls charger_set_prop() with CHARGER_PROP_STATUS_NOTIFICATION (or CHARGER_PROP_ONLINE_NOTIFICATION) and an attacker-chosen pointer value; the pre-fix verifier forwards the union verbatim and the driver stores the pointer in device data. On the next charger state change such as a cable plug/unplug, the driver's interrupt work handler invokes that pointer in supervisor mode, hijacking kernel-privilege control flow. Given AV:L/AC:L/PR:L this needs only local low-privilege access to the device; no public exploit code is identified, only the patch and GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 12, 2026
The charger driver API syscall verifiers in Zephyr RTOS forwarded the caller-supplied union charger_propval to the driver without inspecting the prop tag, so a local low-privileged (PR:L) user-mode thread that has been granted a charger device object could submit an arbitrary function pointer through CHARGER_PROP_STATUS_NOTIFICATION or CHARGER_PROP_ONLINE_NOTIFICATION. Drivers MAX20335, PF1550 and BQ2518X store that pointer in device data and later call it from supervisor-mode interrupt work handlers on a charger state change such as a cable plug or unplug, giving control-flow hijack at kernel privilege and defeating the isolation CONFIG_USERSPACE is intended to provide; the mirror defect in the get path also leaked a kernel code address to user mode and let user mode clear a notifier installed by a supervisor thread. Exposure is limited to builds with CONFIG_USERSPACE enabled on affected versions (>=3.7.0,<4.3.2 and >=4.4.0,<4.5.0) that use one of those three charger drivers and where the attacker holds an explicit device-object grant; supervisor-mode callers are unaffected, and no public exploit code has been identified at time of analysis. Fixes are released in 4.3.2 and 4.5.0.
RemediationAI
Vendor-released patch: Zephyr 4.3.2 fixes the >=3.7.0,<4.3.2 range and Zephyr 4.5.0 fixes the >=4.4.0,<4.5.0 range; the upstream fix is commit 5467b7a73fe093d7e9562ee15c321cf8f1639d17 (PR #117932 on main, with merged backports #119988 on v4.4-branch, #119987 on v4.3-branch and #119989 on v3.7-branch), which makes both z_vrfy_charger_set_prop() and z_vrfy_charger_get_prop() reject CHARGER_PROP_STATUS_NOTIFICATION and CHARGER_PROP_ONLINE_NOTIFICATION before any user/kernel copy and adds a BUILD_ASSERT on CHARGER_PROP_COMMON_COUNT. Where upgrading immediately is not possible, exposure can be removed by not granting charger device objects to untrusted user-mode threads (the flaw requires that explicit K_SYSCALL_DRIVER_CHARGER permission, and supervisor-mode callers are unaffected) or by building without CONFIG_USERSPACE - the trade-off being loss of the memory-protection isolation that userspace provides for all user threads; excluding the MAX20335, PF1550 and BQ2518X charger drivers from the build also removes the store-then-call path at the cost of losing charger notifier functionality. Note the vendor advisory record carries an embargo date of 2026-11-12. Advisory: https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-jr35-f52j-fm88.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Zephyr's userspace syscall mechanism routes __syscall entry points such as charger_set_prop() and charger_get_prop() through z_vrfy_* verifier functions that must validate arguments and copy data across the user/kernel boundary (here via k_usermode_from_copy()) before dispatching to the driver callback. The verifier in drivers/charger/charger_handlers.c checked only the object type and permission (K_SYSCALL_DRIVER_CHARGER) and copied the entire union charger_propval verbatim regardless of which member the separate prop tag selected. Because the union declared in include/zephyr/drivers/charger.h carries two function-pointer members, status_notification and online_notification (introduced for charger status/online change notifiers), a user-supplied scalar was reinterpreted as a kernel callback address - the CWE-822 untrusted-pointer-dereference class. The pointer is stored into driver data by charger_max20335.c, charger_pf1550.c and charger_bq2518x.c and invoked later from their interrupt work handlers, which execute in supervisor mode. The read path had the same tag-blindness and returned the stored kernel function address to user memory (address disclosure). The upstream fix rejects both notifier properties in both verifiers before any copy - including a NULL callback, since the notifiers are device state rather than caller data - and adds BUILD_ASSERT(CHARGER_PROP_COMMON_COUNT == 16) so that any future property addition forces a re-review of the union's user-mode safety. A sibling property API, fuel_gauge, has integer-only propval members and therefore no analogous defect.
Know when Zephyr gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local low-privilege thread (AV:L/PR:L) injects a pointer the kernel calls, crossing the CONFIG_USERSPACE user/kernel boundary (S:C) for full kernel compromise (C/I/A:H); this diverges from the vendor's S:U 7.8.
Primary rating from Vendor (zephyr).
CVSS VectorVendor: zephyr
DescriptionCVE.org
The user-mode syscall verifiers for the charger driver API in drivers/charger/charger_handlers.c did not inspect the prop argument before copying union charger_propval across the user/kernel boundary. Two members of that union are function pointers - status_notification (CHARGER_PROP_STATUS_NOTIFICATION) and online_notification (CHARGER_PROP_ONLINE_NOTIFICATION), declared in include/zephyr/drivers/charger.h - and z_vrfy_charger_set_prop() forwarded the caller-supplied union verbatim to the driver's set_property callback for any property. z_vrfy_charger_get_prop() had the mirror defect and copied the stored kernel callback address back out to user memory.
With CONFIG_USERSPACE enabled, any user-mode thread that has been granted a charger device object could call charger_set_prop() with CHARGER_PROP_STATUS_NOTIFICATION or CHARGER_PROP_ONLINE_NOTIFICATION and an arbitrary pointer value. Drivers that implement these properties - drivers/charger/charger_max20335.c, drivers/charger/charger_pf1550.c and drivers/charger/charger_bq2518x.c - store the pointer in device data and later invoke it from their interrupt work handlers, which run in supervisor mode, on any charger state change such as a cable plug/unplug.
The result is a control-flow hijack at kernel privilege from an unprivileged thread, defeating the isolation that CONFIG_USERSPACE is meant to provide; the read path additionally disclosed a kernel code address to user mode, and clearing a notifier installed by a supervisor thread let user mode suppress charger notifications. Supervisor-mode callers of charger_set_prop()/charger_get_prop() are unaffected.
The fix makes both verifiers reject the two notifier properties outright - including when the supplied callback is NULL, since the notifiers are device state - and adds a BUILD_ASSERT on CHARGER_PROP_COMMON_COUNT so that new properties force a re-review of the union's user-mode safety.
Technical POC Analysis
CWE-822 (Untrusted Pointer Dereference), in the Zephyr RTOS charger driver syscall layer: drivers/charger/chargerhandlers.c.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity privilege escalation flaw (CVE-2026-91007) in Zephyr RTOS lets a low-privileged local thread hijack control flow at kernel level in products running affected versions with user-mode isolation enabled and the MAX20335, PF1550, or BQ2518X charger drivers. This undermines the core security boundary that CONFIG_USERSPACE is meant to enforce, so any product shipping these builds has a weakened isolation guarantee that regulators, customers, and certification partners may care about. Leadership should care because the affected code sits in firmware shipped to devices, and remediation requires coordinated firmware rebuilds and updates rather than a simple configuration toggle.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Potential off-by-one buffer overflow vulnerability in the Zephyr fuse file system. Rated critical severity (CVSS 10.0),
An out-of-bounds write in the Zephyr RTOS DNS resolver (dns_unpack_name()) lets a crafted DNS response corrupt memory on
Possible variant of CVE-2021-3434 in function le_ecred_reconf_req. Rated critical severity (CVSS 9.8), this vulnerabilit
Unchecked user input length in /subsys/net/l2/wifi/wifi_shell.c can cause buffer overflows. Rated critical severity (CVS
Potential buffer overflow vulnerability in the Zephyr CAN bus subsystem. Rated critical severity (CVSS 9.8), this vulner
Integer Underflow in 6LoWPAN IPHC Header Uncompression in Zephyr. Rated critical severity (CVSS 9.8), this vulnerability
Buffer overflow in Zephyr USB DFU DNLOAD. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable
DOS: Incorrect 802154 Frame Validation for Omitted Source / Dest Addresses. Rated critical severity (CVSS 9.8), this vul
zephyr-rtos version 1.12.0 contains a NULL base pointer reference vulnerability in sys_ring_buf_put(), sys_ring_buf_get(
Potential buffer overflow vulnerabilities n the Zephyr Bluetooth subsystem. Rated critical severity (CVSS 9.6), this vul
The documentation specifies that the BT_GATT_PERM_READ_LESC and BT_GATT_PERM_WRITE_LESC defines for a Bluetooth characte
Potential buffer overflows in the Bluetooth subsystem due to asserts being disabled in /subsys/bluetooth/host/hci_core.c
EUVD-2026-124523
NVD
CVE.org
EPSS
GitHub
Exploit-DB