CVE-2023-54189

published 30 Dec 2025 · updated 17 Nov 2026

pstore/ram: Add check for kstrdup

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f57ba91a46d3fc52bfdac9cca5cf5572ec7afd6d, Kernel 8430a8e8e85420d4cb51dcb08b0278ab194ea82f, Kernel 065c81ae5817b245bb9feb6d54e027702740b49a and 10 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8 <f57ba91a46d3fc52bfdac9cca5cf5572ec7afd6d, >=c617a3b777b92a0e80ceff2dffaae9350d4c3850 <8430a8e8e85420d4cb51dcb08b0278ab194ea82f, >=e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8 <065c81ae5817b245bb9feb6d54e027702740b49a, >=e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8 <2a764a2facd9dd88a69777200f65dfd0182765dc, >=e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8 <38a9d7dac3ad25323145b4aaea3b5f434f50011d, >=e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8 <a14cb307267ba7a1715403e071bdc4deda77eef5, >=e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8 <d97038d5ec2062733c1e016caf9baaf68cf64ea1, =5.5, >=5.4.12 <5.4.251f57ba91a46d3fc52bfdac9cca5cf5572ec7afd6d, 8430a8e8e85420d4cb51dcb08b0278ab194ea82f, 065c81ae5817b245bb9feb6d54e027702740b49a, 2a764a2facd9dd88a69777200f65dfd0182765dc, 38a9d7dac3ad25323145b4aaea3b5f434f50011d, a14cb307267ba7a1715403e071bdc4deda77eef5, d97038d5ec2062733c1e016caf9baaf68cf64ea1, 5.4.251
linux-kernel: Kernel>=5.16.0 <6.1.39, >=5.4.12 <5.4.251, >=5.5.0 <5.10.188, >=6.2.0 <6.3.13, >=6.4.0 <6.4.4, >=5.11.0 <5.15.1216.1.39, 5.4.251, 5.10.188, 6.3.13, 6.4.4, 5.15.121

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-54189 severity on Zeptric[![CVE-2023-54189](https://zeptric.io/badge/cve/CVE-2023-54189.svg)](https://zeptric.io/cve/CVE-2023-54189)