CVE-2026-90247
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
3- osv-coords2 versions
>= 5.5.0, < 6.1.191+ 1 more
- (no CPE)range: >= 5.5.0, < 6.1.191
- (no CPE)range: < 7.2.7-1.1
Patches
Vulnerability mechanics
References
6- git.kernel.org/stable/c/051f2da26ce377f683b938a3382e0f16d02f3139nvd
- git.kernel.org/stable/c/931f62311c058d79f29548f20943969bb441ce87nvd
- git.kernel.org/stable/c/a052ad5edccf5319f50ed955de4368f8318a9f20nvd
- git.kernel.org/stable/c/b6c9daf6097f9b39162b8e736a6ac7caf5ef6fc8nvd
- git.kernel.org/stable/c/d6d091873e12d1de36d7228c4f452e6cace3a23envd
- git.kernel.org/stable/c/fa9dcacdcdf487f0ffef64bf67622f1caed509f1nvd
News mentions
0No linked articles in our index yet.