CVE-2026-74354
published high CVSS 3.1 · 7.8bpf: Take mmap_lock in zap_pages()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux317460317a02a1af512697e6e964298dedd8a163 to < 36b1d997866f6083d33934983aa2ce0a184ed642 · 317460317a02a1af512697e6e964298dedd8a163 to < 80b89d0226a05e8b67969de99c31b51fcd54f76a · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.9 (affected) · 0 to < 6.9 (unaffected · semver) · 7.1.5 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Ubuntu | noble | linux-aws-7.0 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-aws-7.0-cloud-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-aws-7.0-headers-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-aws-7.0-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-azure-7.0 | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-azure-7.0-cloud-tools-7.0.0-1017 | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-azure-7.0-headers-7.0.0-1017 | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-azure-7.0-tools-7.0.0-1017 | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-azure-fde-7.0 | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-azure-fde-7.0-cloud-tools-7.0.0-1016 | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-azure-fde-7.0-headers-7.0.0-1016 | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-azure-fde-7.0-tools-7.0.0-1016 | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1013-oracle | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1013-oracle-64k | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1014-aws | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1014-aws-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1014-gcp | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1014-gcp-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1016-azure-fde | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1017-azure | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1024-nvidia | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1024-nvidia-64k | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-38-generic | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-38-generic-64k | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1014-aws | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1014-aws-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1016-azure-fde | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1017-azure | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-38-generic | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-gcp-7.0 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-gcp-7.0-headers-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-gcp-7.0-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-headers-7.0.0-1013-oracle | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-headers-7.0.0-1013-oracle-64k | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-headers-7.0.0-1014-aws | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-headers-7.0.0-1014-aws-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-headers-7.0.0-1014-gcp | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-headers-7.0.0-1014-gcp-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-headers-7.0.0-1016-azure-fde | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-headers-7.0.0-1017-azure | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-headers-7.0.0-1024-nvidia | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-headers-7.0.0-1024-nvidia-64k | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-headers-7.0.0-38-generic | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-headers-7.0.0-38-generic-64k | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-hwe-7.0 | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-hwe-7.0-cloud-tools-7.0.0-38 | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-hwe-7.0-headers-7.0.0-38 | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-hwe-7.0-tools-7.0.0-38 | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-image-7.0.0-38-generic | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1013-oracle | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1013-oracle-64k | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1014-aws | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1014-aws-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1014-gcp | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1014-gcp-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1016-azure-fde | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1017-azure | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1024-nvidia | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1024-nvidia-64k | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-38-generic | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-38-generic-64k | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-lib-rust-7.0.0-38-generic | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-modules-7.0.0-1013-oracle | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-modules-7.0.0-1013-oracle-64k | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-modules-7.0.0-1014-aws | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-modules-7.0.0-1014-aws-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-modules-7.0.0-1014-gcp | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-modules-7.0.0-1014-gcp-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-modules-7.0.0-1016-azure-fde | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-modules-7.0.0-1017-azure | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-modules-7.0.0-1024-nvidia | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-modules-7.0.0-1024-nvidia-64k | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-modules-7.0.0-38-generic | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-modules-7.0.0-38-generic-64k | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-modules-iwlwifi-7.0.0-1016-azure-fde | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-modules-iwlwifi-7.0.0-1017-azure | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-modules-nvidia-fs-7.0.0-1024-nvidia | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-modules-nvidia-fs-7.0.0-1024-nvidia-64k | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-nvidia-7.0 | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-nvidia-7.0-headers-7.0.0-1024 | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-nvidia-7.0-tools-7.0.0-1024 | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-oracle-7.0 | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-oracle-7.0-headers-7.0.0-1013 | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-oracle-7.0-tools-7.0.0-1013 | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-tools-7.0.0-1013-oracle | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-tools-7.0.0-1013-oracle-64k | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-tools-7.0.0-1014-aws | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-tools-7.0.0-1014-aws-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-2 |
| Ubuntu | noble | linux-tools-7.0.0-1014-gcp | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-tools-7.0.0-1014-gcp-64k | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8887-3 |
| Ubuntu | noble | linux-tools-7.0.0-1016-azure-fde | Advisory build | 7.0.0-1016.16~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-tools-7.0.0-1017-azure | Advisory build | 7.0.0-1017.17~24.04.1 | USN-8888-2 |
| Ubuntu | noble | linux-tools-7.0.0-1024-nvidia | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-tools-7.0.0-1024-nvidia-64k | Advisory build | 7.0.0-1024.25~24.04.1 | USN-9003-1 |
| Ubuntu | noble | linux-tools-7.0.0-38-generic | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | noble | linux-tools-7.0.0-38-generic-64k | Advisory build | 7.0.0-38.38~24.04.4 | USN-8887-3 |
| Ubuntu | resolute | bpftool | Advisory build | 7.7.0+7.0.0-38.38 | USN-8887-1 |
| Ubuntu | resolute | linux | Advisory build | 7.0.0-38.38 | USN-8887-1 |
| Ubuntu | resolute | linux-aws | Advisory build | 7.0.0-1014.14 | USN-8887-1 |
| Ubuntu | resolute | linux-aws-cloud-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14 | USN-8887-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The flaw is reached only via local bpf(2) syscalls: creating a BPF_MAP_TYPE_ARENA, loading a JIT BPF program using bpf_arena_free_pages(), mmap()ing the arena, and executing that program, which calls zap_pages() and zap_vma_range() without mmap_lock. AC:L - Exploitation requires racing page unmap with concurrent VMA teardown; the attacker controls both sides by running bpf_arena_free_pages() from BPF while another thread or process concurrently munmap()s or remaps the same arena mapping. PR:L - Arena map creation requires CAP_BPF and verifier-enforced CAP_BPF plus CAP_PERFMON (bpf_allow_ptr_leaks), not init-namespace root; these capabilities are obtainable by an unprivileged user via user namespaces or perf-group membership on typical systems. UI:N - No victim interaction is required beyond the attacker loading their own BPF program and mmaping their own arena; triggering the race is fully automated once those attacker-controlled setup steps are done. S:U - Impact is confined to kernel memory management and process address spaces on the host; it does not cross a VM, container, or IOMMU security boundary into a separate authority such as a hypervisor host escape. C:H - Calling zap_vma_range() without mmap_lock races with munmap and page faults, enabling stale VMA use, page-table corruption, and use-after-free conditions that can be leveraged for arbitrary kernel or cross-process memory disclosure. I:H - Unsynchronized PTE zapping and rmap updates can corrupt page tables and VMA metadata, providing memory corruption primitives that can be developed into arbitrary kernel writes and control-flow hijacking. A:H - The mmap_lock violation can cause kernel oopses, panics, or hung memory management from inconsistent page tables and invalid VMA access during concurrent unmap operations.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 317460317a02a1af512697e6e964298dedd8a163 to < 36b1d997866f6083d33934983aa2ce0a184ed642 (affected · git)317460317a02a1af512697e6e964298dedd8a163 to < 80b89d0226a05e8b67969de99c31b51fcd54f76a (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.9 (affected)0 to < 6.9 (unaffected · semver)7.1.5 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
2Linux · cna
bpf: Take mmap_lock in zap_pages()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b4b215851caf2c31180e7552e9b930c850455292e100374fa9b3188498b17fa6
- Ingested
- 16 Oct 2026, 19:00:49 UTC
- Source record
- Official CVE record