{"id":"CVE-2022-48672","summary":"of: fdt: fix off-by-one error in unflatten_dt_nodes()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nof: fdt: fix off-by-one error in unflatten_dt_nodes()\n\nCommit 78c44d910d3e (\"drivers/of: Fix depth when unflattening devicetree\")\nforgot to fix up the depth check in the loop body in unflatten_dt_nodes()\nwhich makes it possible to overflow the nps[] buffer...\n\nFound by Linux Verification Center (linuxtesting.org) with the SVACE static\nanalysis tool.","modified":"2026-04-02T08:26:50.301816Z","published":"2024-05-03T14:51:18.085Z","related":["SUSE-SU-2024:1642-1","SUSE-SU-2024:1643-1","SUSE-SU-2024:1644-1","SUSE-SU-2024:1645-1","SUSE-SU-2024:1659-1","SUSE-SU-2024:1663-1","SUSE-SU-2024:1983-1","SUSE-SU-2024:2011-1","SUSE-SU-2024:2184-1","SUSE-SU-2024:2189-1","SUSE-SU-2025:0231-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48672.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2133f451311671c7c42b5640d2b999326b39aa0e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2566706ac6393386a4e7c4ce23fe17f4c98d9aa0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2f945a792f67815abca26fa8a5e863ccf3fa1181"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ba6b9f7cc1108bad6e2c53b1d6e0156379188db7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cbdda20ce363356698835185801a58a28f644853"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e0e88c25f88b9805572263c9ed20f1d88742feaf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ee4369260e77821602102dcc7d792de39a56365c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48672.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48672"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"78c44d910d3e5f96dc6b3695fc1e4efd7c46a455"},{"fixed":"cbdda20ce363356698835185801a58a28f644853"},{"fixed":"2566706ac6393386a4e7c4ce23fe17f4c98d9aa0"},{"fixed":"e0e88c25f88b9805572263c9ed20f1d88742feaf"},{"fixed":"ee4369260e77821602102dcc7d792de39a56365c"},{"fixed":"ba6b9f7cc1108bad6e2c53b1d6e0156379188db7"},{"fixed":"2133f451311671c7c42b5640d2b999326b39aa0e"},{"fixed":"2f945a792f67815abca26fa8a5e863ccf3fa1181"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48672.json"}}],"schema_version":"1.7.5"}