# CVE-2026-90393: bpf: Fix potential UAF in bpf\_netns\_link\_update\_prog

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **Published:** 2026-09-17T16:09:26.388Z
- **Modified:** 2026-10-19T09:19:33.373Z

## Who should check

- Anyone running Linux \>= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, \< d462b5481d77ce7df8a5ff89a699386f00c9214d; \>= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, \< bdddf3e1493ee973619c154a57071ce67f78598b; \>= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, \< 79a66fd997d4eecf17302d613194879eb32e0986; \>= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, \< f4ce6803df4095777191d800bebc50219b615ca0; \>= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, \< 277168cb9d153ce8e9c3f9275670e32ae61b41d6; \>= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, \< bda86e9f31b9a296b6e64a51c91dc776fc9f613e; \>= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, \< 923f559e95b89b33c7e1793b3d8f7f4ec9b2e4b7; \>= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, \< 5c5997836381010fc5907b36bc17d3b19407e933
- Anyone running Linux 5.8

## Description

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.

## Affected and fixed versions

- Linux: \>= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, \< d462b5481d77ce7df8a5ff89a699386f00c9214d; \>= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, \< bdddf3e1493ee973619c154a57071ce67f78598b; \>= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, \< 79a66fd997d4eecf17302d613194879eb32e0986; \>= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, \< f4ce6803df4095777191d800bebc50219b615ca0; \>= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, \< 277168cb9d153ce8e9c3f9275670e32ae61b41d6; \>= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, \< bda86e9f31b9a296b6e64a51c91dc776fc9f613e; \>= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, \< 923f559e95b89b33c7e1793b3d8f7f4ec9b2e4b7; \>= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, \< 5c5997836381010fc5907b36bc17d3b19407e933 (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- Upgrade Linux to 5c5997836381010fc5907b36bc17d3b19407e933 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-90393. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90393.md
Affected: Linux >= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, < d462b5481d77ce7df8a5ff89a699386f00c9214d; >= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, < bdddf3e1493ee973619c154a57071ce67f78598b; >= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, < 79a66fd997d4eecf17302d613194879eb32e0986; >= 7f045a49fee04b5662cbdea…
Fixed in: Linux 79a66fd997d4eecf17302d613194879eb32e0986, Linux 277168cb9d153ce8e9c3f9275670e32ae61b41d6, Linux 923f559e95b89b33c7e1793b3d8f7f4ec9b2e4b7, Linux 5c5997836381010fc5907b36bc17d3b19407e933

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.
```

## FAQ

### Is CVE-2026-90393 being exploited?

There is no confirmed exploitation: CVE-2026-90393 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-90393?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-90393?

Linux \>= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, \< d462b5481d77ce7df8a5ff89a699386f00c9214d; \>= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, \< bdddf3e1493ee973619c154a57071ce67f78598b; \>= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, \< 79a66fd997d4eecf17302d613194879eb32e0986; \>= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, \< f4ce6803df4095777191d800bebc50219b615ca0; \>= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, \< 277168cb9d153ce8e9c3f9275670e32ae61b41d6; \>= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, \< bda86e9f31b9a296b6e64a51c91dc776fc9f613e; \>= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, \< 923f559e95b89b33c7e1793b3d8f7f4ec9b2e4b7; \>= 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, \< 5c5997836381010fc5907b36bc17d3b19407e933; Linux 5.8.

### Is there a fix for CVE-2026-90393?

Yes. Fixed in Linux 79a66fd997d4eecf17302d613194879eb32e0986, Linux 277168cb9d153ce8e9c3f9275670e32ae61b41d6, Linux 923f559e95b89b33c7e1793b3d8f7f4ec9b2e4b7, Linux 5c5997836381010fc5907b36bc17d3b19407e933. Upgrade Linux to 5c5997836381010fc5907b36bc17d3b19407e933 or later.

### How do I check if I'm affected by CVE-2026-90393?

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.

## References

- other: <https://git.kernel.org/stable/c/d462b5481d77ce7df8a5ff89a699386f00c9214d>
- other: <https://git.kernel.org/stable/c/bdddf3e1493ee973619c154a57071ce67f78598b>
- other: <https://git.kernel.org/stable/c/79a66fd997d4eecf17302d613194879eb32e0986>
- other: <https://git.kernel.org/stable/c/f4ce6803df4095777191d800bebc50219b615ca0>
- other: <https://git.kernel.org/stable/c/277168cb9d153ce8e9c3f9275670e32ae61b41d6>
- other: <https://git.kernel.org/stable/c/bda86e9f31b9a296b6e64a51c91dc776fc9f613e>
- other: <https://git.kernel.org/stable/c/923f559e95b89b33c7e1793b3d8f7f4ec9b2e4b7>
- other: <https://git.kernel.org/stable/c/5c5997836381010fc5907b36bc17d3b19407e933>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-90393>

HTML: <https://flawdb.com/CVE-2026-90393> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-90393>
