# CVE-2026-19947: Missing kernel object permission check in devmux syscalls allows unprivileged user threads to retarget a device multiplexer

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low
- **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.14% (percentile 2, 2026-11-26)
- **CWE:** CWE-862
- **Published:** 2026-10-21T18:19:35.637Z
- **Modified:** 2026-10-23T22:16:59.977Z

## Who should check

- Anyone running zephyrproject zephyr \>= 3.6.0, \< 4.5.0

## Description

The device multiplexer pseudo-driver in drivers/misc/devmux/devmux.c exposes two system calls, devmux\_select\_get() and devmux\_select\_set(). When CONFIG\_USERSPACE is enabled, their user-mode verifiers z\_vrfy\_devmux\_select\_get() and z\_vrfy\_devmux\_select\_set() forwarded directly to the kernel implementations without performing any kernel-object validation — no k\_object\_access\_check() and no driver object check. Compounding this, DEVICE\_DT\_INST\_DEFINE() registered devmux instances with a NULL driver API pointer, which causes scripts/build/gen\_kobject\_list.py to skip them entirely, so a devmux device had no struct k\_object and no permission on it could be granted or withheld in the first place.

Any thread running in user mode can reach the defect: device pointers such as DEVICE\_DT\_GET(DT\_NODELABEL(devmux0)) are compile-time constants available to application code, and the syscall accepted them from a thread that had never been granted access to the device. The kernel implementations do validate the pointer against the static devmux instance table and bounds-check the selection index, so this is not a memory-safety issue; the failure is purely one of authorization. Exposure requires CONFIG\_USERSPACE=y together with the experimental CONFIG\_DEVMUX=y (which depends on CONFIG\_DEVICE\_MUTABLE) and a zephyr,devmux devicetree node.

An unprivileged user-mode thread can read and change which downstream device a multiplexer forwards to, bypassing the userspace object-permission model. Because a devmux forwards the data, configuration and API of the selected device — its documented use being zephyr,console and zephyr,shell-uart switching — an attacker can suppress console, log and shell output, redirect that output to a downstream device it is able to observe, or flip the selection underneath another thread that is legitimately using the multiplexer. The impact is bounded to the devicetree-fixed set of downstream devices; no out-of-bounds access or arbitrary pointer dereference is reachable.

The fix declares \_\_subsystem struct devmux\_driver\_api and attaches a DEVICE\_API(devmux, devmux\_api) instance to each devmux device so that it becomes a tracked K\_OBJ\_DRIVER\_DEVMUX kernel object, and adds K\_OOPS(devmux\_inst\_get(dev) == SIZE\_MAX) plus K\_OOPS(k\_object\_access\_check(dev) != 0) to both verifiers.

## Affected and fixed versions

- zephyrproject zephyr: \>= 3.6.0, \< 4.5.0 (cvelist)

## 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-19947. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-19947.md
Affected: zephyrproject zephyr >= 3.6.0, < 4.5.0
Fixed in: 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-19947 being exploited?

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

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

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

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

zephyrproject zephyr \>= 3.6.0, \< 4.5.0.

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

Yes. Fixed in zephyrproject zephyr 4.5.0. Upgrade zephyr to 4.5.0 or later.

### How do I check if I'm affected by CVE-2026-19947?

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-8m8g-f5jf-x28x>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/4b7f98345d8f894f4b8aabe52a2623d843669fac>

## 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-19947>

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