kasan: remove kasan_find_vm_area() to prevent possible deadlock (Linux Linux)

CVE-2025-38510
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.16 % · percentile 5 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected c056a364e9546bd513d1f5205f0ee316d8acb910 < 595f78d99b9051600233c0a5c4c47e1097e6ed01 ; affected c056a364e9546bd513d1f5205f0ee316d8acb910 < 8377d7744bdce5c4b3f1b58924eebd3fdc078dfc ; affected c056a364e9546bd513d1f5205f0ee316d8acb910 < 2d89dab1ea6086e6cbe6fe92531b496fb6808cb9 ; affected c056a364e9546bd513d1f5205f0ee316d8acb910 < 0c3566d831def922cd56322c772a7b20d8b0e0c0 ; affected c056a364e9546bd513d1f5205f0ee316d8acb910 < 6ee9b3d84775944fb8c8a447961cd01274ac671c
Linux · Linuxaffected 5.18 ; unaffected 0 < 5.18 ; unaffected 6.1.146 ≤ 6.1.* ; unaffected 6.6.99 ≤ 6.6.* ; unaffected 6.12.39 ≤ 6.12.* ; unaffected 6.15.7 ≤ 6.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD