CVE-2025-21918 usb: typec: ucsi: Fix NULL pointer access
A NULL pointer dereference in the Linux kernel USB Type-C UCSI driver can cause a system crash, requiring a kernel patch.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-21918?
CVE-2025-21918 is a medium-severity vulnerability in Linux kernel, published on 1 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Weakness: CWE-476
Which versions are affected by CVE-2025-21918?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-21918?
Apply the vendor's patch.
Is CVE-2025-21918 being exploited?
There is no known exploitation of CVE-2025-21918 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-59937, BELL-CVE-2025-21918, DEBIAN-CVE-2025-21918, GHSA-j8rw-3x8v-v327, ROOT-OS-UBUNTU-2204-CVE-2025-21918, ROOT-OS-UBUNTU-2404-CVE-2025-21918 and 1 more.