Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA40A4457B7 for ; Wed, 26 Aug 2026 14:38:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787755130; cv=none; b=WFOhDPyNZ6hI/biY73O7Jpp3TFLRpRtwuI7EAtnQpzeXMhGPGwiGAkiJFMqptpLC7TB8KGtt+g1tnwWig88hCQRVvZG2Os8B8aXxnzwn1jv8v9Khpivp1t1FSk5ZqBqT3Zice8ohVbdupVKnA/tPHVXGkrfmOUqRO6JK7uDPL6Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787755130; c=relaxed/simple; bh=rt3g2d6RPHVHhWp/Yw7UhaTy6Xs1CK7NqJazPcoLrGU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mmG/Or+52o8x5D7bk5GHCFO3tr20u/UQ+ShbsP51QU6yaAfBu4EDsnSGFXR728D0foux/6c7oITVdK+GzY8GI/B99lSJ2uXu4ATAaIJ8r0T52pNegoFrSj55AnB7CtbxM7dkbqraE9AEiMqrE2oIwmnT5uP7M+tjEfJn2h0qs/M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FO5JyeDh; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="FO5JyeDh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB2081F000E9; Wed, 26 Aug 2026 14:38:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787755126; bh=nkG9pAvYdYJiIJV6821rYA036uzwiSOUL3JpX8nd7gI=; h=From:To:Cc:Subject:Date:Reply-To; b=FO5JyeDhJlPrdKh1vgGUSind7uTcCIbB83Wsm5YRx50uyuBylQn5Iufl253eFdAje /KxpXCCXXLu8ni5cv9wUjS6sy5iWwxGP9+C2TkAnCaTtRtioY3NGcItimvdJizs86Q HPOPf0I8R8E1Upn6YsfMdXraW/TYk3NUhr7XuW/I= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74741: net: ngbe: fix NULL pointer dereference in non-MSI-X interrupt enabling Date: Wed, 26 Aug 2026 16:37:01 +0200 Message-ID: <2026082657-CVE-2026-74741-6e2b@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2734; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=MuiXOdQmq6ntmQCRwAdu6YrPVs6H1Vce1IzAgc1HwXE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFl9vzg7o7902fFe4lwQZHXtY/Jyi0m+uQaufWby69ofz c9tsnnUEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPZ/4phvvPJ2JNcNt47m/Z+ nbfbynfeK4+tTgzzdIvdglImLz7MsbpQX7jI9q7F9NbfAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: net: ngbe: fix NULL pointer dereference in non-MSI-X interrupt enabling In non-MSI-X mode (such as legacy INTx or single MSI), wx->msix_entry is not allocated or initialized. Calling NGBE_INTR_MISC(wx) dereferences wx->msix_entry->entry, leading to a NULL pointer dereference crash. This issue was introduced by fixing the IRQ vector when the number of VFs is 7. Fix the issue by explicitly checking `pdev->msix_enabled` to determine the correct vector index. Additionally, as a side fix, set the interrupt mask to BIT(0) for the non-MSI-X fallback. In MSI/INTx mode, the MISC and queue interrupts share vector 0, and the WX_PX_MISC_IVAR register is only valid in the MSI-X case. Thus, BIT(0) is the correct mask for the miscellaneous cause when MSI-X is disabled. The Linux kernel CVE team has assigned CVE-2026-74741 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 4174c0c331a2aa3322d3b3be532808deb041b37d and fixed in 6.18.46 with commit cef4c5b9aca24651d069adf9462b221df6a2a669 Issue introduced in 6.16 with commit 4174c0c331a2aa3322d3b3be532808deb041b37d and fixed in 7.1.10 with commit 0ab482b2195edc000262f0eae1cdcb416b8f335d Issue introduced in 6.16 with commit 4174c0c331a2aa3322d3b3be532808deb041b37d and fixed in 7.2 with commit 5f3a13e0bb5ebcc1ca2dfda42ea40b9f3c2be6ea 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-74741 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/wangxun/ngbe/ngbe_main.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/cef4c5b9aca24651d069adf9462b221df6a2a669 https://git.kernel.org/stable/c/0ab482b2195edc000262f0eae1cdcb416b8f335d https://git.kernel.org/stable/c/5f3a13e0bb5ebcc1ca2dfda42ea40b9f3c2be6ea