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-93225 Overview
CVE-2026-93225 is a resource management flaw in the Linux kernel phy/fsl-imx8mq-usb driver. The driver fails to clean up a USB Type-C switch reference when probe fails after imx95_usb_phy_get_tca() succeeds. The original cleanup logic lived only in the .remove() callback, which never executes when probe aborts. Repeated probe failures leak kernel resources tied to the Type-C switch binding on NXP i.MX8MQ platforms. Maintainers resolved the issue by converting cleanup to devm_add_action_or_reset(), ensuring deterministic teardown on both probe failure and driver removal.
Critical Impact
Local attackers who can trigger repeated driver probe failures on affected i.MX8MQ systems can exhaust kernel resources tied to the Type-C switch subsystem, impacting confidentiality, integrity, and availability of USB phy state.
Affected Products
- Linux kernel versions containing the phy/fsl-imx8mq-usb driver with imx95_usb_phy_get_tca() support
- NXP i.MX8MQ and i.MX95 USB phy driver consumers
- Downstream distributions shipping the vulnerable drivers/phy/freescale/phy-fsl-imx8mq-usb.c
Discovery Timeline
- 2026-09-24 - CVE-2026-93225 published to the National Vulnerability Database
- 2026-09-25 - Last updated in NVD database
Technical Details for CVE-2026-93225
Vulnerability Analysis
The phy-fsl-imx8mq-usb driver registers a USB Type-C switch via imx95_usb_phy_get_tca() during probe. If any subsequent probe step returns an error, the driver returns without releasing the Type-C switch reference. The release logic was placed solely in the .remove() callback, which the kernel does not invoke when .probe() fails.
Each failed probe therefore leaks the switch binding and its associated kernel objects. Attack vector is local and requires conditions that force probe to fail after the switch is acquired, consistent with the local, high-complexity profile of this issue.
The fix replaces manual teardown with devm_add_action_or_reset(), binding the cleanup to the device's managed-resource lifecycle. The companion imx95_usb_phy_put_tca() call becomes redundant and is removed from .remove().
Root Cause
The root cause is an asymmetric resource lifecycle. The acquisition path in .probe() had no error-path unwind for the Type-C switch, while the release path was conditional on successful probe completion. This pattern is a classic kernel memory leak on error paths and falls under improper resource release during exception handling.
Attack Vector
Exploitation requires local access and the ability to influence driver probe outcomes on an i.MX8MQ or i.MX95 USB phy device. An attacker who can trigger probe failures, for example through hotplug events, module reloads, or device-tree manipulation on a compromised management plane, forces repeated leakage. Over time this depletes kernel resources associated with the Type-C switch registry and can degrade system reliability.
See the kernel commits for the technical fix: Kernel Git Commit 84646f5, Kernel Git Commit 87a1805, and Kernel Git Commit f1b7b2c.
Detection Methods for CVE-2026-93225
Indicators of Compromise
- Repeated phy-fsl-imx8mq-usb probe failure messages in dmesg or journalctl -k output on i.MX8MQ or i.MX95 hardware.
- Growth in kernel slab allocations tied to Type-C switch objects across module reload cycles without corresponding device additions.
- Unexpected module reload loops for phy-fsl-imx8mq-usb initiated by non-administrative processes.
Detection Strategies
- Compare running kernel version and drivers/phy/freescale/phy-fsl-imx8mq-usb.c commit hash against the fixed commits 84646f5, 87a1805, and f1b7b2c.
- Monitor /sys/kernel/debug/kmemleak on debug kernels for Type-C switch allocations that persist after driver teardown.
- Audit kernel ring buffer entries containing imx95_usb_phy_get_tca failure returns.
Monitoring Recommendations
- Centralize kernel logs from embedded i.MX8MQ fleets and alert on repeated phy driver probe errors.
- Track slab allocator growth with slabtop or /proc/slabinfo baselines to detect gradual leaks.
- Record module load and unload events via auditd rules on init_module and delete_module syscalls.
How to Mitigate CVE-2026-93225
Immediate Actions Required
- Inventory systems running Linux kernels with the phy-fsl-imx8mq-usb driver, focusing on NXP i.MX8MQ and i.MX95 deployments.
- Apply stable kernel updates containing commits 84646f5b945a, 87a1805b1c34, and f1b7b2c7ffa9 and reboot affected hosts.
- Restrict local shell and module-loading capabilities to trusted administrators to limit probe-failure abuse.
Patch Information
The upstream fix converts the Type-C switch cleanup to devm_add_action_or_reset() so release occurs on both probe failure and driver removal. Patches are available in the mainline and stable trees via Kernel Git Commit 84646f5, Kernel Git Commit 87a1805, and Kernel Git Commit f1b7b2c. Distribution-specific backports should be tracked through vendor security channels.
Workarounds
- Blacklist the phy-fsl-imx8mq-usb module on systems that do not require USB Type-C phy functionality until patched.
- Disable automated module reload scripts and limit CAP_SYS_MODULE to administrative accounts.
- Monitor kernel logs for probe failures and reboot affected nodes before resource exhaustion impacts workloads.
# Verify kernel version and blacklist the vulnerable module if unused
uname -r
echo 'blacklist phy-fsl-imx8mq-usb' | sudo tee /etc/modprobe.d/cve-2026-93225.conf
sudo depmod -a
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

