{"id":"CVE-2023-54178","summary":"of: unittest: fix null pointer dereferencing in of_unittest_find_node_by_name()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nof: unittest: fix null pointer dereferencing in of_unittest_find_node_by_name()\n\nwhen kmalloc() fail to allocate memory in kasprintf(), name\nor full_name will be NULL, strcmp() will cause\nnull pointer dereference.","modified":"2026-03-31T17:29:56.032254502Z","published":"2025-12-30T12:08:50.324Z","related":["SUSE-SU-2026:0278-1","SUSE-SU-2026:0281-1","SUSE-SU-2026:0293-1","SUSE-SU-2026:0315-1","SUSE-SU-2026:20477-1","SUSE-SU-2026:20498-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54178.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0b7d715511915a1b39f5fdcbe57a7922dfd66513"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2dd8ee9de71ad8447f8459fb01dade7f6c7132da"},{"type":"WEB","url":"https://git.kernel.org/stable/c/43cc228099c514467b8074d7ede6673cef9f33b9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c364fa869b33ca42a263bf91c22fce7e6c61d479"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c74ae8124f9687062dd99858f34c9d027ddd73da"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d6ce4f0ea19c32f10867ed93d8386924326ab474"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dadf0d0dfcc81cdcb27ba5426676d13a9e4fb925"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ea5bc6f5aa099e3e84d037282836234ad77cba88"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f41c65f8d05be734898cbe72af59a401b97d298a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54178.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54178"},{"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":"0d638a07d3a1e98a7598eb2812a6236324e4c55f"},{"fixed":"c364fa869b33ca42a263bf91c22fce7e6c61d479"},{"fixed":"0b7d715511915a1b39f5fdcbe57a7922dfd66513"},{"fixed":"dadf0d0dfcc81cdcb27ba5426676d13a9e4fb925"},{"fixed":"f41c65f8d05be734898cbe72af59a401b97d298a"},{"fixed":"ea5bc6f5aa099e3e84d037282836234ad77cba88"},{"fixed":"43cc228099c514467b8074d7ede6673cef9f33b9"},{"fixed":"c74ae8124f9687062dd99858f34c9d027ddd73da"},{"fixed":"2dd8ee9de71ad8447f8459fb01dade7f6c7132da"},{"fixed":"d6ce4f0ea19c32f10867ed93d8386924326ab474"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54178.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.14.0"},{"fixed":"4.14.326"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.19.295"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.257"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.195"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.132"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.53"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.4.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.5.0"},{"fixed":"6.5.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54178.json"}}],"schema_version":"1.7.5"}