{"id":"CVE-2023-53856","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2025-12-09T16:17:26.283","lastModified":"2026-06-17T06:46:11.587","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/of/overlay.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"f948d6d8b792bb90041edc12eac35faf83030994","lessThan":"01bb96ad38089f5cc6de7746dac13437d35eb1dc","versionType":"git","status":"affected"},{"version":"f948d6d8b792bb90041edc12eac35faf83030994","lessThan":"3fb210cd521c9efcb211e9f5ce40fc907200bf13","versionType":"git","status":"affected"},{"version":"f948d6d8b792bb90041edc12eac35faf83030994","lessThan":"be86241bf5d1efd16d8a7231c13b33459c5d755d","versionType":"git","status":"affected"},{"version":"f948d6d8b792bb90041edc12eac35faf83030994","lessThan":"c403c81b577a67fe9ec6a2e89d143256487be50f","versionType":"git","status":"affected"},{"version":"f948d6d8b792bb90041edc12eac35faf83030994","lessThan":"a9515ff4fb142b690a0d2b58782b15903b990dba","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/of/overlay.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"4.15","status":"affected"},{"version":"0","lessThan":"4.15","versionType":"semver","status":"unaffected"},{"version":"5.15.132","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.53","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.4.16","lessThanOrEqual":"6.4.*","versionType":"semver","status":"unaffected"},{"version":"6.5.3","lessThanOrEqual":"6.5.*","versionType":"semver","status":"unaffected"},{"version":"6.6","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/01bb96ad38089f5cc6de7746dac13437d35eb1dc","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/3fb210cd521c9efcb211e9f5ce40fc907200bf13","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/a9515ff4fb142b690a0d2b58782b15903b990dba","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/be86241bf5d1efd16d8a7231c13b33459c5d755d","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c403c81b577a67fe9ec6a2e89d143256487be50f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}