CVE-2026-31621

bnge: return after auxiliary_device_uninit() in error path

State
Published
Severity
Not scored
Published
Apr 24, 2026
Updated
Jun 14, 2026
Reserved
Mar 9, 2026

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 8ac050ec3b1c0dcb5e89cf86fe2ebe0afcc73554 to before 38c383ec6d37f4b5597f8e6a1f5c2ab31ea01d3aAffected
  • 8ac050ec3b1c0dcb5e89cf86fe2ebe0afcc73554 to before 87bc3557c708110d83086bf091328271298a44e3Affected
  • 8ac050ec3b1c0dcb5e89cf86fe2ebe0afcc73554 to before 8b0c25528cb64f71a73b5c0d49cbbcb68540a4ceAffected
LinuxLinux
  • 6.19Affected
  • before 6.19Not affected
  • 6.19.14 through 6.19.*Not affected
  • 7.0.1 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.