CVE-2025-21918: usb: typec: ucsi: Fix NULL pointer access
In the Linux kernel, the following vulnerability has been resolved:
usb: typec: ucsi: Fix NULL pointer access
Resources should be released only after all threads that utilize them have been destroyed. This commit ensures that resources are not released prematurely by waiting for the associated workqueue to complete before deallocating them.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Wait for the associated workqueue to complete before deallocating resources, ensuring resources are released only after all threads that use them have finished.
Event History
Frequently Asked Questions
What is the severity of CVE-2025-21918?
CVE-2025-21918 has not been assigned a specific severity score, but it addresses a potential NULL pointer dereference in the Linux kernel.
What systems are affected by CVE-2025-21918?
CVE-2025-21918 affects the Linux Kernel, particularly components dealing with USB type-C connections.
How does CVE-2025-21918 impact system stability?
CVE-2025-21918 may lead to system crashes or instability if resources are released prematurely while still being utilized.
How do I fix CVE-2025-21918?
To address CVE-2025-21918, users should upgrade to the patched version of the Linux kernel provided by their distribution.
What is the root cause of CVE-2025-21918?
CVE-2025-21918 is caused by improper handling of resource release in the USB type-C UCSI interface within the Linux kernel.