PT-2026-108759
CVE-2026-19575
·
تاريخ النشر
2026-10-09
·
تاريخ التحديث
2026-10-09
الوصف من
CVSS 3.1
7.8
عاليةالمقاييسAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Zephyr versions 4.2.x through 4.3.x
Zephyr versions 4.4.x (only if CONFIG DEVICE DEINIT SUPPORT is enabled)
Description
An issue exists in the user-mode verification handler
z vrfy device deinit() within kernel/device.c for the device deinit() system call. The handler uses K SYSCALL OBJ INIT(dev, K OBJ ANY) to validate the dev argument, which fails to compare the object's actual type and skips the initialization-state check. This allows a user-mode thread to pass any kernel object it has permission for, such as a thread stack object, which is writable from user mode.The
z impl device deinit() function then interprets the attacker-controlled bytes as a struct device, leading to the dereferencing of a state pointer and the execution of a function pointer from ops.deinit. This results in an indirect call to an arbitrary address in supervisor mode, an arbitrary kernel read, and a single-byte kernel write. Consequently, a local unprivileged thread can achieve full kernel code execution, bypassing the CONFIG USERSPACE isolation boundary, or cause a system crash.Recommendations
For versions 4.2.x through 4.3.x, update the software to a version where the object check is changed to
K OBJ DRIVER ANY to ensure the dev argument is constrained to the driver object type range.
For versions 4.4.x, update the software to a version where the object check is changed to K OBJ DRIVER ANY or disable the CONFIG DEVICE DEINIT SUPPORT option.
As a temporary mitigation, disable the CONFIG DEVICE DEINIT SUPPORT configuration option to prevent z impl device deinit() from dereferencing the pointer. وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾