# CVE-2023-54189: pstore/ram: Add check for kstrdup

- 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:08:57.915Z
- Modified: 2026-10-28T19:10:00.193Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

pstore/ram: Add check for kstrdup

Add check for the return value of kstrdup() and return the error
if it fails in order to avoid NULL pointer dereference.

(As written by CVE List.)

## Affected

- Linux Linux: from c617a3b777b92a0e80ceff2dffaae9350d4c3850 before 8430a8e8e85420d4cb51dcb08b0278ab194ea82f; from e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8 before a14cb307267ba7a1715403e071bdc4deda77eef5; from e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8 before 38a9d7dac3ad25323145b4aaea3b5f434f50011d; from e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8 before f57ba91a46d3fc52bfdac9cca5cf5572ec7afd6d; from e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8 before 2a764a2facd9dd88a69777200f65dfd0182765dc; from e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8 before 065c81ae5817b245bb9feb6d54e027702740b49a; from e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8 before d97038d5ec2062733c1e016caf9baaf68cf64ea1; from 5.4.12 before 5.4.251; 5.5 (not affected: before 5.5; from 5.4.251 up to 5.4.*; from 5.10.188 up to 5.10.*; from 5.15.121 up to 5.15.*; from 6.1.39 up to 6.1.*; from 6.3.13 up to 6.3.*; from 6.4.4 up to 6.4.*; from 6.5 up to *)

## References

- <https://git.kernel.org/stable/c/8430a8e8e85420d4cb51dcb08b0278ab194ea82f>
- <https://git.kernel.org/stable/c/a14cb307267ba7a1715403e071bdc4deda77eef5>
- <https://git.kernel.org/stable/c/38a9d7dac3ad25323145b4aaea3b5f434f50011d>
- <https://git.kernel.org/stable/c/f57ba91a46d3fc52bfdac9cca5cf5572ec7afd6d>
- <https://git.kernel.org/stable/c/2a764a2facd9dd88a69777200f65dfd0182765dc>
- <https://git.kernel.org/stable/c/065c81ae5817b245bb9feb6d54e027702740b49a>
- <https://git.kernel.org/stable/c/d97038d5ec2062733c1e016caf9baaf68cf64ea1>

## Sources

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

---

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