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 AAAA44C8C54 for ; Sun, 18 Oct 2026 16:16:50 +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=1792340214; cv=none; b=DcqpM1bzdPUfEBAoJXmvqntemQxo6qKLqKPV2KVQPAVxVpVRwvNBOcJ42dg6oPxOz7kuXbDdHyrgkAC3ehwT/d6lDD25rHwMya+vIH/VVbDhg5lchqsfk9UlwpjYqdtE38WixNDaIeG5o1Ri6ipFUx7dTrYKMr9+vDM2hDtvbTA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792340214; c=relaxed/simple; bh=Avgkvcvr4Dsf8TVt55/xpIqJxk7B8itShYGTU9td7eU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Xuo1qkekiF6udIgCMNOtTXid3s1aGsoDb4V+ZbPuU9DtGRTnMCT3sFRQjKGgmNSFf64qNbVP2OpsUyMH5qk6d1OYhe0Jqt+WmwUy1zotk2Qi3leEPqSnPl5BM/zbrLmk7O7JAhUXC47JapCzxYHXfNikLGeHL5v+3YqED8AdPvY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=iXU2UiOu; 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="iXU2UiOu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AEA431F000C5; Sun, 18 Oct 2026 16:16:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792340210; bh=WQcPU8L+qnbEallsHvJGn4xWta6JPbzlVSAsZNX5ncg=; h=From:To:Cc:Subject:Date:Reply-To; b=iXU2UiOuS6bJw/a34LlXzRpeY+ylM9hazFb12IIGE370PDM4gJaR3nud19E3Av45I wp7l3yDOc9S0nSjJiJoSKPNdEXj33mdqTwerBYuFuNdph5qBAAeliMpSEKbu7/sR6D 10ebPckVuNkujZ/tjA4+3tUFdqNFEEpFXm5Ml3DQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98756: usb: cdns3: Fix NULL pointer dereference in cdns3_pci_probe Date: Sun, 18 Oct 2026 17:45:31 +0200 Message-ID: <2026101816-CVE-2026-98756-dda0@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=3480; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=kX/IUOeDWEjsAPcVTWkJtcY9oAbktVSqAioSNq4LZHo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXXgYsvenVmSMqPjtXevbti4bn07oM2uKeXbv06ozaL UumRQprOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiVkIM8wwfn322Q1l+gdjG tz0exnOzKtxUTjEsOHVRZl/mWa+WtTsFOkL2H/S1tK33BgA= 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: usb: cdns3: Fix NULL pointer dereference in cdns3_pci_probe The Cadence USBSS controller is a two-function PCI device. The first probed function allocates the driver data and stores it with pci_set_drvdata(), while the second function reuses it via pci_get_drvdata() when pci_is_enabled() reports that the first function has already been probed. When the second function is probed while the first one has been enabled but has not yet set its driver data, pci_get_drvdata() returns NULL, and the subsequent wrap->devfn assignment dereferences a NULL pointer and crashes the kernel. logs: Call trace: cdns3_pci_probe+0xa4/0x300 local_pci_probe+0x44/0xa8 pci_call_probe+0x54/0x158 pci_device_probe+0x84/0x100 really_probe+0x184/0x3d0 __driver_probe_device+0x80/0x178 driver_probe_device+0x44/0xe8 __driver_attach+0xec/0x1f8 bus_for_each_dev+0x7c/0xe0 driver_attach+0x28/0x38 bus_add_driver+0x110/0x238 driver_register+0x64/0x128 __pci_register_driver+0x50/0x60 cdns3_pci_driver_init+0x28/0x38 do_one_initcall+0x5c/0x280 do_initcalls+0x104/0x1d8 kernel_init_freeable+0x140/0x218 kernel_init+0x28/0x1f8 ret_from_fork+0x10/0x20 Return -EPROBE_DEFER in this case so that probing is retried after the first function has completed its probe. The Linux kernel CVE team has assigned CVE-2026-98756 to this issue. Affected and fixed versions =========================== Issue introduced in 5.4 with commit 7733f6c32e36ff9d7adadf40001039bf219b1cbe and fixed in 6.12.113 with commit 549c04df02f1bb5a10342f32e2c87f5d27c97279 Issue introduced in 5.4 with commit 7733f6c32e36ff9d7adadf40001039bf219b1cbe and fixed in 6.18.56 with commit d16046f1ace2691b6a946f022fe6dc215936880b Issue introduced in 5.4 with commit 7733f6c32e36ff9d7adadf40001039bf219b1cbe and fixed in 7.2.10 with commit 45b606418bae73c7cde9f0e57e5b0977c816a7c0 Issue introduced in 5.4 with commit 7733f6c32e36ff9d7adadf40001039bf219b1cbe and fixed in 7.3-rc6 with commit e5052f2c5c73c1dcca42bafc0bc737af2b2af059 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-98756 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/usb/cdns3/cdns3-pci-wrap.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/549c04df02f1bb5a10342f32e2c87f5d27c97279 https://git.kernel.org/stable/c/d16046f1ace2691b6a946f022fe6dc215936880b https://git.kernel.org/stable/c/45b606418bae73c7cde9f0e57e5b0977c816a7c0 https://git.kernel.org/stable/c/e5052f2c5c73c1dcca42bafc0bc737af2b2af059