1. Home
  2. Vulnerabilities
  3. CVE-2026-90247

CVE-2026-90247

bpf: Fix mmap_lock leak in irq_work path

Published 17 Sept 2026 · modified 30 Oct 2026 · Sources: NVD, CNA (vendor or assigner), CERT-FR, EPSS (FIRST)

Low 13/100

Summary

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.

Affected products and versions

Linux (3 line(s))
Linux
ProductVersionsFixed inSource
Linux from 4.19.92 (included) to 4.20 (excluded) — CNA (vendor or assigner)
Linux from 5.4.7 (included) to 5.5 (excluded) — CNA (vendor or assigner)
Linux 5.5 — CNA (vendor or assigner)

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)
  2. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1469)
  3. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1473)
  4. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1595)
  5. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1596)

CERT-FR advisories

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)

How this data is obtained and calculated