CVEvulnerability
CVE-2022-48672
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2024-05-03
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-193
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.
Affected configurations
• linux linux kernel (>= 4.7 < 4.14.295)
• linux linux kernel (>= 4.15 < 4.19.260)
• linux linux kernel (>= 4.20 < 5.4.215)
• linux linux kernel (>= 5.5 < 5.10.145)
• linux linux kernel (>= 5.11 < 5.15.70)
• linux linux kernel (>= 5.16 < 5.19.11)
Related
Weakness · CWE (1)
- CWE-193 Off-by-one Error weakness
References
- https://git.kernel.org/stable/c/2133f451311671c7c42b5640d2b999326b39aa0e Patch
- https://git.kernel.org/stable/c/2566706ac6393386a4e7c4ce23fe17f4c98d9aa0 Patch
- https://git.kernel.org/stable/c/2f945a792f67815abca26fa8a5e863ccf3fa1181 Patch
- https://git.kernel.org/stable/c/ba6b9f7cc1108bad6e2c53b1d6e0156379188db7 Patch
- https://git.kernel.org/stable/c/cbdda20ce363356698835185801a58a28f644853 Patch
- https://git.kernel.org/stable/c/e0e88c25f88b9805572263c9ed20f1d88742feaf Patch
- https://git.kernel.org/stable/c/ee4369260e77821602102dcc7d792de39a56365c Patch
- https://git.kernel.org/stable/c/2133f451311671c7c42b5640d2b999326b39aa0e Patch
- https://git.kernel.org/stable/c/2566706ac6393386a4e7c4ce23fe17f4c98d9aa0 Patch
- https://git.kernel.org/stable/c/2f945a792f67815abca26fa8a5e863ccf3fa1181 Patch
- https://git.kernel.org/stable/c/ba6b9f7cc1108bad6e2c53b1d6e0156379188db7 Patch
- https://git.kernel.org/stable/c/cbdda20ce363356698835185801a58a28f644853 Patch
- https://git.kernel.org/stable/c/e0e88c25f88b9805572263c9ed20f1d88742feaf Patch
- https://git.kernel.org/stable/c/ee4369260e77821602102dcc7d792de39a56365c Patch