{"id":"CVE-2026-90247","aliases":["CVE-2026-90247"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: Fix mmap_lock leak in irq_work path","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix mmap_lock leak in irq_work path\n\nstack_map_get_build_id_offset() introduced a per-CPU irq_work to defer\nmmap_read_unlock() from NMI context, and bpf_find_vma() later reused the\nsame mmap_unlock_work. Both callers only check whether the work is busy\nbefore taking mmap_lock, so a nested caller can reuse the slot before the\nfirst caller queues it. Two read locks may then be acquired while only one\ndeferred unlock runs, leaking a read lock and blocking exit_mmap().\n\nReserve the per-CPU slot before mmap_read_trylock(). Use the same wrapper\nin stackmap and bpf_find_vma() so both callers release the reservation on\ntrylock failure. Keep rejecting the slot while the irq_work remains busy.\nRelease it after the irq_work callback unlocks the mm.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix mmap_lock leak in irq_work path\n\nstack_map_get_build_id_offset() introduced a per-CPU irq_work to defer\nmmap_read_unlock() from NMI context, and bpf_find_vma() later reused the\nsame mmap_unlock_work. Both callers only check whether the work is busy\nbefore taking mmap_lock, so a nested caller can reuse the slot before the\nfirst caller queues it. Two read locks may then be acquired while only one\ndeferred unlock runs, leaking a read lock and blocking exit_mmap().\n\nReserve the per-CPU slot before mmap_read_trylock(). Use the same wrapper\nin stackmap and bpf_find_vma() so both callers release the reservation on\ntrylock failure. Keep rejecting the slot while the irq_work remains busy.\nRelease it after the irq_work callback unlocks the mm.","source":"cvelist"}],"published":"2026-09-17T16:07:49.444Z","modified":"2026-10-30T13:20:47.630Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"eac9153f2b584c702cea02c1f1a57d85aa9aea42","fixed":"d6d091873e12d1de36d7228c4f452e6cace3a23e","status":"affected"},{"type":"git","introduced":"eac9153f2b584c702cea02c1f1a57d85aa9aea42","fixed":"b6c9daf6097f9b39162b8e736a6ac7caf5ef6fc8","status":"affected"},{"type":"git","introduced":"eac9153f2b584c702cea02c1f1a57d85aa9aea42","fixed":"931f62311c058d79f29548f20943969bb441ce87","status":"affected"},{"type":"git","introduced":"eac9153f2b584c702cea02c1f1a57d85aa9aea42","fixed":"a052ad5edccf5319f50ed955de4368f8318a9f20","status":"affected"},{"type":"git","introduced":"eac9153f2b584c702cea02c1f1a57d85aa9aea42","fixed":"051f2da26ce377f683b938a3382e0f16d02f3139","status":"affected"},{"type":"git","introduced":"eac9153f2b584c702cea02c1f1a57d85aa9aea42","fixed":"fa9dcacdcdf487f0ffef64bf67622f1caed509f1","status":"affected"},{"type":"git","version":"a7f4da875c16f3b8bef0d9ec67528111045bfcd8","status":"affected"},{"type":"git","version":"f1838da73cccb238b8be4ef464fce0168dc7ba84","status":"affected"},{"type":"semver","introduced":"4.19.92","fixed":"4.20","status":"affected"},{"type":"semver","introduced":"5.4.7","fixed":"5.5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.5","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/d6d091873e12d1de36d7228c4f452e6cace3a23e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b6c9daf6097f9b39162b8e736a6ac7caf5ef6fc8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/931f62311c058d79f29548f20943969bb441ce87","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a052ad5edccf5319f50ed955de4368f8318a9f20","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/051f2da26ce377f683b938a3382e0f16d02f3139","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fa9dcacdcdf487f0ffef64bf67622f1caed509f1","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90247","url":"https://www.cve.org/CVERecord?id=CVE-2026-90247","licence":"CVE Terms of Use","modified":"2026-10-30T12:34:55.059Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90247","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90247","licence":"Public domain","modified":"2026-10-30T13:20:47.630Z"}],"updatedAt":"2026-11-25T22:59:39.356Z","epss":{"score":0.00215,"percentile":0.06782,"date":"2026-11-30T12:00:22.000Z"}}