{"id":"CVE-2023-53856","summary":"of: overlay: Call of_changeset_init() early","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nof: overlay: Call of_changeset_init() early\n\nWhen of_overlay_fdt_apply() fails, the changeset may be partially\napplied, and the caller is still expected to call of_overlay_remove() to\nclean up this partial state.\n\nHowever, of_overlay_apply() calls of_resolve_phandles() before\ninit_overlay_changeset().  Hence if the overlay fails to apply due to an\nunresolved symbol, the overlay_changeset.cset.entries list is still\nuninitialized, and cleanup will crash with a NULL-pointer dereference in\noverlay_removal_is_ok().\n\nFix this by moving the call to of_changeset_init() from\ninit_overlay_changeset() to of_overlay_fdt_apply(), where all other\nearly initialization is done.","modified":"2026-03-31T17:29:54.892948024Z","published":"2025-12-09T01:30:22.012Z","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/53xxx/CVE-2023-53856.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/01bb96ad38089f5cc6de7746dac13437d35eb1dc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3fb210cd521c9efcb211e9f5ce40fc907200bf13"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a9515ff4fb142b690a0d2b58782b15903b990dba"},{"type":"WEB","url":"https://git.kernel.org/stable/c/be86241bf5d1efd16d8a7231c13b33459c5d755d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c403c81b577a67fe9ec6a2e89d143256487be50f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53856.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53856"},{"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":"f948d6d8b792bb90041edc12eac35faf83030994"},{"fixed":"01bb96ad38089f5cc6de7746dac13437d35eb1dc"},{"fixed":"3fb210cd521c9efcb211e9f5ce40fc907200bf13"},{"fixed":"be86241bf5d1efd16d8a7231c13b33459c5d755d"},{"fixed":"c403c81b577a67fe9ec6a2e89d143256487be50f"},{"fixed":"a9515ff4fb142b690a0d2b58782b15903b990dba"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53856.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.15.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-53856.json"}}],"schema_version":"1.7.5"}