CVE-2023-53856
of: overlay: Call of_changeset_init() early
Check your servers for CVE-2023-53856
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53856 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.9% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from f948d6d8b792bb90041edc12eac35faf83030994, before 01bb96ad38089f5cc6de7746dac13437d35eb1dc affected from f948d6d8b792bb90041edc12eac35faf83030994, before 3fb210cd521c9efcb211e9f5ce40fc907200bf13 affected from f948d6d8b792bb90041edc12eac35faf83030994, before be86241bf5d1efd16d8a7231c13b33459c5d755d affected from f948d6d8b792bb90041edc12eac35faf83030994, before c403c81b577a67fe9ec6a2e89d143256487be50f affected from f948d6d8b792bb90041edc12eac35faf83030994, before a9515ff4fb142b690a0d2b58782b15903b990dba
Other versions: unaffected
|
| Linux |
affected 4.15 unaffected before 4.15 unaffected from 5.15.132 up to and including 5.15.* unaffected from 6.1.53 up to and including 6.1.* unaffected from 6.4.16 up to and including 6.4.* unaffected from 6.5.3 up to and including 6.5.* unaffected 6.6 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53856 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53856
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-53856
trivy image --scanners vuln IMAGE | grep CVE-2023-53856
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/01bb96ad38089f5cc6de7746dac13437d35eb1dc git.kernel.org
- https://git.kernel.org/stable/c/3fb210cd521c9efcb211e9f5ce40fc907200bf13 git.kernel.org
- https://git.kernel.org/stable/c/be86241bf5d1efd16d8a7231c13b33459c5d755d git.kernel.org
- https://git.kernel.org/stable/c/c403c81b577a67fe9ec6a2e89d143256487be50f git.kernel.org
- https://git.kernel.org/stable/c/a9515ff4fb142b690a0d2b58782b15903b990dba git.kernel.org
Source: the record CVE-2023-53856 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse