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 28DE43D6F for ; Thu, 1 May 2025 12:58:05 +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=1746104285; cv=none; b=UsdbboQpvcZYakpVWNNAvRGGbXLjJ2FKGExyirt8GoLOmrLSZPSHra+fqWC0QGMAMKk7XLlLf4ZHbImJkj9CKr1+HeUYPFm8TOpjaga3Or4BQpuQseT0yFSjmCMLIQJXvJxuoGqCcDl839BxV6eIN72wtuV0oXCnCLmOa8RVp9M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746104285; c=relaxed/simple; bh=DV+5YHjipHdWxXKS7UOT/XRhNEwaeFKEv6sFiFOn1sU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=A29UZqP+EBtaXbFpU/gbu+gpLAsft0YOLedNAJiHQfMG8xbgFFiNO/1spc3ArKvQeSsJsdlFXGTQL2tSqr30kj+s+VQkVXXnURgQo6yFBgV2cJ4gbAPHLLbmpq8OfZVHvpgjoYu6tx9DVmV8WcI0+JdF333j39COGRERASvdi/g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=e50pZFcg; 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="e50pZFcg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8BC77C4CEE3; Thu, 1 May 2025 12:58:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746104285; bh=DV+5YHjipHdWxXKS7UOT/XRhNEwaeFKEv6sFiFOn1sU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=e50pZFcgV7SlYjwd0fHz3i3ajyl3dD4NAXCEprLUGdSPL6TCyrWrT17ly+Rn77Z6z Bp6UL3ZGD4Sfgc8jsO3PwdPZ+G0XEGhrNIUDx6p3iBSR1tbdMKDVesiNV3rstQ2ZNm GEQLShwtt7yst9/VDRdBkhUr28Mka6fEHtyUkz6w= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-23148: soc: samsung: exynos-chipid: Add NULL pointer check in exynos_chipid_probe() Date: Thu, 1 May 2025 14:56:28 +0200 Message-ID: <2025050127-CVE-2025-23148-5365@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=2992; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=GY9xN/zymC9TXYebq2HGMyIJN07S+JPA0UUzu9/5Nok=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnC+dWvnj8J7ddMPVfGFLR6hmWpaf6CjxXpq5blGG/Vc Uy9J2/REcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABO58pthwdr7HNkaP7dvmeH/ rHlVy86p/1TzHzHMM3yVmCVygyVTKcVB30f96T6xdbnRAA== 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: soc: samsung: exynos-chipid: Add NULL pointer check in exynos_chipid_probe() soc_dev_attr->revision could be NULL, thus, a pointer check is added to prevent potential NULL pointer dereference. This is similar to the fix in commit 3027e7b15b02 ("ice: Fix some null pointer dereference issues in ice_ptp.c"). This issue is found by our static analysis tool. The Linux kernel CVE team has assigned CVE-2025-23148 to this issue. Affected and fixed versions =========================== Issue introduced in 5.4 with commit 3253b7b7cd44c4dd029a4ce280ef9f409a256e5f and fixed in 6.1.135 with commit 475b9b45dc32eba58ab794b5d47ac689fc018398 Issue introduced in 5.4 with commit 3253b7b7cd44c4dd029a4ce280ef9f409a256e5f and fixed in 6.6.88 with commit 5f80fd2ff8bfd13e41554741740e0ca8e6445ded Issue introduced in 5.4 with commit 3253b7b7cd44c4dd029a4ce280ef9f409a256e5f and fixed in 6.12.24 with commit 44a2572a0fdcf3e7565763690d579b998a8f0562 Issue introduced in 5.4 with commit 3253b7b7cd44c4dd029a4ce280ef9f409a256e5f and fixed in 6.13.12 with commit 4f51d169fd0d4821bce775618db024062b09a3f7 Issue introduced in 5.4 with commit 3253b7b7cd44c4dd029a4ce280ef9f409a256e5f and fixed in 6.14.3 with commit 4129760e462f45f14e61b10408ace61aa7c2ed30 Issue introduced in 5.4 with commit 3253b7b7cd44c4dd029a4ce280ef9f409a256e5f and fixed in 6.15-rc1 with commit c8222ef6cf29dd7cad21643228f96535cc02b327 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-23148 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/soc/samsung/exynos-chipid.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/475b9b45dc32eba58ab794b5d47ac689fc018398 https://git.kernel.org/stable/c/5f80fd2ff8bfd13e41554741740e0ca8e6445ded https://git.kernel.org/stable/c/44a2572a0fdcf3e7565763690d579b998a8f0562 https://git.kernel.org/stable/c/4f51d169fd0d4821bce775618db024062b09a3f7 https://git.kernel.org/stable/c/4129760e462f45f14e61b10408ace61aa7c2ed30 https://git.kernel.org/stable/c/c8222ef6cf29dd7cad21643228f96535cc02b327