-

CVE-2026-90247

bpf: Fix mmap_lock leak in irq_work path

In the Linux kernel, the following vulnerability has been resolved:

bpf: Fix mmap_lock leak in irq_work path

stack_map_get_build_id_offset() introduced a per-CPU irq_work to defer
mmap_read_unlock() from NMI context, and bpf_find_vma() later reused the
same mmap_unlock_work. Both callers only check whether the work is busy
before taking mmap_lock, so a nested caller can reuse the slot before the
first caller queues it. Two read locks may then be acquired while only one
deferred unlock runs, leaking a read lock and blocking exit_mmap().

Reserve the per-CPU slot before mmap_read_trylock(). Use the same wrapper
in stackmap and bpf_find_vma() so both callers release the reservation on
trylock failure. Keep rejecting the slot while the irq_work remains busy.
Release it after the irq_work callback unlocks the mm.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version eac9153f2b584c702cea02c1f1a57d85aa9aea42
Version < a052ad5edccf5319f50ed955de4368f8318a9f20
Status affected
Version eac9153f2b584c702cea02c1f1a57d85aa9aea42
Version < 051f2da26ce377f683b938a3382e0f16d02f3139
Status affected
Version eac9153f2b584c702cea02c1f1a57d85aa9aea42
Version < fa9dcacdcdf487f0ffef64bf67622f1caed509f1
Status affected
Version a7f4da875c16f3b8bef0d9ec67528111045bfcd8
Status affected
Version f1838da73cccb238b8be4ef464fce0168dc7ba84
Status affected
Version 4.19.92
Version < 4.20
Status affected
Version 5.4.7
Version < 5.5
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 5.5
Status affected
Version 0
Version < 5.5
Status unaffected
Version <= 6.18.*
Version 6.18.52
Status unaffected
Version <= 7.2.*
Version 7.2.6
Status unaffected
Version <= *
Version 7.3-rc1
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.2% 0.099
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/a052ad5edccf5319f50ed955de4368f8318a9f20
https://git.kernel.org/stable/c/051f2da26ce377f683b938a3382e0f16d02f3139
https://git.kernel.org/stable/c/fa9dcacdcdf487f0ffef64bf67622f1caed509f1