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 BD701255F3C for ; Fri, 22 Aug 2025 16:02:30 +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=1755878550; cv=none; b=WtzadVuSXLsps+Yn3R7GuaxW3tsY6aKe8B7HaZl8jD3No0gqcNvKDqXEJCrzqQTTCtpW+dh6ARGaQPghfnUhA3BpXsN73UbP00XDUY7MBTgL9jaq12RClT8jDE7eS5U0/wCI6+kIpEktLDqZfhXxrSv/c3BbMyp1r7lmpc9MXZc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755878550; c=relaxed/simple; bh=Qs4hPeeLB7EUroy27sXkg5az6luy5PGM5paKTZg2kcA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EcLogHqob+SHxN+6Zdxil70ki4G5/YLNDc58XRH6pPdNvG60MDyz29v83LVSEnBBlBB8SZfbIeqpsHvvKp8MTkuPc23wAqMgBR8cp1Ap/J/pz022FxYbK08ID27GsHFzr5Yg08hksIzZb80rdnDSl9kTsuu/iH3NlDnDrE+sht8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=na3YHCEG; 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="na3YHCEG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2A623C4CEED; Fri, 22 Aug 2025 16:02:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755878550; bh=Qs4hPeeLB7EUroy27sXkg5az6luy5PGM5paKTZg2kcA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=na3YHCEGDOAAxO7DpZjTKtjlOVaEJsVxKXsu3JtJIBVbXm4HjnW2PGuuiZThMfetm PjoB1NPARrlGlNLcpGsEU/Re+SLi4AIgYbMway8VsrNMWtplmJW0BRfmSePCNoEMzj fxjoi7CyxyTbR1qoPCrSjGOCt1uHOx5XGvS5f/SU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38655: pinctrl: canaan: k230: add NULL check in DT parse Date: Fri, 22 Aug 2025 18:01:03 +0200 Message-ID: <2025082238-CVE-2025-38655-7456@gregkh> X-Mailer: git-send-email 2.50.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2319; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Y1rX1zzSqXSWER+SJFPAavYeIxxB90n84qpeZzJ9dXk=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkrpqg9vbC7WD3oktDa/ENb9+4Lduv+sTlOK1Xu6klTB wW/aXk+HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjAR5wkM89RnHM3jsXj/682Z oNYj3/+arP1ttpdhruyTmh/XND4HLDsoMuWmfOaCI99mCQIA 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: pinctrl: canaan: k230: add NULL check in DT parse Add a NULL check for the return value of of_get_property() when retrieving the "pinmux" property in the group parser. This avoids a potential NULL pointer dereference if the property is missing from the device tree node. Also fix a typo ("sintenel") in the device ID match table comment, correcting it to "sentinel". The Linux kernel CVE team has assigned CVE-2025-38655 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit 545887eab6f6776a7477fe7e83860eab57138b03 and fixed in 6.15.10 with commit b5ae84aeff60b8819e8568ff0c57590caed9e6d3 Issue introduced in 6.13 with commit 545887eab6f6776a7477fe7e83860eab57138b03 and fixed in 6.16.1 with commit 5d324b262c0ff256b8d603596574d66267b6394f Issue introduced in 6.13 with commit 545887eab6f6776a7477fe7e83860eab57138b03 and fixed in 6.17-rc1 with commit 65bd0be486390fc12a84eafaad78758c5e5a55e6 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-38655 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/pinctrl/pinctrl-k230.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/b5ae84aeff60b8819e8568ff0c57590caed9e6d3 https://git.kernel.org/stable/c/5d324b262c0ff256b8d603596574d66267b6394f https://git.kernel.org/stable/c/65bd0be486390fc12a84eafaad78758c5e5a55e6