Skip to content
Heist/ feed
Back to feed
UnratedFix available

bnge: return after auxiliary_device_uninit() in error path

Type: advisorySources: OSV

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

Products
Kernel
Affected versions
Not specified
Fixed versions
6.19.14, 7.0.1
CVEs
CVE-2026-31621
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 14:46 UTC · Revision 1

Source evidence

bnge: return after auxiliary_device_uninit() in error path

core-osv · Original source

Published 24 Apr 2026, 14:42 UTC

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

osv:CVE-2026-31621

Kernel

Fixed versions: 6.19.14, 7.0.1

Complete source record
{
  "id": "b67f0e6ffb08e0671c4f6487339004b155311de2142cea3d3d00e603897944b9",
  "url": "https://osv.dev/vulnerability/CVE-2026-31621",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "bnge: return after auxiliary_device_uninit() in error path",
    "summary": "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...)",
    "evidence": "osv:CVE-2026-31621",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.19.14",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.0.1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-31621",
      "aliases": [
        "CVE-2026-31621"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "8ac050ec3b1c0dcb5e89cf86fe2ebe0afcc73554"
                },
                {
                  "fixed": "38c383ec6d37f4b5597f8e6a1f5c2ab31ea01d3a"
                },
                {
                  "fixed": "87bc3557c708110d83086bf091328271298a44e3"
                },
                {
                  "fixed": "8b0c25528cb64f71a73b5c0d49cbbcb68540a4ce"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31621.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "6.19.14"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.20.0"
                },
                {
                  "fixed": "7.0.1"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31621.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.801064026Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/38c383ec6d37f4b5597f8e6a1f5c2ab31ea01d3a",
        "https://git.kernel.org/stable/c/87bc3557c708110d83086bf091328271298a44e3",
        "https://git.kernel.org/stable/c/8b0c25528cb64f71a73b5c0d49cbbcb68540a4ce",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31621.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-31621",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31621.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-31621",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 496497,
  "published_at": "2026-04-24T14:42:39.274+00:00"
}