Skip to content
FlawDB
Sign in

CVE-2026-91007

HIGH 7.8EPSS 3%

Arbitrary supervisor-mode function pointer injection via charger_set_prop() syscall in the charger driver API

Mitigation

  • Upgrade zephyr to 4.5.0 or later.

Who should check

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

Vulnerability facts

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
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
EPSS
0.17% chance of exploitation in 30 days (percentile 3, 2026-11-26)
CWE
CWE-822
Published
Modified

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

Package / productAffectedFixedSource
zephyrproject zephyr>= 3.7.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-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.

Technologies

References

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-26).

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.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
MEDIUM 6.5CVE-2026-102963

Use-after-return in getaddrinfo() when a DNS query that followed a CNAME cannot be cancelled

Linux kernel+1
LOW 2.8CVE-2026-104928

Kernel object validation bypass in k_thread_stack_space_get syscall verifier with CONFIG_NO_RUNTIME_CHECKS

Zephyr RTOS
MEDIUM 4.2CVE-2026-102962

MCUmgr SMP client accepts responses from any transport, allowing spoofed command results

Zephyr RTOS
MEDIUM 4.6CVE-2026-90592

Out-of-bounds read in it51xxx I2C target FIFO ISR on oversized read transaction

Zephyr RTOS
EPSS 10%
MEDIUM 6.8CVE-2026-102960

Stack buffer overflow in Grow R502-A fingerprint sensor driver UART RX handler

Zephyr RTOS
EPSS 21%
Sponsors