# CVE-2025-38510: kasan: remove kasan_find_vm_area() to prevent possible deadlock

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 11% of CVEs (2026-11-30)
- Published: 2025-08-16T10:54:52.438Z
- Modified: 2026-11-05T21:18:33.710Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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().

(As written by CVE List.)

## Affected

- Linux Linux: from c056a364e9546bd513d1f5205f0ee316d8acb910 before 595f78d99b9051600233c0a5c4c47e1097e6ed01; from c056a364e9546bd513d1f5205f0ee316d8acb910 before 8377d7744bdce5c4b3f1b58924eebd3fdc078dfc; from c056a364e9546bd513d1f5205f0ee316d8acb910 before 2d89dab1ea6086e6cbe6fe92531b496fb6808cb9; from c056a364e9546bd513d1f5205f0ee316d8acb910 before 0c3566d831def922cd56322c772a7b20d8b0e0c0; from c056a364e9546bd513d1f5205f0ee316d8acb910 before 6ee9b3d84775944fb8c8a447961cd01274ac671c; 5.18 (not affected: before 5.18; from 6.1.146 up to 6.1.*; from 6.6.99 up to 6.6.*; from 6.12.39 up to 6.12.*; from 6.15.7 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 5.18 before 6.1.146; from 6.2 before 6.6.99; from 6.7 before 6.12.39; from 6.13 before 6.15.7; 6.16
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/595f78d99b9051600233c0a5c4c47e1097e6ed01> (patch)
- <https://git.kernel.org/stable/c/8377d7744bdce5c4b3f1b58924eebd3fdc078dfc> (patch)
- <https://git.kernel.org/stable/c/2d89dab1ea6086e6cbe6fe92531b496fb6808cb9> (patch)
- <https://git.kernel.org/stable/c/0c3566d831def922cd56322c772a7b20d8b0e0c0> (patch)
- <https://git.kernel.org/stable/c/6ee9b3d84775944fb8c8a447961cd01274ac671c> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2025-38510](https://www.cve.org/CVERecord?id=CVE-2025-38510), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-38510](https://nvd.nist.gov/vuln/detail/CVE-2025-38510), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-38510 · Whole record: https://cve.day/CVE-2025-38510.json · Rebuilt by cve.day 2026-11-25T22:59:02.617Z
