
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-48672 is a vulnerability in the Linux kernel's device tree handling code, specifically in the unflatten_dt_nodes() function. The vulnerability was discovered by the Linux Verification Center (linuxtesting.org) using the SVACE static analysis tool. The issue stems from an off-by-one error in the depth check that could lead to buffer overflow (NVD).
The vulnerability is caused by an off-by-one error in the unflatten_dt_nodes() function within the Linux kernel's FDT (Flattened Device Tree) handling code. The issue originated from commit 78c44d910d3e ("drivers/of: Fix depth when unflattening devicetree"), which failed to properly fix up the depth check in the loop body, making it possible to overflow the nps[] buffer. The vulnerability has a CVSS v3.1 base score of 7.8 (HIGH) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).
The vulnerability could allow an attacker to cause a buffer overflow in the kernel's device tree handling code, potentially leading to privilege escalation or system compromise. The high CVSS score indicates that successful exploitation could result in complete compromise of confidentiality, integrity, and availability of the affected system (NVD).
The vulnerability requires local access and low privileges to exploit. The attack complexity is low, and no user interaction is required, as indicated by the CVSS vector (AV:L/AC:L/PR:L/UI:N) (NVD).
The vulnerability has been patched in multiple Linux kernel versions. The fix involves correcting the depth check condition in the unflatten_dt_nodes() function by changing the comparison from 'depth >= FDT_MAX_DEPTH' to 'depth >= FDT_MAX_DEPTH - 1' (Kernel Patch).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."