[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025123033-CVE-2023-54304-fefc@gregkh>
Date: Tue, 30 Dec 2025 13:23:57 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-54304: firmware: meson_sm: fix to avoid potential NULL pointer dereference
From: Greg Kroah-Hartman <gregkh@...nel.org>
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
Powered by blists - more mailing lists