# CVE-2026-31621: bnge: return after auxiliary_device_uninit() in error path

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-04-24T14:42:39.274Z
- Modified: 2026-11-11T23:10:00.263Z
- Weaknesses: CWE-908
- Assigned by: Linux

## 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...)

(As written by CVE List.)

## Affected

- Linux Linux: from 8ac050ec3b1c0dcb5e89cf86fe2ebe0afcc73554 before 38c383ec6d37f4b5597f8e6a1f5c2ab31ea01d3a; from 8ac050ec3b1c0dcb5e89cf86fe2ebe0afcc73554 before 87bc3557c708110d83086bf091328271298a44e3; from 8ac050ec3b1c0dcb5e89cf86fe2ebe0afcc73554 before 8b0c25528cb64f71a73b5c0d49cbbcb68540a4ce; 6.19 (not affected: before 6.19; from 6.19.14 up to 6.19.*; from 7.0.1 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.19 before 6.19.14; from 7.0 before 7.0.1

## References

- <https://git.kernel.org/stable/c/38c383ec6d37f4b5597f8e6a1f5c2ab31ea01d3a> (patch)
- <https://git.kernel.org/stable/c/87bc3557c708110d83086bf091328271298a44e3> (patch)
- <https://git.kernel.org/stable/c/8b0c25528cb64f71a73b5c0d49cbbcb68540a4ce> (patch)

## Sources

- CVE List: [CVE-2026-31621](https://www.cve.org/CVERecord?id=CVE-2026-31621), CVE Terms of Use, modified 2026-06-14
- NVD: [CVE-2026-31621](https://nvd.nist.gov/vuln/detail/CVE-2026-31621), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-31621 · Whole record: https://cve.day/CVE-2026-31621.json · Rebuilt by cve.day 2026-11-25T22:59:19.519Z
