CVE-2026-74354
kernel: bpf: Take mmap_lock in zap_pages()
Overview
Description
In the Linux kernel, the following vulnerability has been resolved:
bpf: Take mmap_lock in zap_pages()
zap_vma_range() requires the owning mm's mmap_lock to be held.
Taking mmap_read_lock under arena->lock would AB-BA against
arena_vm_close() and arena_map_mmap(), both of which run with
mmap_write_lock held and then acquire arena->lock. Instead drop
arena->lock, mmget_not_zero() the vma's mm, take mmap_read_lock, and
re-resolve the vma via find_vma() since it may have been unmapped or
replaced while waiting.
Track processed vmls with a per-call generation in vml->zap_gen and
serialize zap_pages() callers with a new arena->zap_mutex so
concurrent callers on different uaddr ranges do not mark each other's
vmls processed before the zap is done.
Source: OX vulnerability database
Severity
7.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 22 fixes
Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | bpftool +105 | affected |
debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 13 | linux | affected |
| 14 | linux | 7.1.5-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 1 |
ubuntu 2 releases · 18 packages
| Release | Package | Fixed in |
|---|---|---|
| 24.04 | linux-oracle-7-0 | 7.0.0-1013.13~24.04.1 |
| 24.04 | linux-aws-7-0 +1 | 7.0.0-1014.14~24.04.1 |
| 24.04 | linux-azure-fde-7-0 | 7.0.0-1016.16~24.04.1 |
| 24.04 | linux-azure-7-0 | 7.0.0-1017.17~24.04.1 |
| 24.04 | linux-nvidia-7-0 | 7.0.0-1024.25~24.04.1 |
| 24.04 | linux-riscv-7-0 | 7.0.0-38.38.1~24.04.1 |
12 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-74354
- git.kernel.org https://git.kernel.org/linus/80b89d0226a05e8b67969de99c31b51fcd54f76a (7.2-rc1)
- git.kernel.org https://git.kernel.org/stable/c/36b1d997866f6083d33934983aa2ce0a184ed642
- git.kernel.org https://git.kernel.org/stable/c/80b89d0226a05e8b67969de99c31b51fcd54f76a
- lore.kernel.org https://lore.kernel.org/linux-cve-announce/2026081500-CVE-2026-74354-67c4@gregkh/T
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-74354
- ubuntu.com https://ubuntu.com/security/notices/USN-8887-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8887-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8887-3
- ubuntu.com https://ubuntu.com/security/notices/USN-8888-1
Show all 16 references
- ubuntu.com https://ubuntu.com/security/notices/USN-8888-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8889-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9003-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9021-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9043-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-74354
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.