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 A14B721FF25 for ; Sun, 18 Oct 2026 15:34:01 +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=1792337642; cv=none; b=iOXiUptKJ1vJZb1bcb4btzE9oRMf71JgWuSRJ4nd8pui4nx/AJqIw5SdaqLBfep27673kv/Ls22pILTz+Tt3FQfpB0fDK86mAcYZJoSZGK7ArLp5Sx7F1tqeVKrMYM9xwhE5ToxbBGdRoI4Z0EZvL4cNZh7iMvjXiUMjpWdFWfs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337642; c=relaxed/simple; bh=ZtMtNz/oS+ZIrHqIdNZ4GBp5c4l45h1+px7GV4Doks0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MnvVUJuRLDzoTeg/ysrMNUP1DkgrqNsi4Xsj3y9SK8oXCgMEnVOi0csQoxNaelZMHj8Dj0KohsniRFU1uqXiz4vm/QrpdXIbOviZfhtL9A+Bv5zZynuW9hIVSp+wovl3/S93IRaaJIrWjFIMAzwg9z+zHh2m4KoMIWwfESARcQ8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZMuPpNGg; 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="ZMuPpNGg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D9E611F000C4; Sun, 18 Oct 2026 15:34:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792337641; bh=Zjsyd7zNH+OCIuH8CZ5XhKQhI6VrHfxXDME0A0YiIf8=; h=From:To:Cc:Subject:Date:Reply-To; b=ZMuPpNGgO2Rsx0458qn14jW4Gx+UiQMx9LYQep1eFywH/WTk6BgsFQ7slqJTRCDq5 m8Lv4Gn23Fu/ICx02CkHDWAQoXcMWwpqyl4LoWOSmaNm0bpuiya8HWVUE6DKXFNkAt E48mL8stDdr7BcVismWMsYvRJKkKxbet9Ob12k5c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98616: eth: fbnic: reset num_napi when the napi vectors are freed Date: Sun, 18 Oct 2026 17:18:00 +0200 Message-ID: <2026101841-CVE-2026-98616-509c@gregkh> X-Mailer: git-send-email 2.56.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=3447; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=LXBQ7JLrxc0euMwNR94iKzEZXfW7GZFt/NDE6kh1a2I=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHs1N455c8qqVN+qsM8eZ2rTM4/+cW75Urvt6X2FNT Li2sWVrRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExkFwPDPMPHlhLnjzxeL3a0 YrO82tVm3tbILQwLGtMa1WsulTL9Kv53/tCfjRKOv8P+AgA= 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: eth: fbnic: reset num_napi when the napi vectors are freed fbn->num_napi is the count of live napi vectors, each of which owns an IRQ. The PM path had freed them without clearing the count. fbnic_pm_suspend() tears the datapath down via ndo_stop() and frees the IRQs, but leaves netif_running() true so resume knows to re-open. Resume rebuilds the datapath in __fbnic_pm_resume() and fbnic_reset_queues() sets num_napi and __fbnic_open() re-allocates the vectors. When the datapath is torn down but never rebuilt, num_napi is left pointing at freed vectors under 2 different scenarios: - a PCIe error recovery that fails (fbnic_err_slot_reset() -> __fbnic_pm_resume() returns an error -> PCI_ERS_RESULT_DISCONNECT), so .resume never runs; or - an __fbnic_open() that fails partway on resume and unwinds, freeing the vectors after fbnic_reset_queues() has already set num_napi. The netdev is then running with num_napi > 0 but napi[] freed, and the eventual remove/unbind close re-enters fbnic_down() -> fbnic_dbg_down() and dereferences the freed vectors: BUG: kernel NULL pointer dereference, address: 0000000000000210 RIP: fbnic_dbg_down+0x28 Clear num_napi when the vectors are freed: in the suspend teardown (a good resume re-establishes it before __fbnic_open()) and on the resume open failure. A redundant ndo_stop() then walks an empty napi[]. The normal ndo_stop() down/up cycle is untouched and keeps num_napi for the next ndo_open(). The Linux kernel CVE team has assigned CVE-2026-98616 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit bc6107771bb4be3009168cfda24d22131c026fe8 and fixed in 6.18.55 with commit c5b5aee41b9f5ed0743344be1c7b544555fa3cb9 Issue introduced in 6.11 with commit bc6107771bb4be3009168cfda24d22131c026fe8 and fixed in 7.2.9 with commit 4f4b767ffea7653a00904383908536e754f8ef5b Issue introduced in 6.11 with commit bc6107771bb4be3009168cfda24d22131c026fe8 and fixed in 7.3-rc5 with commit 4bcc4a92c603fe7f062cea22e20da2e0ad6b12c3 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-98616 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/meta/fbnic/fbnic_pci.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/c5b5aee41b9f5ed0743344be1c7b544555fa3cb9 https://git.kernel.org/stable/c/4f4b767ffea7653a00904383908536e754f8ef5b https://git.kernel.org/stable/c/4bcc4a92c603fe7f062cea22e20da2e0ad6b12c3