CVE-2023-54189Published Dec 30, 2025 · Dec 30Updated 3d ago
pstore/ram: Add check for kstrdup
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's pstore/ram component could dereference a NULL pointer if kstrdup() fails. The input does not specify how an attacker could trigger the failure or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel should check their versions; affected versions are not specified.