What’s Vulnerable › Vulnerabilities
CVE-2023-54189: pstore/ram: Add check for kstrdup
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-12-30 · updated 2026-10-28
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.
Affected products
- Linux kernel: from 5.4.12 before 5.4.251; 5.5 — fixed in 5.4.251, 6.5
How to fix
Upgrade to a fixed version: Linux kernel 5.4.251, 6.5. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/065c81ae5817b245bb9feb6d54e027702740b49a
- https://git.kernel.org/stable/c/2a764a2facd9dd88a69777200f65dfd0182765dc
- https://git.kernel.org/stable/c/38a9d7dac3ad25323145b4aaea3b5f434f50011d
- https://git.kernel.org/stable/c/8430a8e8e85420d4cb51dcb08b0278ab194ea82f
- https://git.kernel.org/stable/c/a14cb307267ba7a1715403e071bdc4deda77eef5
- https://git.kernel.org/stable/c/d97038d5ec2062733c1e016caf9baaf68cf64ea1
- https://git.kernel.org/stable/c/f57ba91a46d3fc52bfdac9cca5cf5572ec7afd6d
Get alerted when CVE-2023-54189 or the next vulnerability affects your stack