CVE-2022-48672

published 3 May 2024 · updated 11 May 2026

of: fdt: fix off-by-one error in unflatten_dt_nodes()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2133f451311671c7c42b5640d2b999326b39aa0e, Kernel 2566706ac6393386a4e7c4ce23fe17f4c98d9aa0, Kernel 2f945a792f67815abca26fa8a5e863ccf3fa1181 and 4 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.7, >=78c44d910d3e5f96dc6b3695fc1e4efd7c46a455 <2133f451311671c7c42b5640d2b999326b39aa0e, >=78c44d910d3e5f96dc6b3695fc1e4efd7c46a455 <2566706ac6393386a4e7c4ce23fe17f4c98d9aa0, >=78c44d910d3e5f96dc6b3695fc1e4efd7c46a455 <2f945a792f67815abca26fa8a5e863ccf3fa1181, >=78c44d910d3e5f96dc6b3695fc1e4efd7c46a455 <ba6b9f7cc1108bad6e2c53b1d6e0156379188db7, >=78c44d910d3e5f96dc6b3695fc1e4efd7c46a455 <cbdda20ce363356698835185801a58a28f644853, >=78c44d910d3e5f96dc6b3695fc1e4efd7c46a455 <e0e88c25f88b9805572263c9ed20f1d88742feaf, >=78c44d910d3e5f96dc6b3695fc1e4efd7c46a455 <ee4369260e77821602102dcc7d792de39a56365c2133f451311671c7c42b5640d2b999326b39aa0e, 2566706ac6393386a4e7c4ce23fe17f4c98d9aa0, 2f945a792f67815abca26fa8a5e863ccf3fa1181, ba6b9f7cc1108bad6e2c53b1d6e0156379188db7, cbdda20ce363356698835185801a58a28f644853, e0e88c25f88b9805572263c9ed20f1d88742feaf, ee4369260e77821602102dcc7d792de39a56365c

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-48672 severity on Zeptric[![CVE-2022-48672](https://zeptric.io/badge/cve/CVE-2022-48672.svg)](https://zeptric.io/cve/CVE-2022-48672)