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-98758 Overview
CVE-2026-98758 is a use-after-free vulnerability in the Linux kernel's USB Type-C Connector System Software Interface (UCSI) Qualcomm PMIC glink driver. The flaw resides in the pmic_glink_ucsi_remove() teardown path, where the pmic_glink client is released by devres cleanup only after the remove function returns. During that window, notification callbacks can queue work that runs after ucsi_unregister() has freed the connector array, resulting in dereferencing freed memory or double registration of the instance. The vulnerability was identified by an in-house static analysis tool and resolved upstream.
Critical Impact
Exploitation of the use-after-free condition during device removal can lead to kernel memory corruption, system instability, or potential local privilege escalation on affected Linux systems using the UCSI glink driver.
Affected Products
- Linux kernel versions containing the drivers/usb/typec/ucsi/ucsi_glink.c driver prior to the fix commits
- Systems using Qualcomm PMIC glink hardware with USB Type-C UCSI support
- Downstream distributions shipping affected stable kernel branches
Discovery Timeline
- 2026-10-18 - CVE-2026-98758 published to NVD
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-98758
Vulnerability Analysis
The vulnerability occurs in the pmic_glink_ucsi_remove() function within the Linux kernel's usb: typec: ucsi: glink driver. The remove routine calls ucsi_unregister(), which frees the connector array associated with the UCSI instance. However, the pmic_glink client registration is managed by devres, so its release occurs only after pmic_glink_ucsi_remove() returns. During that interval, notification callbacks remain active and can queue work items.
Work items that execute after ucsi_unregister() touch state that has already been freed. They dereference the freed connector array or attempt to register and unregister the UCSI instance a second time. This creates a classic use-after-free condition [CWE-416] in the device teardown path.
Root Cause
The root cause is ordering between devres-managed client release and manual unregistration of UCSI state. Because devres cleanup runs after the remove callback completes, pending notification callbacks have an opportunity to queue work against structures that the remove path has already torn down.
Attack Vector
The condition is triggered during driver removal or device detach events. An attacker with the ability to trigger module unload, device hot-unplug, or power management transitions on an affected device may race the teardown sequence to force work to execute against freed memory. The upstream fix disables both work items with disable_work_sync() before unregistering and only unregisters when the instance is still registered. See the Linux Kernel Commit 41934f9, Linux Kernel Commit 432b58c, Linux Kernel Commit 63b269e, and Linux Kernel Commit ee8577d for the applied changes.
// No verified exploitation code available.
// The vulnerability is a use-after-free during driver removal in
// drivers/usb/typec/ucsi/ucsi_glink.c; refer to the stable kernel
// commits linked above for the precise code changes.
Detection Methods for CVE-2026-98758
Indicators of Compromise
- Kernel oops or panic messages referencing ucsi_glink, pmic_glink_ucsi_remove, or ucsi_unregister during driver unload or device removal
- KASAN (Kernel Address Sanitizer) use-after-free reports pointing at the UCSI connector array on systems with sanitizers enabled
- Unexpected system instability correlated with USB Type-C hot-unplug or power state transitions on Qualcomm platforms
Detection Strategies
- Audit installed kernel package versions against the fixed stable releases referenced in the upstream commits
- Enable KASAN and CONFIG_DEBUG_KERNEL on test systems to surface use-after-free conditions in the UCSI glink teardown path
- Review dmesg and persistent kernel logs for crash signatures involving UCSI or PMIC glink notification callbacks
Monitoring Recommendations
- Collect kernel crash dumps and dmesg output centrally to identify repeat UCSI-related faults across the fleet
- Monitor module load and unload events for the ucsi_glink driver on affected Qualcomm hardware
- Track package patch status for the Linux kernel across managed Linux endpoints to confirm rollout of the fix
How to Mitigate CVE-2026-98758
Immediate Actions Required
- Apply the stable kernel update that includes the four referenced upstream commits fixing the UCSI glink remove path
- Prioritize patching on Qualcomm-based laptops, embedded systems, and mobile platforms using USB Type-C with the UCSI glink driver
- Avoid repeated driver unload or forced device detach operations on unpatched systems until the fix is applied
Patch Information
The fix disables both work items with disable_work_sync() before calling ucsi_unregister() and ensures the instance is unregistered only when still registered. The upstream resolution is distributed across the following commits: Linux Kernel Commit 41934f9, Linux Kernel Commit 432b58c, Linux Kernel Commit 63b269e, and Linux Kernel Commit ee8577d. Consume the fix through your distribution's kernel update channel.
Workarounds
- Restrict local access and administrative privileges that would allow unprivileged users to trigger module unload or device teardown events
- Where feasible on non-essential systems, blacklist the ucsi_glink module until a patched kernel is deployed
- Reduce exposure by minimizing hot-plug cycling of Type-C peripherals on affected Qualcomm hardware until patched
# Example: check running kernel version and prevent ucsi_glink module load
uname -r
echo 'blacklist ucsi_glink' | sudo tee /etc/modprobe.d/blacklist-ucsi-glink.conf
sudo update-initramfs -u
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

