# CVE-2023-53856: of: overlay: Call of_changeset_init() early

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 16% of CVEs (2026-12-01)
- Published: 2025-12-09T01:30:22.012Z
- Modified: 2026-06-17T06:46:11.587Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

of: overlay: Call of_changeset_init() early

When of_overlay_fdt_apply() fails, the changeset may be partially
applied, and the caller is still expected to call of_overlay_remove() to
clean up this partial state.

However, of_overlay_apply() calls of_resolve_phandles() before
init_overlay_changeset().  Hence if the overlay fails to apply due to an
unresolved symbol, the overlay_changeset.cset.entries list is still
uninitialized, and cleanup will crash with a NULL-pointer dereference in
overlay_removal_is_ok().

Fix this by moving the call to of_changeset_init() from
init_overlay_changeset() to of_overlay_fdt_apply(), where all other
early initialization is done.

(As written by CVE List.)

## Affected

- Linux Linux: from f948d6d8b792bb90041edc12eac35faf83030994 before 01bb96ad38089f5cc6de7746dac13437d35eb1dc; from f948d6d8b792bb90041edc12eac35faf83030994 before 3fb210cd521c9efcb211e9f5ce40fc907200bf13; from f948d6d8b792bb90041edc12eac35faf83030994 before be86241bf5d1efd16d8a7231c13b33459c5d755d; from f948d6d8b792bb90041edc12eac35faf83030994 before c403c81b577a67fe9ec6a2e89d143256487be50f; from f948d6d8b792bb90041edc12eac35faf83030994 before a9515ff4fb142b690a0d2b58782b15903b990dba; 4.15 (not affected: before 4.15; from 5.15.132 up to 5.15.*; from 6.1.53 up to 6.1.*; from 6.4.16 up to 6.4.*; from 6.5.3 up to 6.5.*; from 6.6 up to *)

## References

- <https://git.kernel.org/stable/c/01bb96ad38089f5cc6de7746dac13437d35eb1dc>
- <https://git.kernel.org/stable/c/3fb210cd521c9efcb211e9f5ce40fc907200bf13>
- <https://git.kernel.org/stable/c/be86241bf5d1efd16d8a7231c13b33459c5d755d>
- <https://git.kernel.org/stable/c/c403c81b577a67fe9ec6a2e89d143256487be50f>
- <https://git.kernel.org/stable/c/a9515ff4fb142b690a0d2b58782b15903b990dba>

## Sources

- CVE List: [CVE-2023-53856](https://www.cve.org/CVERecord?id=CVE-2023-53856), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-53856](https://nvd.nist.gov/vuln/detail/CVE-2023-53856), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-53856 · Whole record: https://cve.day/CVE-2023-53856.json · Rebuilt by cve.day 2026-11-25T22:58:35.080Z
