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-93820 Overview
CVE-2026-93820 is a race condition in the Linux kernel's Rockchip PCI host controller driver. The flaw occurs when the driver stops and removes a root bus without holding the pci_rescan_remove_lock. Concurrent rescan or hotplug operations triggered through sysfs can race with the removal path. The resulting race may lead to use-after-free conditions or system crashes on affected Rockchip-based systems.
Critical Impact
Concurrent PCI rescan and root bus removal operations can trigger use-after-free memory corruption, resulting in kernel crashes and potential denial of service on Rockchip PCIe hardware.
Affected Products
- Linux kernel builds including the Rockchip PCI host controller driver (pcie-rockchip-host)
- Rockchip SoC-based platforms exposing PCIe root complexes
- Downstream distributions shipping affected kernel versions prior to the backported fix
Discovery Timeline
- 2026-09-24 - CVE-2026-93820 published to NVD
- 2026-09-25 - Last updated in NVD database
Technical Details for CVE-2026-93820
Vulnerability Analysis
The Rockchip PCI host driver tears down a root bus by stopping and removing its child devices. The original code path did not acquire the kernel's pci_rescan_remove_lock during this teardown. Userspace can trigger PCI rescan or hotplug actions through sysfs interfaces such as /sys/bus/pci/rescan at any time. When a rescan or hotplug operation runs concurrently with root bus removal, the two paths can manipulate the same pci_bus and pci_dev structures without synchronization. This produces a classic Time-of-Check Time-of-Use (TOCTOU) window where one thread frees a device structure while another still references it.
Root Cause
The root cause is missing lock acquisition in the Rockchip host driver's bus removal path. The kernel provides pci_rescan_remove_lock precisely to serialize bus topology changes against rescan and hotplug flows. Omitting the lock during pci_stop_root_bus() and pci_remove_root_bus() leaves teardown unsynchronized with concurrent writers to the same PCI topology.
Attack Vector
Exploitation requires local access with privileges sufficient to trigger PCI rescan or hotplug through sysfs, typically root. A local actor with such access can race the removal path by repeatedly writing to the PCI rescan interface while the driver is unbinding. Successful races corrupt kernel memory and crash the system. The flaw is not remotely reachable and does not grant code execution on its own, but it provides a reliable local denial of service primitive on affected hardware.
No verified public exploit code is available. Refer to the upstream commits for technical details: Kernel Git Commit 0bd9611, Kernel Git Commit 9b19201, and Kernel Git Commit ebca7e5.
Detection Methods for CVE-2026-93820
Indicators of Compromise
- Kernel oops or panic traces referencing pci_stop_root_bus, pci_remove_bus_device, or pcie-rockchip-host in dmesg
- Unexpected system reboots on Rockchip platforms shortly after writes to /sys/bus/pci/rescan or /sys/bus/pci/devices/*/remove
- KASAN use-after-free reports naming pci_bus or pci_dev objects during PCI teardown
Detection Strategies
- Audit kernel versions on Rockchip-based fleet devices and compare against the fix commits listed in the NVD entry
- Monitor for processes writing to PCI sysfs rescan and remove nodes outside of expected maintenance windows
- Enable KASAN or SLUB debugging on test builds to surface the race during stress testing of PCIe hotplug paths
Monitoring Recommendations
- Forward kernel logs to a central log store and alert on panics containing pcie-rockchip or pci_remove
- Track sysfs writes to /sys/bus/pci/rescan using auditd rules and correlate with crash events
- Baseline PCIe device enumeration on managed Rockchip devices and alert on unexpected device removal
How to Mitigate CVE-2026-93820
Immediate Actions Required
- Inventory all Rockchip-based Linux systems and identify kernels built with CONFIG_PCIE_ROCKCHIP_HOST
- Schedule kernel updates to a version that includes the backported pci_rescan_remove_lock fix
- Restrict local privileged access on affected devices until the patch is deployed
Patch Information
The fix adds acquisition of pci_rescan_remove_lock around the Rockchip root bus stop and remove sequence. Apply the upstream patches from Kernel Git Commit 0bd9611, Kernel Git Commit 9b19201, and Kernel Git Commit ebca7e5, or install a distribution kernel that incorporates them.
Workarounds
- Remove write permissions on /sys/bus/pci/rescan and per-device remove nodes for non-administrative users
- Avoid runtime PCI rescan or hotplug operations during driver unbind on Rockchip platforms
- Where feasible, build kernels without CONFIG_PCIE_ROCKCHIP_HOST on devices that do not require Rockchip PCIe support
# Verify running kernel and Rockchip PCI driver status
uname -r
grep -i rockchip /proc/config.gz 2>/dev/null || zcat /proc/config.gz | grep ROCKCHIP
lsmod | grep pcie_rockchip
# Restrict sysfs rescan access to root only
chmod 200 /sys/bus/pci/rescan
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

