{"id":"CVE-2023-53856","aliases":["CVE-2023-53856"],"related":[],"kind":"vulnerability","state":"published","title":"of: overlay: Call of_changeset_init() early","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2025-12-09T01:30:22.012Z","modified":"2026-06-17T06:46:11.587Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"f948d6d8b792bb90041edc12eac35faf83030994","fixed":"01bb96ad38089f5cc6de7746dac13437d35eb1dc","status":"affected"},{"type":"git","introduced":"f948d6d8b792bb90041edc12eac35faf83030994","fixed":"3fb210cd521c9efcb211e9f5ce40fc907200bf13","status":"affected"},{"type":"git","introduced":"f948d6d8b792bb90041edc12eac35faf83030994","fixed":"be86241bf5d1efd16d8a7231c13b33459c5d755d","status":"affected"},{"type":"git","introduced":"f948d6d8b792bb90041edc12eac35faf83030994","fixed":"c403c81b577a67fe9ec6a2e89d143256487be50f","status":"affected"},{"type":"git","introduced":"f948d6d8b792bb90041edc12eac35faf83030994","fixed":"a9515ff4fb142b690a0d2b58782b15903b990dba","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.15","status":"unaffected"},{"type":"semver","introduced":"5.15.132","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.53","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.4.16","lastAffected":"6.4.*","status":"unaffected"},{"type":"semver","introduced":"6.5.3","lastAffected":"6.5.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.6","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/01bb96ad38089f5cc6de7746dac13437d35eb1dc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3fb210cd521c9efcb211e9f5ce40fc907200bf13","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/be86241bf5d1efd16d8a7231c13b33459c5d755d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c403c81b577a67fe9ec6a2e89d143256487be50f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a9515ff4fb142b690a0d2b58782b15903b990dba","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53856","url":"https://www.cve.org/CVERecord?id=CVE-2023-53856","licence":"CVE Terms of Use","modified":"2026-05-11T19:52:50.630Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53856","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53856","licence":"Public domain","modified":"2026-06-17T06:46:11.587Z"}],"updatedAt":"2026-11-25T22:58:35.080Z","epss":{"score":0.00246,"percentile":0.16954,"date":"2026-12-01T12:00:22.000Z"}}