CVE-2022-48672
of: fdt: fix off-by-one error in unflatten_dt_nodes()
Check your servers for CVE-2022-48672
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-2022-48672 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: fdt: fix off-by-one error in unflatten_dt_nodes()
Commit 78c44d910d3e ("drivers/of: Fix depth when unflattening devicetree") forgot to fix up the depth check in the loop body in unflatten_dt_nodes() which makes it possible to overflow the nps[] buffer...
Found by Linux Verification Center (linuxtesting.org) with the SVACE static analysis tool.
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 17.2% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 12 Jun 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 78c44d910d3e5f96dc6b3695fc1e4efd7c46a455, before cbdda20ce363356698835185801a58a28f644853 affected from 78c44d910d3e5f96dc6b3695fc1e4efd7c46a455, before 2566706ac6393386a4e7c4ce23fe17f4c98d9aa0 affected from 78c44d910d3e5f96dc6b3695fc1e4efd7c46a455, before e0e88c25f88b9805572263c9ed20f1d88742feaf affected from 78c44d910d3e5f96dc6b3695fc1e4efd7c46a455, before ee4369260e77821602102dcc7d792de39a56365c affected from 78c44d910d3e5f96dc6b3695fc1e4efd7c46a455, before ba6b9f7cc1108bad6e2c53b1d6e0156379188db7 affected from 78c44d910d3e5f96dc6b3695fc1e4efd7c46a455, before 2133f451311671c7c42b5640d2b999326b39aa0e affected from 78c44d910d3e5f96dc6b3695fc1e4efd7c46a455, before 2f945a792f67815abca26fa8a5e863ccf3fa1181
Other versions: unaffected
|
| Linux |
affected 4.7 unaffected before 4.7 unaffected from 4.14.295 up to and including 4.14.* unaffected from 4.19.260 up to and including 4.19.* unaffected from 5.4.215 up to and including 5.4.* unaffected from 5.10.145 up to and including 5.10.* unaffected from 5.15.70 up to and including 5.15.* unaffected from 5.19.11 up to and including 5.19.* unaffected 6.0 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-2022-48672 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-48672
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-2022-48672
trivy image --scanners vuln IMAGE | grep CVE-2022-48672
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/cbdda20ce363356698835185801a58a28f644853 git.kernel.org
- https://git.kernel.org/stable/c/2566706ac6393386a4e7c4ce23fe17f4c98d9aa0 git.kernel.org
- https://git.kernel.org/stable/c/e0e88c25f88b9805572263c9ed20f1d88742feaf git.kernel.org
- https://git.kernel.org/stable/c/ee4369260e77821602102dcc7d792de39a56365c git.kernel.org
- https://git.kernel.org/stable/c/ba6b9f7cc1108bad6e2c53b1d6e0156379188db7 git.kernel.org
- https://git.kernel.org/stable/c/2133f451311671c7c42b5640d2b999326b39aa0e git.kernel.org
- https://git.kernel.org/stable/c/2f945a792f67815abca26fa8a5e863ccf3fa1181 git.kernel.org
Source: the record CVE-2022-48672 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse