CVE-2026-53089

bpf: Fix use-after-free in offloaded map/prog info fill

No CVSS score yet EPSS 0.12%

Published 24 Jun 2026 Updated 6 Nov 2026 CNA: Linux

Check your servers for CVE-2026-53089

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

Check my servers

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.

Exploitation

EPSS 0.12%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 1.85% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 6 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 675fc275a3a2d905535207237402c6d8dcb5fa4b, before 43d6848a2a6c92ccfd614d9f0bb6fd85b95dfa9d
affected from 675fc275a3a2d905535207237402c6d8dcb5fa4b, before 642943ae5bdacabc8109dc4a5e0ebb4a6b99ef3e
affected from 675fc275a3a2d905535207237402c6d8dcb5fa4b, before fea55b034328feaafef75aee252f305e6f85a991
affected from 675fc275a3a2d905535207237402c6d8dcb5fa4b, before 5662dac41a3442aa378d7c405164903eb109fc05
affected from 675fc275a3a2d905535207237402c6d8dcb5fa4b, before 1a2dc103e16448d022a77ad5fc3234641436c4b7
affected from 675fc275a3a2d905535207237402c6d8dcb5fa4b, before 85dc711f742b192eb97c0e00b521312f5a7a415e
affected from 675fc275a3a2d905535207237402c6d8dcb5fa4b, before a51e7fbe94a87e236631a83973d4f558310b2cd2
affected from 675fc275a3a2d905535207237402c6d8dcb5fa4b, before a0c584fc18056709c8e047a82a6045d6c209f4ce
Other versions: unaffected
Linux
affected 4.16
unaffected before 4.16
unaffected from 5.10.269 up to and including 5.10.*
unaffected from 5.15.220 up to and including 5.15.*
unaffected from 6.1.187 up to and including 6.1.*
unaffected from 6.6.156 up to and including 6.6.*
unaffected from 6.12.108 up to and including 6.12.*
unaffected from 6.18.49 up to and including 6.18.*
unaffected from 7.0.10 up to and including 7.0.*
unaffected 7.1 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-53089 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-53089

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-53089
trivy image --scanners vuln IMAGE | grep CVE-2026-53089

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

Source: the record CVE-2026-53089 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.