{"id":"CVE-2023-53856","published":"2025-12-09T01:30:22Z","modified":"2026-05-11T19:52:50Z","title":"of: overlay: Call of_changeset_init() early","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00246,"percentile":0.15984,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/01bb96ad38089f5cc6de7746dac13437d35eb1dc","tags":[]},{"url":"https://git.kernel.org/stable/c/3fb210cd521c9efcb211e9f5ce40fc907200bf13","tags":[]},{"url":"https://git.kernel.org/stable/c/be86241bf5d1efd16d8a7231c13b33459c5d755d","tags":[]},{"url":"https://git.kernel.org/stable/c/c403c81b577a67fe9ec6a2e89d143256487be50f","tags":[]},{"url":"https://git.kernel.org/stable/c/a9515ff4fb142b690a0d2b58782b15903b990dba","tags":[]}],"priority":{"score":3.2,"factors":[{"name":"EPSS percentile","points":3.2}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= f948d6d8b792bb90041edc12eac35faf83030994, < 01bb96ad38089f5cc6de7746dac13437d35eb1dc",">= f948d6d8b792bb90041edc12eac35faf83030994, < 3fb210cd521c9efcb211e9f5ce40fc907200bf13",">= f948d6d8b792bb90041edc12eac35faf83030994, < be86241bf5d1efd16d8a7231c13b33459c5d755d",">= f948d6d8b792bb90041edc12eac35faf83030994, < c403c81b577a67fe9ec6a2e89d143256487be50f",">= f948d6d8b792bb90041edc12eac35faf83030994, < a9515ff4fb142b690a0d2b58782b15903b990dba"]},{"vendor":"Linux","product":"Linux","versions":["4.15"]}],"euvd":{"id":"EUVD-2023-60140","exploited":false,"provenance":"source"}}