CVE-2025-38510 kasan: remove kasan_find_vm_area() to prevent possible deadlock
A deadlock in the Linux kernel's KASAN subsystem can cause a system hang when reporting invalid memory accesses in atomic contexts.
- 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-38510?
CVE-2025-38510 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 16 Aug 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:
kasan: remove kasan_find_vm_area() to prevent possible deadlock
find_vm_area() couldn't be called in atomic_context. If find_vm_area() is called to reports vm area information, kasan can trigger deadlock like:
CPU0 CPU1 vmalloc(); alloc_vmap_area(); spin_lock(&vn->busy.lock) spin_lock_bh(&some_lock); <interrupt occurs> <in softirq> spin_lock(&some_lock); <access invalid address> kasan_report(); print_report(); print_address_description(); kasan_find_vm_area(); find_vm_area(); spin_lock(&vn->busy.lock) // deadlock!
To prevent possible deadlock while kasan reports, remove kasan_find_vm_area().
Weakness: CWE-476
Which versions are affected by CVE-2025-38510?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2025-38510?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-38510 being exploited?
There is no known exploitation of CVE-2025-38510 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as AZL-66365, BELL-CVE-2025-38510, DEBIAN-CVE-2025-38510, GHSA-vjcw-7f57-9vvv, ROOT-OS-DEBIAN-12-CVE-2025-38510, ROOT-OS-DEBIAN-13-CVE-2025-38510 and 2 more.