Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-90300.json
JSON Data
https://api.osv.dev/v1/vulns/AZL-90300
Upstream
Published
2026-06-24T17:17:23Z
Modified
2026-08-29T05:27:27Z
Summary
CVE-2026-53089 affecting package kernel 6.6.150.1-1
Details

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, bpfmapoffloadinfofillns() and bpfprogoffloadinfofillns() obtain the network namespace with getnet(devnet(offmap->netdev)). However, the associated netdev's netns may be racing with teardown during netns destruction. If the netns refcount has already reached 0, getnet() performs a refcountt increment on 0, triggering:

refcount_t: addition on 0; use-after-free.

Although rtnllock and bpfdevs_lock ensure the netdev pointer remains valid, they cannot prevent the netns refcount from reaching zero.

Fix this by using maybegetnet() instead of getnet(). maybegetnet() uses refcountincnotzero() and returns NULL if the refcount is already zero, which causes nsgetpath_cb() to fail and the caller to return -ENOENT -- the correct behavior when the netns is being destroyed.

References

Affected packages

Azure Linux:3 / kernel

Package

Name
kernel
Purl
pkg:rpm/azure-linux/kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
6.6.150.1-1

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-90300.json"