CVE-2026-74314
bpf: Cancel special fields on map value recycle
Mitigation
- Upgrade Linux to 5.19 or later.
Who should check
- Anyone running Linux >= 14a324f6a67ef6a53e04362a70160a47eb8afffa, < 9ea734e2cc0143d7429ab7dc0b20c85e5836183c; >= 14a324f6a67ef6a53e04362a70160a47eb8afffa, < a3a81d247651218e47153f2d2afd7aee236726fd; f0462d38589422bc9e27fd3c6343dfeb6b3db2f9; >= 5.18.18, < 5.19
- Anyone running Linux 5.19
Vulnerability facts
- Affected
- Linux >= 14a324f6a67ef6a53e04362a70160a47eb8afffa, < 9ea734e2cc0143d7429ab7dc0b20c85e5836183c; >= 14a324f6a67ef6a53e04362a70160a47eb8afffa, < a3a81d247651218e47153f2d2afd7aee236726fd; f0462d38589422bc9e27fd3c6343dfeb6b3db2f9; >= 5.18.18, < 5.19; Linux 5.19
- Fixed in
- Linux 9ea734e2cc0143d7429ab7dc0b20c85e5836183c, Linux 5.19
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.18% chance of exploitation in 30 days (percentile 4, 2026-11-28)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 14a324f6a67ef6a53e04362a70160a47eb8afffa, < 9ea734e2cc0143d7429ab7dc0b20c85e5836183c; >= 14a324f6a67ef6a53e04362a70160a47eb8afffa, < a3a81d247651218e47153f2d2afd7aee236726fd; f0462d38589422bc9e27fd3c6343dfeb6b3db2f9; >= 5.18.18, < 5.19 | — | cvelist |
| Linux | 5.19 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-74314. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-74314.md Affected: Linux >= 14a324f6a67ef6a53e04362a70160a47eb8afffa, < 9ea734e2cc0143d7429ab7dc0b20c85e5836183c; >= 14a324f6a67ef6a53e04362a70160a47eb8afffa, < a3a81d247651218e47153f2d2afd7aee236726fd; f0462d38589422bc9e27fd3c6343dfeb6b3db2f9; >= 5.18.18, < 5.19; Linux 5.19 Fixed in: Linux 9ea734e2cc0143d7429ab7dc0b20c85e5836183c, Linux 5.19 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-74314 being exploited?
There is no confirmed exploitation: CVE-2026-74314 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-28).
How serious is CVE-2026-74314?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-74314?
Linux >= 14a324f6a67ef6a53e04362a70160a47eb8afffa, < 9ea734e2cc0143d7429ab7dc0b20c85e5836183c; >= 14a324f6a67ef6a53e04362a70160a47eb8afffa, < a3a81d247651218e47153f2d2afd7aee236726fd; f0462d38589422bc9e27fd3c6343dfeb6b3db2f9; >= 5.18.18, < 5.19; Linux 5.19.
Is there a fix for CVE-2026-74314?
Yes. Fixed in Linux 9ea734e2cc0143d7429ab7dc0b20c85e5836183c, Linux 5.19. Upgrade Linux to 5.19 or later.
How do I check if I'm affected by CVE-2026-74314?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.