CVEvulnerability

CVE-2025-38510

5.5 MEDIUM Published 2025-08-16 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2025-08-16
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-476

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

Affected configurations

• linux linux kernel (>= 5.18 < 6.1.146) • linux linux kernel (>= 6.2 < 6.6.99) • linux linux kernel (>= 6.7 < 6.12.39) • linux linux kernel (>= 6.13 < 6.15.7) • linux linux kernel 6.16 • debian debian linux 11.0

Related

Weakness · CWE (1)

  • CWE-476 NULL Pointer Dereference weakness

References