CVE-2023-53856

of: overlay: Call of_changeset_init() early

published December 9, 2025

CVSS
—
EPSS
0%
Percentile
12.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00227 · 12.8th percentile
Published
2025-12-09T01:30Z
EPSS history
Timeline
  • 09 DEC 01:30Z
    of: overlay: Call of_changeset_init() early
    cvelistv5