CVE-2023-54189

Source
https://cve.org/CVERecord?id=CVE-2023-54189
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54189.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-54189
Downstream
Related
Published
2025-12-30T12:08:57.915Z
Modified
2026-03-31T17:29:43.503221322Z
Summary
pstore/ram: Add check for kstrdup
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54189.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c617a3b777b92a0e80ceff2dffaae9350d4c3850
Fixed
8430a8e8e85420d4cb51dcb08b0278ab194ea82f
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8
Fixed
a14cb307267ba7a1715403e071bdc4deda77eef5
Fixed
38a9d7dac3ad25323145b4aaea3b5f434f50011d
Fixed
f57ba91a46d3fc52bfdac9cca5cf5572ec7afd6d
Fixed
2a764a2facd9dd88a69777200f65dfd0182765dc
Fixed
065c81ae5817b245bb9feb6d54e027702740b49a
Fixed
d97038d5ec2062733c1e016caf9baaf68cf64ea1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54189.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.4.251
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.188
Fixed
5.15.121
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
6.1.39
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.3.13
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.4.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54189.json"