← CVE Intelligence

CVE-2022-48672

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

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 78c44d910d3e5f96dc6b3695fc1e4efd7c46a455 before cbdda20ce363356698835185801a58a28f644853; affected 78c44d910d3e5f96dc6b3695fc1e4efd7c46a455 before 2566706ac6393386a4e7c4ce23fe17f4c98d9aa0; affected 78c44d910d3e5f96dc6b3695fc1e4efd7c46a455 before e0e88c25f88b9805572263c9ed20f1d88742feaf; affected 78c44d910d3e5f96dc6b3695fc1e4efd7c46a455 before ee4369260e77821602102dcc7d792de39a56365c; affected 78c44d910d3e5f96dc6b3695fc1e4efd7c46a455 before ba6b9f7cc1108bad6e2c53b1d6e0156379188db7; affected 78c44d910d3e5f96dc6b3695fc1e4efd7c46a455 before 2133f451311671c7c42b5640d2b999326b39aa0e; affected 78c44d910d3e5f96dc6b3695fc1e4efd7c46a455 before 2f945a792f67815abca26fa8a5e863ccf3fa1181
Linux / Linuxaffected 4.7; unaffected 0 before 4.7; unaffected 4.14.295 through 4.14.*; unaffected 4.19.260 through 4.19.*; unaffected 5.4.215 through 5.4.*; unaffected 5.10.145 through 5.10.*; unaffected 5.15.70 through 5.15.*; unaffected 5.19.11 through 5.19.*; unaffected 6.0 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.