{"id":"CVE-2023-54189","summary":"pstore/ram: Add check for kstrdup","details":"In the Linux kernel, the following vulnerability has been resolved:\n\npstore/ram: Add check for kstrdup\n\nAdd check for the return value of kstrdup() and return the error\nif it fails in order to avoid NULL pointer dereference.","modified":"2026-03-31T17:29:43.503221Z","published":"2025-12-30T12:08:57.915Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0278-1","SUSE-SU-2026:0281-1","SUSE-SU-2026:0293-1","SUSE-SU-2026:0315-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0617-1","SUSE-SU-2026:20477-1","SUSE-SU-2026:20498-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54189.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/065c81ae5817b245bb9feb6d54e027702740b49a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2a764a2facd9dd88a69777200f65dfd0182765dc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/38a9d7dac3ad25323145b4aaea3b5f434f50011d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8430a8e8e85420d4cb51dcb08b0278ab194ea82f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a14cb307267ba7a1715403e071bdc4deda77eef5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d97038d5ec2062733c1e016caf9baaf68cf64ea1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f57ba91a46d3fc52bfdac9cca5cf5572ec7afd6d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54189.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54189"},{"type":"PACKAGE","url":"https://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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"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"}}],"schema_version":"1.7.5"}