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 703033D3009 for ; Sun, 18 Oct 2026 16:18:26 +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=1792340307; cv=none; b=l4xBty7piMwjD4+c/ISC/qU6lVBNugdqge3PC9SXlkiU5CKeFO2u5WNdMzm6Vj5AvYIsiOjRa6mhhMi9G1Qhnr+/H9hHTan2t8z9Ry25P6el7rQw9i7Ij6t74U6pH9FHBgl7TVvmokJL1kdesnUXcruNw4pnsd8wkonLBOt29SU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792340307; c=relaxed/simple; bh=aoah1eIwH9njm5sNB1LMDPbbk8inKhw9ZRcl0loqz7w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qLuEtWqaEcJRCxckbeBbBhEjMjRI1QuPEfVeP1c7l/XCQ2j/7wWjs5HsN+yr/8kMA/AL4WBQLKo8bGi8Ur4MzlfNhLmb17y2zlUXeBa4/Op1rGHSN+bXcVCC6B+pxHGPzhL88k7KJpiFxN1xdFEn4G/OiMZf8CssEsBcMg0AxsI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gUQ9IEhA; 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="gUQ9IEhA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9E8BE1F000C4; Sun, 18 Oct 2026 16:18:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792340306; bh=xLrd1Dweq+lpGRfa+azHFIBnUfL1L/v0dTSoqnZBtVg=; h=From:To:Cc:Subject:Date:Reply-To; b=gUQ9IEhAt7vEUPEODUfjErV9lOyVkMJyfP5XvqhZ4R0AAr+eDDYJm1440K7fltiic RiuxRynYYAXNDYC077O9KsSSloLNQYWzSS5SLXyaGnMknQApcf4jS1yE5Z19VXrQVU Bd0JBU6/uQNuXUCwCqvcxeF6rNLubj3gapmB+t1Y= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98798: net: bcmgenet: fix NULL dereference in set_coalesce before first open Date: Sun, 18 Oct 2026 17:46:13 +0200 Message-ID: <2026101824-CVE-2026-98798-c4aa@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=3473; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=g4Vent0blHhOMat55+DFCtnowk/qWLGvr/KPWtQ8Hq8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXXkYcWyNbrC+qKrE7WHrRpITlLrX5Yieit3hMaO3/y 3/F+yRnRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzElJNhQc+vCS4c9yxU2eXD Fs3UfpU8M+joI4a5kn7TLbZoFcf80Nr511L1dkUK1/lvAA== 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: bcmgenet: fix NULL dereference in set_coalesce before first open The Rx ring priv and index are only set in bcmgenet_init_rx_ring(), which runs at open. Setting the Rx coalescing parameters on an interface that was never opened, e.g. "ethtool -C eth0 rx-usecs 50", dereferences a NULL ring->priv. The oops happens with RTNL held, so networking stays stuck until a reboot: Unable to handle kernel paging request at virtual address 0000000000002788 pc : bcmgenet_set_rx_coalesce.isra.0+0x10/0x88 lr : bcmgenet_set_coalesce+0xe8/0x180 Call trace: bcmgenet_set_rx_coalesce.isra.0+0x10/0x88 (P) __ethnl_set_coalesce.isra.0+0x490/0x570 ethnl_set_coalesce+0x48/0xc0 ethnl_default_set_doit+0xf4/0x230 genl_family_rcv_msg_doit+0xe8/0x160 genl_rcv_msg+0x220/0x2a0 netlink_rcv_skb+0x68/0x140 genl_rcv+0x40/0x60 netlink_unicast+0x338/0x3c0 netlink_sendmsg+0x19c/0x3f8 __sock_sendmsg+0x64/0xc0 __sys_sendto+0x124/0x198 __arm64_sys_sendto+0x30/0x48 Set priv and index at probe. Writing the registers while the interface is down is harmless because open resets the MAC and bcmgenet_init_rx_coalesce() reapplies the stored values. It was observed on a Raspberry Pi CM4, but should apply to all other genet devices. The Linux kernel CVE team has assigned CVE-2026-98798 to this issue. Affected and fixed versions =========================== Issue introduced in 4.17 with commit 9f4ca05827a27ec73bf63a42732f1978b8a779af and fixed in 6.12.113 with commit 0d867b91598b6ed2f75998c34f4e2869631da31e Issue introduced in 4.17 with commit 9f4ca05827a27ec73bf63a42732f1978b8a779af and fixed in 6.18.56 with commit 2294b62eaec6fd3c76a261d287f66641eeafd5f0 Issue introduced in 4.17 with commit 9f4ca05827a27ec73bf63a42732f1978b8a779af and fixed in 7.2.10 with commit d870102b5425390cab42eebbf3d19ec6a43c6734 Issue introduced in 4.17 with commit 9f4ca05827a27ec73bf63a42732f1978b8a779af and fixed in 7.3-rc6 with commit 19419faf58dfe5bcc8a9e60e622976c5f8e3ddc1 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-98798 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/genet/bcmgenet.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/0d867b91598b6ed2f75998c34f4e2869631da31e https://git.kernel.org/stable/c/2294b62eaec6fd3c76a261d287f66641eeafd5f0 https://git.kernel.org/stable/c/d870102b5425390cab42eebbf3d19ec6a43c6734 https://git.kernel.org/stable/c/19419faf58dfe5bcc8a9e60e622976c5f8e3ddc1