{"id":"CVE-2026-31621","aliases":["CVE-2026-31621"],"related":[],"kind":"vulnerability","state":"published","title":"bnge: return after auxiliary_device_uninit() in error path","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbnge: return after auxiliary_device_uninit() in error path\n\nWhen auxiliary_device_add() fails, the error block calls\nauxiliary_device_uninit() but does not return.  The uninit drops the\nlast reference and synchronously runs bnge_aux_dev_release(), which sets\nbd->auxr_dev = NULL and frees the underlying object.  The subsequent\nbd->auxr_dev->net = bd->netdev then dereferences NULL, which is not a\ngood thing to have happen when trying to clean up from an error.\n\nAdd the missing return, as the auxiliary bus documentation states is a\nrequirement (seems that LLM tools read documentation better than humans\ndo...)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbnge: return after auxiliary_device_uninit() in error path\n\nWhen auxiliary_device_add() fails, the error block calls\nauxiliary_device_uninit() but does not return.  The uninit drops the\nlast reference and synchronously runs bnge_aux_dev_release(), which sets\nbd->auxr_dev = NULL and frees the underlying object.  The subsequent\nbd->auxr_dev->net = bd->netdev then dereferences NULL, which is not a\ngood thing to have happen when trying to clean up from an error.\n\nAdd the missing return, as the auxiliary bus documentation states is a\nrequirement (seems that LLM tools read documentation better than humans\ndo...)","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nbnge: retornar después de auxiliary_device_uninit() en la ruta de error\n\nCuando auxiliary_device_add() falla, el bloque de error llama a auxiliary_device_uninit() pero no retorna. La desinicialización libera la última referencia y ejecuta sincrónicamente bnge_aux_dev_release(), lo que establece bd  ->  auxr_dev = NULL y libera el objeto subyacente. La subsiguiente operación bd  ->  auxr_dev  ->  net = bd  ->  netdev entonces desreferencia NULL, lo cual no es algo bueno que ocurra al intentar limpiar un error.\n\nAñadir el retorno faltante, ya que la documentación del bus auxiliar establece que es un requisito (parece que las herramientas LLM leen la documentación mejor que los humanos...).","source":"nvd"}],"published":"2026-04-24T14:42:39.274Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-908"],"affected":[{"ranges":[{"type":"git","introduced":"8ac050ec3b1c0dcb5e89cf86fe2ebe0afcc73554","fixed":"38c383ec6d37f4b5597f8e6a1f5c2ab31ea01d3a","status":"affected"},{"type":"git","introduced":"8ac050ec3b1c0dcb5e89cf86fe2ebe0afcc73554","fixed":"87bc3557c708110d83086bf091328271298a44e3","status":"affected"},{"type":"git","introduced":"8ac050ec3b1c0dcb5e89cf86fe2ebe0afcc73554","fixed":"8b0c25528cb64f71a73b5c0d49cbbcb68540a4ce","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.19","status":"unaffected"},{"type":"semver","introduced":"6.19.14","lastAffected":"6.19.*","status":"unaffected"},{"type":"semver","introduced":"7.0.1","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.19","fixed":"6.19.14"},{"status":"affected","introduced":"7.0","fixed":"7.0.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/38c383ec6d37f4b5597f8e6a1f5c2ab31ea01d3a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/87bc3557c708110d83086bf091328271298a44e3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8b0c25528cb64f71a73b5c0d49cbbcb68540a4ce","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31621","url":"https://www.cve.org/CVERecord?id=CVE-2026-31621","licence":"CVE Terms of Use","modified":"2026-06-14T17:43:07.914Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31621","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31621","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:19.519Z","epss":{"score":0.00125,"percentile":0.0241,"date":"2026-12-01T12:00:22.000Z"}}