# CVE-2023-54304: firmware: meson_sm: fix to avoid potential NULL pointer dereference

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-12-30T12:23:38.495Z
- Modified: 2026-06-17T06:47:11.490Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 525ae72d9f0b5cf027f1c78c84e41c90e86df026 before fba9c24c196310546f13c77ff66d0741155fa771; from 8cde3c2153e8f57be884c0e73f18bc4de150e870 before 9f4017cac70c04090dd4f672e755d6c875af67d8; from 8cde3c2153e8f57be884c0e73f18bc4de150e870 before 502dfc5875bab9ae5d6a2939146c2c5e5683be40; from 8cde3c2153e8f57be884c0e73f18bc4de150e870 before bd3a6b6d5dd863dbbe17985c7612159cf4533cad; from 8cde3c2153e8f57be884c0e73f18bc4de150e870 before 68f3209546b5083f8bffa46f7173cc05191eace1; from 8cde3c2153e8f57be884c0e73f18bc4de150e870 before 2d6c4a1a4e6678cb98dd57964f133a995ecc91c1; from 8cde3c2153e8f57be884c0e73f18bc4de150e870 before f2ed165619c16577c02b703a114a1f6b52026df4; 5.5 (not affected: before 5.5; from 5.10.195 up to 5.10.*; from 5.15.132 up to 5.15.*; from 6.1.53 up to 6.1.*; from 6.4.16 up to 6.4.*; from 6.5.3 up to 6.5.*; from 6.6 up to *)

## References

- <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>

## Sources

- CVE List: [CVE-2023-54304](https://www.cve.org/CVERecord?id=CVE-2023-54304), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-54304](https://nvd.nist.gov/vuln/detail/CVE-2023-54304), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-54304 · Whole record: https://cve.day/CVE-2023-54304.json · Rebuilt by cve.day 2026-11-25T22:58:35.267Z
