# CVE-2026-91007: Arbitrary supervisor-mode function pointer injection via charger\_set\_prop() syscall in the charger driver API

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 3, 2026-11-28)
- **CWE:** CWE-822
- **Published:** 2026-11-12T15:19:20.012Z
- **Modified:** 2026-11-17T17:18:11.217Z

## Who should check

- Anyone running zephyrproject zephyr \>= 3.7.0, \< 4.3.2; \>= 4.4.0, \< 4.5.0

## Description

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.

## Affected and fixed versions

- zephyrproject zephyr: \>= 3.7.0, \< 4.3.2; \>= 4.4.0, \< 4.5.0 (cvelist)

## Technologies

Zephyr RTOS

## Mitigation

- Upgrade zephyr to 4.5.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-91007. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-91007.md
Affected: zephyrproject zephyr >= 3.7.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.
```

## FAQ

### Is CVE-2026-91007 being exploited?

There is no confirmed exploitation: CVE-2026-91007 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-91007?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-91007?

zephyrproject zephyr \>= 3.7.0, \< 4.3.2; \>= 4.4.0, \< 4.5.0.

### Is there a fix for CVE-2026-91007?

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-91007?

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.

## References

- vendor: <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-jr35-f52j-fm88>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/5467b7a73fe093d7e9562ee15c321cf8f1639d17>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-91007>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-91007> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-91007>
