CVE-2026-53089
Last modified
CVE-2026-53089 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: bpf: Fix use-after-free in offloaded map/prog info fill When querying info for an offloaded BPF map or program, bpf_map_offload_info_fill_ns() and bpf_prog_offload_info_fill_ns() obtain the network namespace with get_net(dev_net(offmap->netdev)). However, the associated netdev's netns may be racing with teardown during netns destruction. If the netns refcount has already reached 0, get_net() performs a refcount_t increment on 0, triggering: refcount_t: addition on 0; use-after-free. Although rtnl_lock and bpf_devs_lock ensure the netdev pointer remains valid, they cannot prevent the netns refcount from reaching zero. Fix this by using maybe_get_net() instead of get_net(). EPSS estimates a 0.14% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix use-after-free in offloaded map/prog info fill When querying info for an offloaded BPF map or program, bpf_map_offload_info_fill_ns() and bpf_prog_offload_info_fill_ns() obtain the network namespace with get_net(dev_net(offmap->netdev)). However, the associated netdev's netns may be racing with teardown during netns destruction. If the netns refcount has already reached 0, get_net() performs a refcount_t increment on 0, triggering: refcount_t: addition on 0; use-after-free. Although rtnl_lock and bpf_devs_lock ensure the netdev pointer remains valid, they cannot prevent the netns refcount from reaching zero. Fix this by using maybe_get_net() instead of get_net(). maybe_get_net() uses refcount_inc_not_zero() and returns NULL if the refcount is already zero, which causes ns_get_path_cb() to fail and the caller to return -ENOENT -- the correct behavior when the netns is being destroyed.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.16, < 7.0.10 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-53089?
How severe is CVE-2026-53089?
How do I fix CVE-2026-53089?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-53083In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-53084In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-53085In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-53086In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-53087In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-53088In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-5309GitLab has remediated an issue in GitLab EE affecting all ve…5.4
- CVE-2026-53090In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-53091In the Linux kernel, the following vulnerability has been re…8.4
- CVE-2026-53092In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-53093In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-53094In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2026-53089?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
