CVE-2026-90393
bpf: Fix potential UAF in bpf_netns_link_update_prog
Check your servers for CVE-2026-90393
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-90393 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 8.85% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, before d462b5481d77ce7df8a5ff89a699386f00c9214d affected from 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, before bdddf3e1493ee973619c154a57071ce67f78598b affected from 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, before 79a66fd997d4eecf17302d613194879eb32e0986 affected from 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, before f4ce6803df4095777191d800bebc50219b615ca0 affected from 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, before 277168cb9d153ce8e9c3f9275670e32ae61b41d6 affected from 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, before bda86e9f31b9a296b6e64a51c91dc776fc9f613e affected from 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, before 923f559e95b89b33c7e1793b3d8f7f4ec9b2e4b7 affected from 7f045a49fee04b5662cbdeaf0838f9322ae8c63a, before 5c5997836381010fc5907b36bc17d3b19407e933
Other versions: unaffected
|
| Linux |
affected 5.8 unaffected before 5.8 unaffected from 5.10.270 up to and including 5.10.* unaffected from 5.15.221 up to and including 5.15.* unaffected from 6.1.188 up to and including 6.1.* unaffected from 6.6.157 up to and including 6.6.* unaffected from 6.12.110 up to and including 6.12.* unaffected from 6.18.52 up to and including 6.18.* unaffected from 7.2.6 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-90393 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-90393
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-90393
trivy image --scanners vuln IMAGE | grep CVE-2026-90393
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/d462b5481d77ce7df8a5ff89a699386f00c9214d git.kernel.org
- https://git.kernel.org/stable/c/bdddf3e1493ee973619c154a57071ce67f78598b git.kernel.org
- https://git.kernel.org/stable/c/79a66fd997d4eecf17302d613194879eb32e0986 git.kernel.org
- https://git.kernel.org/stable/c/f4ce6803df4095777191d800bebc50219b615ca0 git.kernel.org
- https://git.kernel.org/stable/c/277168cb9d153ce8e9c3f9275670e32ae61b41d6 git.kernel.org
- https://git.kernel.org/stable/c/bda86e9f31b9a296b6e64a51c91dc776fc9f613e git.kernel.org
- https://git.kernel.org/stable/c/923f559e95b89b33c7e1793b3d8f7f4ec9b2e4b7 git.kernel.org
- https://git.kernel.org/stable/c/5c5997836381010fc5907b36bc17d3b19407e933 git.kernel.org
Source: the record CVE-2026-90393 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse