CVE-2026-74314
published high CVSS 3.1 · 7.8bpf: Cancel special fields on map value recycle
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux14a324f6a67ef6a53e04362a70160a47eb8afffa to < 9ea734e2cc0143d7429ab7dc0b20c85e5836183c · 14a324f6a67ef6a53e04362a70160a47eb8afffa to < a3a81d247651218e47153f2d2afd7aee236726fd · f0462d38589422bc9e27fd3c6343dfeb6b3db2f9 · 5.18.18 to < 5.19 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.19 (affected) · 0 to < 5.19 (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 | 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-6.8.0-1036-nvidia-tegra | Advisory build | 6.8.0-1036.39 | USN-8886-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1036-nvidia-tegra-rt | Advisory build | 6.8.0-1036.39 | USN-8886-1 |
| 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-6.8.0-1036-nvidia-tegra | Advisory build | 6.8.0-1036.39 | USN-8886-1 |
| Ubuntu | noble | linux-headers-6.8.0-1036-nvidia-tegra-rt | Advisory build | 6.8.0-1036.39 | USN-8886-1 |
| 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-6.8.0-1036-nvidia-tegra | Advisory build | 6.8.0-1036.39 | USN-8886-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1036-nvidia-tegra-rt | Advisory build | 6.8.0-1036.39 | USN-8886-1 |
| 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-6.8.0-1036-nvidia-tegra | Advisory build | 6.8.0-1036.39 | USN-8886-1 |
| Ubuntu | noble | linux-modules-6.8.0-1036-nvidia-tegra-rt | Advisory build | 6.8.0-1036.39 | USN-8886-1 |
| 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-extra-6.8.0-1036-nvidia-tegra | Advisory build | 6.8.0-1036.39 | USN-8886-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1036-nvidia-tegra-rt | Advisory build | 6.8.0-1036.39 | USN-8886-1 |
| 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-nvidia-tegra | Advisory build | 6.8.0-1036.39 | USN-8886-1 |
| Ubuntu | noble | linux-nvidia-tegra-headers-6.8.0-1036 | Advisory build | 6.8.0-1036.39 | USN-8886-1 |
| Ubuntu | noble | linux-nvidia-tegra-tools-6.8.0-1036 | Advisory build | 6.8.0-1036.39 | USN-8886-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-6.8.0-1036-nvidia-tegra | Advisory build | 6.8.0-1036.39 | USN-8886-1 |
| Ubuntu | noble | linux-tools-6.8.0-1036-nvidia-tegra-rt | Advisory build | 6.8.0-1036.39 | USN-8886-1 |
| Ubuntu | noble | linux-tools-7.0.0-1013-oracle | Advisory build | 7.0.0-1013.13~24.04.1 | USN-8887-3 |
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: Cancel special fields on map value recycle Map update and delete paths currently call bpf_obj_free_fields() when a value is being replaced or recycled. That makes field destruction depend on the context of the update/delete operation. For tracing programs this can include NMI context, where referenced kptr destructors, uptr unpinning, and graph root destruction are not generally safe. Introduce bpf_obj_cancel_fields() for the reusable-value path. It only performs NMI-safe cleanup for timer, workqueue, and task_work fields. Fields that need full destruction are left attached to the recycled value and are destroyed by the final cleanup path instead. Switch array and hashtab update/delete/recycle paths to this cancel helper. Keep bpf_obj_free_fields() for final map destruction and for bpf_mem_alloc destructors. Preallocated hashtabs do not have allocator destructors, so teardown continues to walk the normal and extra elements and fully destroy their fields. This deliberately relaxes the eager-free semantics of map update/delete for special fields. Programs that relied on a recycled map slot becoming empty immediately after update/delete were relying on behavior that cannot be implemented safely from every BPF execution context without offloading arbitrary destructors. There is a chance this change breaks programs making assumptions regarding the eager freeing of fields. If so, we can relax semantics to cancellation only when irqs_disabled() is true in the future. However, theoretically, map values that get reused eagerly already have weaker guarantees as parallel users can recreate freed fields before the new element becomes visible again.
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 bug is reached via bpf_map_update_elem/delete_elem on BPF array/hash maps, callable from the bpf() syscall and from in-kernel BPF helpers when tracing or perf BPF programs run; per kernel guidance BPF is a Local attack vector, not network-reachable. AC:L - An attacker who can load and attach BPF programs controls the map contents, update/delete timing, and trace/perf attach points (including NMI-capable hooks), so the unsafe bpf_obj_free_fields() recycle path is triggerable without luck or victim-specific state. PR:L - Exploitation requires loading tracing/perf BPF programs with BTF maps holding kptr/list/uptr fields (CAP_BPF plus CAP_PERFMON), which bpf_token_capable() grants to user-namespace CAP_SYS_ADMIN holders (e.g. unshare -Urn) and delegated BPF token users, not only init-namespace root. UI:N - No victim interaction is required; the attacker triggers map recycle from their own loaded BPF program or concurrent bpf() map operations during tracing/perf events they control. S:U - Impact stays within kernel memory and privilege boundaries (deadlock, oops, memory corruption, potential local privilege escalation) and does not cross VM, container, or IOMMU security scopes on its own. C:H - Recycling map values from NMI/atomic tracing context runs bpf_obj_free_fields() kptr destructors, uptr unpinning, and graph teardown unsafely, enabling use-after-free and inconsistent object lifetimes that can be turned into arbitrary kernel memory disclosure. I:H - The same unsafe recycle path performs non-NMI-safe kptr destructor calls, recursive __bpf_obj_drop_impl() graph freeing, and uptr unpinning from wrong context, giving plausible heap corruption and control-flow hijack primitives beyond a simple crash. A:H - Calling bpf_obj_free_fields() from NMI/tracing contexts can deadlock on BPF/hash locks (documented IN-NMI lockdep failures in related BPF LRU fixes) or panic/oops via illegal page unpinning and destructor execution, fully denying kernel availability.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 14a324f6a67ef6a53e04362a70160a47eb8afffa to < 9ea734e2cc0143d7429ab7dc0b20c85e5836183c (affected · git)14a324f6a67ef6a53e04362a70160a47eb8afffa to < a3a81d247651218e47153f2d2afd7aee236726fd (affected · git)f0462d38589422bc9e27fd3c6343dfeb6b3db2f9 (affected · git)5.18.18 to < 5.19 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 5.19 (affected)0 to < 5.19 (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: Cancel special fields on map value recycle
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1f04efbbebdb654b840110507952ed9a25b0b8d72948797cfd59c35b1c784992
- Ingested
- 16 Oct 2026, 19:00:49 UTC
- Source record
- Official CVE record