CVE-2025-38381 Input: cs40l50-vibra - fix potential NULL dereference in cs40l50_upload_owt()
A missing memory allocation check in the Linux kernel cs40l50-vibra driver can cause a NULL pointer dereference, leading to a system crash.
- 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-38381?
CVE-2025-38381 is a medium-severity vulnerability in Linux kernel, published on 25 Jul 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:
Input: cs40l50-vibra - fix potential NULL dereference in cs40l50_upload_owt()
The cs40l50_upload_owt() function allocates memory via kmalloc() without checking for allocation failure, which could lead to a NULL pointer dereference.
Return -ENOMEM in case allocation fails.
Weakness: CWE-476
Which versions are affected by CVE-2025-38381?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-38381?
Apply the vendor's patch.
Is CVE-2025-38381 being exploited?
There is no known exploitation of CVE-2025-38381 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2025-38381, DEBIAN-CVE-2025-38381, GHSA-pj7h-hw7v-pg79, UBUNTU-CVE-2025-38381.