bnge: return after auxiliary_device_uninit() in error path (Linux Linux)

CVE-2026-31621
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.12 % · centile 2 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

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

Faiblesses (CWE)

  • CWE-908 — Utilisation d'une ressource non initialisée

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 8ac050ec3b1c0dcb5e89cf86fe2ebe0afcc73554 < 38c383ec6d37f4b5597f8e6a1f5c2ab31ea01d3a ; affected 8ac050ec3b1c0dcb5e89cf86fe2ebe0afcc73554 < 87bc3557c708110d83086bf091328271298a44e3 ; affected 8ac050ec3b1c0dcb5e89cf86fe2ebe0afcc73554 < 8b0c25528cb64f71a73b5c0d49cbbcb68540a4ce
Linux · Linuxaffected 6.19 ; unaffected 0 < 6.19 ; unaffected 6.19.14 ≤ 6.19.* ; unaffected 7.0.1 ≤ 7.0.* ; unaffected 7.1 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD