Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 65748341AC6 for ; Tue, 16 Dec 2025 13:45:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765892719; cv=none; b=ngPEBS0Ro0eEeyk+3sPMhgSGRn6geHWvZHgUE8UUj1k4nMJHaJ7egExtsTyGWJMNYkGnP6Ir2nUmBTH8YdQsZHTvKFi6IdrWyCniNnHJ78UKXQHcSmgBkUb58gQZevuzLpTS9kvuVfHuOfkSM8y0/q5ifNeP36FLEA6DYwZp+jk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765892719; c=relaxed/simple; bh=7PWEHXMjQ2TJB4e7t+WmSLfvoQGHZil+dIcG9/zzsz4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bUYbYF0AFsf4caRe+4oAmruVtszklusruZDs6iXUyEbkfL/iUIVbglR5pPJbZNjGIQpGOX8y8q+abnwUpjiDHzZoeorkZIRpkoeaxcf03lm2nIvt6PIqBpGoU/nkJZKK/ShqvvWjb5KsLbjQNqwwaLOtITQwrn1NoyySBhbOG2c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rn+uq6x+; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="rn+uq6x+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB5D7C4CEF1; Tue, 16 Dec 2025 13:45:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765892719; bh=7PWEHXMjQ2TJB4e7t+WmSLfvoQGHZil+dIcG9/zzsz4=; h=From:To:Cc:Subject:Date:Reply-To:From; b=rn+uq6x+TOiogkoEVczNzOODrAtznmxJNZlRwt302Ng9DXzzL0h2I3RF3do9DpcE6 6lE2eRpyNO8RQcy6mcWh+ybz3oMWmnLEiIhE4HxnLwgYEITW8jIxSQx7BjeisQDXNb qv3UC1MlYD8JDa63/Ov/238POpJfB1/0Mh8BlRcg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68176: PCI: cadence: Check for the existence of cdns_pcie::ops before using it Date: Tue, 16 Dec 2025 14:43:37 +0100 Message-ID: <2025121630-CVE-2025-68176-4be5@gregkh> X-Mailer: git-send-email 2.52.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=DGY0/ZaIxRh96CQvSKbuXedYVazn/6hZfzEiKBEGIyo=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmOSUxn0tUu3Is6xZg7USBwnpv5D4b3CsE3t/BaxfEzO 9aWlyZ3xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwESOlzPMYn6d2MkW7yT5s2GX Wuq0preTT1WYMCyY7Nt6dtJPZvPmZzafMqX55a93PegEAA== 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: PCI: cadence: Check for the existence of cdns_pcie::ops before using it cdns_pcie::ops might not be populated by all the Cadence glue drivers. This is going to be true for the upcoming Sophgo platform which doesn't set the ops. Hence, add a check to prevent NULL pointer dereference. [mani: reworded subject and description] The Linux kernel CVE team has assigned CVE-2025-68176 to this issue. Affected and fixed versions =========================== Fixed in 5.10.247 with commit d5dbe92ac8a4ca6226093241f95f9cb1b0d2e0e1 Fixed in 5.15.197 with commit eb3d29ca0820fa3d7cccad47d2da56c9ab5469ed Fixed in 6.1.159 with commit 0d0bb756f002810d249caee51f3f1c309f3cdab5 Fixed in 6.6.117 with commit 1810b2fd7375de88a74976dcd402b29088e479ed Fixed in 6.12.58 with commit 953eb3796ef06b8ea3bf6bdde14156255bc75866 Fixed in 6.17.8 with commit 363448d069e29685ca37a118065121e486387af3 Fixed in 6.18 with commit 49a6c160ad4812476f8ae1a8f4ed6d15adfa6c09 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-2025-68176 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/pci/controller/cadence/pcie-cadence-host.c drivers/pci/controller/cadence/pcie-cadence.c drivers/pci/controller/cadence/pcie-cadence.h 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/d5dbe92ac8a4ca6226093241f95f9cb1b0d2e0e1 https://git.kernel.org/stable/c/eb3d29ca0820fa3d7cccad47d2da56c9ab5469ed https://git.kernel.org/stable/c/0d0bb756f002810d249caee51f3f1c309f3cdab5 https://git.kernel.org/stable/c/1810b2fd7375de88a74976dcd402b29088e479ed https://git.kernel.org/stable/c/953eb3796ef06b8ea3bf6bdde14156255bc75866 https://git.kernel.org/stable/c/363448d069e29685ca37a118065121e486387af3 https://git.kernel.org/stable/c/49a6c160ad4812476f8ae1a8f4ed6d15adfa6c09