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 AF30527F171 for ; Wed, 18 Jun 2025 09:36:23 +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=1750239383; cv=none; b=h2roJJNkesYM7hD4q5kpj042l4gVGKtj5iUsy5Qy63Wmrt3tzAxFIVczC7XkoWOkcfwLlTC6HmO19neiW3y4iFI90ql9bRa2W/R+NVSysJZpF7UTpqP/VqiDUQxFq9CYgCxKPdsDycTeQ50mKGeoHzxuUJOyQFYxF10G7pRDydc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750239383; c=relaxed/simple; bh=S0Aqobv8nH0WNP+x3ksJqz91c8LJLuqhDwYm3Lg6Ek8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FHP4bffBqKuy1Rivf/GHxsgj3RvL7ZyK93Q3ozec34nR9Yr3v7vXg6mJGy/sz2EdDz927yYP3uotUV9WAkzv6OWaHZU6zzy8UbgPDjF4KC2Nz2ZP/OBEY06WE2GfrFIJqb2uigjmymQCBzprsM6r1MW5ot81JcOLUCHXHf1Dfp8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qe2JrUpO; 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="qe2JrUpO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 144B4C4CEE7; Wed, 18 Jun 2025 09:36:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750239383; bh=S0Aqobv8nH0WNP+x3ksJqz91c8LJLuqhDwYm3Lg6Ek8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=qe2JrUpOTrb9kZEUVCHyWBVn7aoE137RspzuQmp3nlu6EFWnhrr9c/UnBocREmQUt /qvcXg1KLElMOawpYHIrUpd0ySGtuxypXWaBQEUO5lUNgGBAt/9o5vSLkY2IcTCdT1 gKwbPS7ZEvg8dRvQZbb6zW869o+6GRdjR1AvgRcw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38081: spi-rockchip: Fix register out of bounds access Date: Wed, 18 Jun 2025 11:34:16 +0200 Message-ID: <2025061842-CVE-2025-38081-8916@gregkh> X-Mailer: git-send-email 2.49.0 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=2023; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=JqHMvbSIZW0Lb7J8F5tMCHBhbAsjiLzWv7Edoo3v/84=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlB7d983QrN/s/wqps/Y/b8/BD+awHfdGxt3KbwMvjdm RDQc+Z2RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExkdgLDPHtut9m6O1vaDhpv 80rX+lBtm1GqzTBX8LVK5VW1w6ctpctZU1Vund9jZfgdAA== 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: spi-rockchip: Fix register out of bounds access Do not write native chip select stuff for GPIO chip selects. GPIOs can be numbered much higher than native CS. Also, it makes no sense. The Linux kernel CVE team has assigned CVE-2025-38081 to this issue. Affected and fixed versions =========================== Fixed in 6.6.93 with commit 4a120221661fcecb253448d7b041a52d47f1d91f Fixed in 6.12.31 with commit ace57bd1fb49d193edec5f6a1f255f48dd5fca90 Fixed in 6.14.9 with commit 254e04ec799c1ff8c1e2bd08a57c6a849895d6ff Fixed in 6.15 with commit 7a874e8b54ea21094f7fd2d428b164394c6cb316 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-38081 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/spi/spi-rockchip.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/4a120221661fcecb253448d7b041a52d47f1d91f https://git.kernel.org/stable/c/ace57bd1fb49d193edec5f6a1f255f48dd5fca90 https://git.kernel.org/stable/c/254e04ec799c1ff8c1e2bd08a57c6a849895d6ff https://git.kernel.org/stable/c/7a874e8b54ea21094f7fd2d428b164394c6cb316