Linux kernel: bpf: Fix potential UAF in bpf_netns_link_update_prog
Overview
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix potential UAF in bpf_netns_link_update_prog In bpf_netns_link_update_prog, the checks for old_prog and prog type are currently performed locklessly before acquiring netns_bpf_mutex. This creates a race condition that can lead to a UAF issue. If two threads concurrently execute BPF_LINK_UPDATE on the same netns link, the following execution path can trigger a UAF: CPU0 CPU1 bpf_netns_link_update_prog if (old_prog && old_prog != link->prog) return -EPERM; bpf_netns_link_update_prog if (old_prog && old_prog != link->prog) ... old_prog = xchg(&link->prog, new_prog); bpf_prog_put(old_prog); if (new_prog->type != link->prog->type) <-- trigger UAF Fix this by moving the old_prog and prog->type checks inside the netns_bpf_mutex critical section. Meanwhile, use guard() to simplify lock management and avoid all the goto jumping.
- Published
- 9/17/2026
- Last modified
- 10/19/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
Linux Linux | ≥ 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, < d462b5481d77ce7df8a5ff89a699386f00c9214d | Verify advisory | Source |
Linux Linux | ≥ 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, < bdddf3e1493ee973619c154a57071ce67f78598b | Verify advisory | Source |
Linux Linux | ≥ 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, < 79a66fd997d4eecf17302d613194879eb32e0986 | Verify advisory | Source |
Linux Linux | ≥ 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, < f4ce6803df4095777191d800bebc50219b615ca0 | Verify advisory | Source |
Linux Linux | ≥ 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, < 277168cb9d153ce8e9c3f9275670e32ae61b41d6 | Verify advisory | Source |
Linux Linux | ≥ 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, < bda86e9f31b9a296b6e64a51c91dc776fc9f613e | Verify advisory | Source |
Linux Linux | ≥ 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, < 923f559e95b89b33c7e1793b3d8f7f4ec9b2e4b7 | Verify advisory | Source |
Linux Linux | ≥ 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, < 5c5997836381010fc5907b36bc17d3b19407e933 | Verify advisory | Source |
Linux Linux | 5.8 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
No CVSS score is published for this record yet. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.