CVE-2023-53856

of: overlay: Call of_changeset_init() early

State
Published
Severity
Not scored
Published
Dec 9, 2025
Updated
May 11, 2026
Reserved
Dec 9, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f948d6d8b792bb90041edc12eac35faf83030994 to before 01bb96ad38089f5cc6de7746dac13437d35eb1dcAffected
  • f948d6d8b792bb90041edc12eac35faf83030994 to before 3fb210cd521c9efcb211e9f5ce40fc907200bf13Affected
  • f948d6d8b792bb90041edc12eac35faf83030994 to before be86241bf5d1efd16d8a7231c13b33459c5d755dAffected
  • f948d6d8b792bb90041edc12eac35faf83030994 to before c403c81b577a67fe9ec6a2e89d143256487be50fAffected
  • f948d6d8b792bb90041edc12eac35faf83030994 to before a9515ff4fb142b690a0d2b58782b15903b990dbaAffected
LinuxLinux
  • 4.15Affected
  • before 4.15Not affected
  • 5.15.132 through 5.15.*Not affected
  • 6.1.53 through 6.1.*Not affected
  • 6.4.16 through 6.4.*Not affected
  • 6.5.3 through 6.5.*Not affected
  • 6.6 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.