Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-93223 Overview
CVE-2026-93223 is a reference count underflow in the Linux kernel's Tegra video input port (VIP) staging driver. The flaw resides in tegra_vip_channel_of_parse() within the staging/media/tegra-video subsystem. The function initializes its np device-tree node pointer from dev->of_node without taking an additional reference, yet its error paths release a reference through the err_node_put label. When endpoint parsing fails on a malformed device tree, this mismatch underflows the OF node's refcount. Upstream kernel maintainers resolved the issue by returning errors directly instead of jumping to the cleanup label.
Critical Impact
Malformed device-tree input on NVIDIA Tegra platforms can corrupt kernel OF node reference counts, potentially leading to use-after-free conditions and local denial of service.
Affected Products
- Linux kernel staging driver drivers/staging/media/tegra-video
- NVIDIA Tegra-based systems using the VIP (Video Input Port) capture driver
- Kernel branches referenced by the stable commits 1295ba2, 656d047, 7393372, a378380, and fc99370
Discovery Timeline
- 2026-09-24 - CVE CVE-2026-93223 published to NVD
- 2026-09-24 - Last updated in NVD database
Technical Details for CVE-2026-93223
Vulnerability Analysis
The defect is a kernel reference-counting bug in the Tegra VIP media capture driver. The tegra_vip_channel_of_parse() function parses the device tree to locate V4L2 endpoints associated with a VIP channel. It assigns the local pointer np from dev->of_node without calling of_node_get(), so it never owns an additional reference on that node.
On the success path, the function stores an explicitly acquired reference in vip->chan.of_node via of_node_get(). That reference is properly dropped by tegra_vip_init() on failure and by tegra_vip_exit() at teardown. However, the error paths in the parse function goto err_node_put, which calls of_node_put(np) on a reference the function never took. This decrements the OF node refcount below its true value.
An underflowed kref on a device-tree node can trigger premature release of the backing device_node structure. Subsequent dereferences by other kernel consumers of that node can result in use-after-free, kernel memory corruption, or an oops leading to local denial of service.
Root Cause
The root cause is an ownership mismatch between reference acquisition and release in tegra_vip_channel_of_parse(). The cleanup label err_node_put assumes the local np holds a reference that must be released, but the function never incremented the refcount on that pointer. This is a classic imbalance between of_node_get() and of_node_put() call sites.
Attack Vector
Triggering the bug requires providing a malformed device tree in which VIP endpoint parsing fails. This is typically a local, high-privilege condition on Tegra-based embedded platforms. An attacker with the ability to supply or modify the device tree, such as through firmware updates, bootloader manipulation, or dynamic overlays, can repeatedly invoke the faulty error path to underflow the OF node refcount.
The upstream fix removes the incorrect goto err_node_put and returns errors directly, eliminating the unbalanced of_node_put() call. See the kernel commits in the references for the exact patch content.
Detection Methods for CVE-2026-93223
Indicators of Compromise
- Kernel log entries referencing failures in tegra_vip_channel_of_parse or Tegra VIP probe sequences.
- Unexpected refcount_t: underflow or refcount_t: saturated warnings in dmesg associated with device-tree node operations.
- Kernel oops or BUG: traces that reference of_node_put or of_node_release on Tegra platforms following media driver initialization.
Detection Strategies
- Audit running kernels on NVIDIA Tegra hardware to confirm whether patches 1295ba2, 656d047, 7393372, a378380, or fc99370 are applied.
- Enable CONFIG_REFCOUNT_FULL and CONFIG_DEBUG_KOBJECT_RELEASE in test builds to surface refcount imbalances during device-tree parsing.
- Monitor kernel ring buffers from fleets of Tegra-based devices for recurring probe-time warnings tied to the staging media driver.
Monitoring Recommendations
- Centralize dmesg and journalctl -k output from embedded Tegra devices into a security data lake for anomaly review.
- Alert on repeated media driver probe failures that may indicate device-tree tampering or malformed overlays.
- Track kernel version and patch inventory for all Tegra-based platforms as part of standard vulnerability management.
How to Mitigate CVE-2026-93223
Immediate Actions Required
- Upgrade affected Linux kernels to a stable release that includes the fix commits listed in the references.
- For custom or vendor kernels on Tegra platforms, backport the patch that replaces the goto err_node_put paths with direct error returns in tegra_vip_channel_of_parse().
- Restrict unprivileged modification of device-tree overlays and bootloader configuration on affected devices.
Patch Information
The fix is distributed across the following stable kernel commits: Kernel Commit 1295ba2, Kernel Commit 656d047, Kernel Commit 7393372, Kernel Commit a378380, and Kernel Commit fc99370. The patch returns errors directly rather than jumping to a cleanup label that performs an unbalanced of_node_put().
Workarounds
- Disable the Tegra VIP staging driver (CONFIG_VIDEO_TEGRA_VIP) in kernel builds where VIP capture is not required.
- Validate device-tree sources and overlays before deployment to ensure well-formed V4L2 endpoint descriptions on Tegra systems.
- Limit physical and administrative access to embedded devices where device-tree content can be modified at boot.
# Verify whether the running kernel includes one of the fix commits
uname -r
zcat /proc/config.gz 2>/dev/null | grep -i VIDEO_TEGRA_VIP
dmesg | grep -iE 'tegra-vip|of_node|refcount'
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

