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 4CB562ED869 for ; Tue, 30 Dec 2025 12:24:55 +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=1767097495; cv=none; b=eVPTx5ZPri8P8A99CeOPiJ2sX29delWycT4pjEbPWOcMd5zfnNgsJiC1zwyoXYgaivFKKOr59QRIC9J7auHrSly2tmJiJTsDt/vqNhwOUV74CYkAITMOnQiSggR/kwx2cTpwopcvQhON+ZeYMBcy6fB5HTB0gs0rTdFr5YDCjzY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767097495; c=relaxed/simple; bh=MBniiGSD+6UMwXa+sgocPZ3JbjWBgWdBQSir5waMgyI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=c7SCMS8t+iiYfh68Dfb5SZLo6uDipK6S3iFpuD70ZmKoX64FyUmDIHZjnWgyZKsd8VURyid7HMVx0IUKRMSMx5UOD16t6cfq/PuM1YFf8T4NXgjgI+rsi6OP1AN6jpJLDjrA40qrthWf9NgDRJZnxcm/UeaLOr3+fpCyl/96TCE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZDV8NPjX; 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="ZDV8NPjX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8ECEBC113D0; Tue, 30 Dec 2025 12:24:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767097494; bh=MBniiGSD+6UMwXa+sgocPZ3JbjWBgWdBQSir5waMgyI=; h=From:To:Cc:Subject:Date:Reply-To:From; b=ZDV8NPjX0YwX8wV/8RMkCHS+PXoX4l1QuLEsQCSbuV5nVHBpRd1siTVBIIknFSHnw 0VumclRrnPB/hxQwT15hO/8Hkaw1RNtPJLuCI9KqhCd8fz7D2fMTpYq5rWzQSdy4An sZgG7PkhmcNgbpna5zVaylOaPiYfHmxiQnblc8Y4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54304: firmware: meson_sm: fix to avoid potential NULL pointer dereference Date: Tue, 30 Dec 2025 13:23:57 +0100 Message-ID: <2025123033-CVE-2023-54304-fefc@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=2882; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=WDH4xs0YvfIj3T0VI+5yD7lyQxyYYxc22BhePbLM/OY=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBR1z3WOxwmGX3M24D55sJTb/2LS7b908i7e/sKeVcC 6Sf5PVHdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEnkoyLOi445PwNrBmpxWf s8rf9vlT7slxTGNYsE717PrJOecuXvjrsWG9/h/Bd/tzLgEA 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: firmware: meson_sm: fix to avoid potential NULL pointer dereference of_match_device() may fail and returns a NULL pointer. Fix this by checking the return value of of_match_device. The Linux kernel CVE team has assigned CVE-2023-54304 to this issue. Affected and fixed versions =========================== Issue introduced in 5.5 with commit 8cde3c2153e8f57be884c0e73f18bc4de150e870 and fixed in 5.10.195 with commit 9f4017cac70c04090dd4f672e755d6c875af67d8 Issue introduced in 5.5 with commit 8cde3c2153e8f57be884c0e73f18bc4de150e870 and fixed in 5.15.132 with commit 502dfc5875bab9ae5d6a2939146c2c5e5683be40 Issue introduced in 5.5 with commit 8cde3c2153e8f57be884c0e73f18bc4de150e870 and fixed in 6.1.53 with commit bd3a6b6d5dd863dbbe17985c7612159cf4533cad Issue introduced in 5.5 with commit 8cde3c2153e8f57be884c0e73f18bc4de150e870 and fixed in 6.4.16 with commit 68f3209546b5083f8bffa46f7173cc05191eace1 Issue introduced in 5.5 with commit 8cde3c2153e8f57be884c0e73f18bc4de150e870 and fixed in 6.5.3 with commit 2d6c4a1a4e6678cb98dd57964f133a995ecc91c1 Issue introduced in 5.5 with commit 8cde3c2153e8f57be884c0e73f18bc4de150e870 and fixed in 6.6 with commit f2ed165619c16577c02b703a114a1f6b52026df4 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-2023-54304 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/firmware/meson/meson_sm.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/fba9c24c196310546f13c77ff66d0741155fa771 https://git.kernel.org/stable/c/9f4017cac70c04090dd4f672e755d6c875af67d8 https://git.kernel.org/stable/c/502dfc5875bab9ae5d6a2939146c2c5e5683be40 https://git.kernel.org/stable/c/bd3a6b6d5dd863dbbe17985c7612159cf4533cad https://git.kernel.org/stable/c/68f3209546b5083f8bffa46f7173cc05191eace1 https://git.kernel.org/stable/c/2d6c4a1a4e6678cb98dd57964f133a995ecc91c1 https://git.kernel.org/stable/c/f2ed165619c16577c02b703a114a1f6b52026df4