CVE-2023-54189
pstore/ram: Add check for kstrdup
Mitigation
- Upgrade Linux to 5.4.251 or later.
Who should check
- Anyone running Linux >= c617a3b777b92a0e80ceff2dffaae9350d4c3850, < 8430a8e8e85420d4cb51dcb08b0278ab194ea82f; >= e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, < a14cb307267ba7a1715403e071bdc4deda77eef5; >= e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, < 38a9d7dac3ad25323145b4aaea3b5f434f50011d; >= e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, < f57ba91a46d3fc52bfdac9cca5cf5572ec7afd6d; >= e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, < 2a764a2facd9dd88a69777200f65dfd0182765dc; >= e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, < 065c81ae5817b245bb9feb6d54e027702740b49a; >= e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, < d97038d5ec2062733c1e016caf9baaf68cf64ea1; >= 5.4.12, < 5.4.251
- Anyone running Linux 5.5
Vulnerability facts
- Affected
- Linux >= c617a3b777b92a0e80ceff2dffaae9350d4c3850, < 8430a8e8e85420d4cb51dcb08b0278ab194ea82f; >= e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, < a14cb307267ba7a1715403e071bdc4deda77eef5; >= e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, < 38a9d7dac3ad25323145b4aaea3b5f434f50011d; >= e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, < f57ba91a46d3fc52bfdac9cca5cf5572ec7afd6d; >= e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, < 2a764a2facd9dd88a69777200f65dfd0182765dc; >= e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, < 065c81ae5817b245bb9feb6d54e027702740b49a; >= e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, < d97038d5ec2062733c1e016caf9baaf68cf64ea1; >= 5.4.12, < 5.4.251; Linux 5.5
- Fixed in
- Linux 8430a8e8e85420d4cb51dcb08b0278ab194ea82f, Linux 38a9d7dac3ad25323145b4aaea3b5f434f50011d, Linux 2a764a2facd9dd88a69777200f65dfd0182765dc, Linux 065c81ae5817b245bb9feb6d54e027702740b49a, Linux 5.4.251
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.27% chance of exploitation in 30 days (percentile 11, 2026-11-26)
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= c617a3b777b92a0e80ceff2dffaae9350d4c3850, < 8430a8e8e85420d4cb51dcb08b0278ab194ea82f; >= e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, < a14cb307267ba7a1715403e071bdc4deda77eef5; >= e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, < 38a9d7dac3ad25323145b4aaea3b5f434f50011d; >= e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, < f57ba91a46d3fc52bfdac9cca5cf5572ec7afd6d; >= e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, < 2a764a2facd9dd88a69777200f65dfd0182765dc; >= e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, < 065c81ae5817b245bb9feb6d54e027702740b49a; >= e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, < d97038d5ec2062733c1e016caf9baaf68cf64ea1; >= 5.4.12, < 5.4.251 | — | cvelist |
| Linux | 5.5 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-54189. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-54189.md Affected: Linux >= c617a3b777b92a0e80ceff2dffaae9350d4c3850, < 8430a8e8e85420d4cb51dcb08b0278ab194ea82f; >= e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, < a14cb307267ba7a1715403e071bdc4deda77eef5; >= e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, < 38a9d7dac3ad25323145b4aaea3b5f434f50011d; >= e163fdb3f7f8c62dccf194f… Fixed in: Linux 8430a8e8e85420d4cb51dcb08b0278ab194ea82f, Linux 38a9d7dac3ad25323145b4aaea3b5f434f50011d, Linux 2a764a2facd9dd88a69777200f65dfd0182765dc, Linux 065c81ae5817b245bb9feb6d54e027702740b49a, Linux 5.4.251 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/8430a8e8e85420d4cb51dcb08b0278ab194ea82f
- https://git.kernel.org/stable/c/a14cb307267ba7a1715403e071bdc4deda77eef5
- https://git.kernel.org/stable/c/38a9d7dac3ad25323145b4aaea3b5f434f50011d
- https://git.kernel.org/stable/c/f57ba91a46d3fc52bfdac9cca5cf5572ec7afd6d
- https://git.kernel.org/stable/c/2a764a2facd9dd88a69777200f65dfd0182765dc
- https://git.kernel.org/stable/c/065c81ae5817b245bb9feb6d54e027702740b49a
- https://git.kernel.org/stable/c/d97038d5ec2062733c1e016caf9baaf68cf64ea1
FAQ
Is CVE-2023-54189 being exploited?
There is no confirmed exploitation: CVE-2023-54189 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-54189?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2023-54189?
Linux >= c617a3b777b92a0e80ceff2dffaae9350d4c3850, < 8430a8e8e85420d4cb51dcb08b0278ab194ea82f; >= e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, < a14cb307267ba7a1715403e071bdc4deda77eef5; >= e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, < 38a9d7dac3ad25323145b4aaea3b5f434f50011d; >= e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, < f57ba91a46d3fc52bfdac9cca5cf5572ec7afd6d; >= e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, < 2a764a2facd9dd88a69777200f65dfd0182765dc; >= e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, < 065c81ae5817b245bb9feb6d54e027702740b49a; >= e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8, < d97038d5ec2062733c1e016caf9baaf68cf64ea1; >= 5.4.12, < 5.4.251; Linux 5.5.
Is there a fix for CVE-2023-54189?
Yes. Fixed in Linux 8430a8e8e85420d4cb51dcb08b0278ab194ea82f, Linux 38a9d7dac3ad25323145b4aaea3b5f434f50011d, Linux 2a764a2facd9dd88a69777200f65dfd0182765dc, Linux 065c81ae5817b245bb9feb6d54e027702740b49a, Linux 5.4.251. Upgrade Linux to 5.4.251 or later.
How do I check if I'm affected by CVE-2023-54189?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.