CVE-2026-68375: bnxt_en: Handle partially initialized auxiliary devices
Greg Kroah-Hartman <[email protected]>
| Newsgroups | org.kernel.vger.linux-cve-announce |
|---|---|
| Message-ID | <2026081043-CVE-2026-68375-b2c6@gregkh> |
From: Greg Kroah-Hartman <[email protected]> Description =========== In the Linux kernel, the following vulnerability has been resolved: bnxt_en: Handle partially initialized auxiliary devices bnxt_aux_devices_init() calls auxiliary_device_init() before all fields used by bnxt_aux_dev_release() are initialized. After auxiliary_device_init() succeeds, later errors must unwind with auxiliary_device_uninit(), which invokes the release callback. The release callback assumes that aux_priv->id, aux_priv->edev, edev->net and edev->ulp_tbl are all populated. If allocation fails after auxiliary_device_init(), the release path can otherwise dereference or clear partially initialized state. Allocate and attach the bnxt_en_dev and ULP table before calling auxiliary_device_init(), so the release callback only sees a fully initialized auxiliary private object. If auxiliary_device_init() itself fails, free those allocations directly because device_initialize() has not run and the release callback will not be invoked. This issue was found by a static analysis checker and confirmed by manual source review. The Linux kernel CVE team has assigned CVE-2026-68375 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 194fad5b27815ca80e832ac875c0026ff96fc243 and fixed in 7.1.6 with commit 4e1caa5fdd0dea36938fe39cceb1522e9d86c937 Issue introduced in 6.10 with commit 194fad5b27815ca80e832ac875c0026ff96fc243 and fixed in 7.2-rc4 with commit 1cb8553c02e93e5a150cebd42f9ee3db0ece4707 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-68375 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/4e1caa5fdd0dea36938fe39cceb1522e9d86c937 https://git.kernel.org/stable/c/1cb8553c02e93e5a150cebd42f9ee3db0ece4707