# CVE-2023-52869: pstore/platform: Add check for kstrdup

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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-02)
- Published: 2024-05-21T15:31:59.168Z
- Modified: 2026-06-17T06:43:46.810Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

pstore/platform: 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 563ca40ddf400dbf8c6254077f9b6887101d0f08 before bb166bdae1a7d7db30e9be7e6ccaba606debc05f; from 563ca40ddf400dbf8c6254077f9b6887101d0f08 before 379b120e4f27fd1cf636a5f85570c4d240a3f688; from 563ca40ddf400dbf8c6254077f9b6887101d0f08 before 63f637309baadf81a095f2653e3b807d4b5814b9; from 563ca40ddf400dbf8c6254077f9b6887101d0f08 before 1c426da79f9fc7b761021b5eb44185ba119cd44a; from 563ca40ddf400dbf8c6254077f9b6887101d0f08 before ad5cb6deb41417ef41b9d6ff54f789212108606f; from 563ca40ddf400dbf8c6254077f9b6887101d0f08 before a19d48f7c5d57c0f0405a7d4334d1d38fe9d3c1c; 5.8 (not affected: before 5.8; from 5.10.201 up to 5.10.*; from 5.15.139 up to 5.15.*; from 6.1.63 up to 6.1.*; from 6.5.12 up to 6.5.*; from 6.6.2 up to 6.6.*; from 6.7 up to *)
- linux linux_kernel: 563ca40ddf40; 5.8; from 5.8 before 5.10.201; from 5.11 before 5.15.139; from 5.16 before 6.1.63; from 6.2 before 6.5.12; from 6.6 before 6.6.2 (not affected: 0; 5.10.201; 5.15.139; 6.1.63; 6.5.12; 6.6.2; 6.7)

## References

- <https://git.kernel.org/stable/c/bb166bdae1a7d7db30e9be7e6ccaba606debc05f> (patch)
- <https://git.kernel.org/stable/c/379b120e4f27fd1cf636a5f85570c4d240a3f688> (patch)
- <https://git.kernel.org/stable/c/63f637309baadf81a095f2653e3b807d4b5814b9> (patch)
- <https://git.kernel.org/stable/c/1c426da79f9fc7b761021b5eb44185ba119cd44a> (patch)
- <https://git.kernel.org/stable/c/ad5cb6deb41417ef41b9d6ff54f789212108606f> (patch)
- <https://git.kernel.org/stable/c/a19d48f7c5d57c0f0405a7d4334d1d38fe9d3c1c> (patch)

## Sources

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

---

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