CVE-2023-54189

pstore/ram: Add check for kstrdup

State
Published
Severity
Not scored
Published
Dec 30, 2025
Updated
May 23, 2026
Reserved
Dec 30, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c617a3b777b92a0e80ceff2dffaae9350d4c3850 to before 8430a8e8e85420d4cb51dcb08b0278ab194ea82fAffected
  • e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8 to before a14cb307267ba7a1715403e071bdc4deda77eef5Affected
  • e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8 to before 38a9d7dac3ad25323145b4aaea3b5f434f50011dAffected
  • e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8 to before f57ba91a46d3fc52bfdac9cca5cf5572ec7afd6dAffected
  • e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8 to before 2a764a2facd9dd88a69777200f65dfd0182765dcAffected
  • e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8 to before 065c81ae5817b245bb9feb6d54e027702740b49aAffected
  • e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8 to before d97038d5ec2062733c1e016caf9baaf68cf64ea1Affected
  • 5.4.12 to before 5.4.251Affected
LinuxLinux
  • 5.5Affected
  • before 5.5Not affected
  • 5.4.251 through 5.4.*Not affected
  • 5.10.188 through 5.10.*Not affected
  • 5.15.121 through 5.15.*Not affected
  • 6.1.39 through 6.1.*Not affected
  • 6.3.13 through 6.3.*Not affected
  • 6.4.4 through 6.4.*Not affected
  • 6.5 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.