CVE-2026-31621

bnge: return after auxiliary_device_uninit() in error path

No CVSS score yet EPSS 0.12%

Published 24 Apr 2026 Updated 14 Jun 2026 CNA: Linux

Check your servers for CVE-2026-31621

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-31621 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:

bnge: return after auxiliary_device_uninit() in error path

When auxiliary_device_add() fails, the error block calls auxiliary_device_uninit() but does not return. The uninit drops the last reference and synchronously runs bnge_aux_dev_release(), which sets bd->auxr_dev = NULL and frees the underlying object. The subsequent bd->auxr_dev->net = bd->netdev then dereferences NULL, which is not a good thing to have happen when trying to clean up from an error.

Add the missing return, as the auxiliary bus documentation states is a requirement (seems that LLM tools read documentation better than humans do...)

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 2.41% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 8ac050ec3b1c0dcb5e89cf86fe2ebe0afcc73554, before 38c383ec6d37f4b5597f8e6a1f5c2ab31ea01d3a
affected from 8ac050ec3b1c0dcb5e89cf86fe2ebe0afcc73554, before 87bc3557c708110d83086bf091328271298a44e3
affected from 8ac050ec3b1c0dcb5e89cf86fe2ebe0afcc73554, before 8b0c25528cb64f71a73b5c0d49cbbcb68540a4ce
Other versions: unaffected
Linux
affected 6.19
unaffected before 6.19
unaffected from 6.19.14 up to and including 6.19.*
unaffected from 7.0.1 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-31621 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31621

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

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