CVE-2022-48672
of: fdt: fix off-by-one error in unflatten_dt_nodes()
HIGH 7.8
At a glance
- Source
- NVD
- EPSS
- EPSS 0.25 % · percentile 16 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-193 — Off-by-one Error
References
- https://git.kernel.org/stable/c/cbdda20ce363356698835185801a58a28f644853
- https://git.kernel.org/stable/c/2566706ac6393386a4e7c4ce23fe17f4c98d9aa0
- https://git.kernel.org/stable/c/e0e88c25f88b9805572263c9ed20f1d88742feaf
- https://git.kernel.org/stable/c/ee4369260e77821602102dcc7d792de39a56365c
- https://git.kernel.org/stable/c/ba6b9f7cc1108bad6e2c53b1d6e0156379188db7
- https://git.kernel.org/stable/c/2133f451311671c7c42b5640d2b999326b39aa0e
- https://git.kernel.org/stable/c/2f945a792f67815abca26fa8a5e863ccf3fa1181
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2022-51367
- GCVE · GCVE-0-2022-48672
CERT-FR advisories
- CERTFR-2025-AVI-1057 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0088 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0526 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0496 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0420 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.7 < 4.14.295cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.15 < 4.19.260cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.20 < 5.4.215cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5 < 5.10.145cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.15.70cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 5.19.11
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 78c44d910d3e5f96dc6b3695fc1e4efd7c46a455 < cbdda20ce363356698835185801a58a28f644853 ; affected 78c44d910d3e5f96dc6b3695fc1e4efd7c46a455 < 2566706ac6393386a4e7c4ce23fe17f4c98d9aa0 ; affected 78c44d910d3e5f96dc6b3695fc1e4efd7c46a455 < e0e88c25f88b9805572263c9ed20f1d88742feaf ; affected 78c44d910d3e5f96dc6b3695fc1e4efd7c46a455 < ee4369260e77821602102dcc7d792de39a56365c ; affected 78c44d910d3e5f96dc6b3695fc1e4efd7c46a455 < ba6b9f7cc1108bad6e2c53b1d6e0156379188db7 ; affected 78c44d910d3e5f96dc6b3695fc1e4efd7c46a455 < 2133f451311671c7c42b5640d2b999326b39aa0e |
| Linux · Linux | affected 4.7 ; unaffected 0 < 4.7 ; unaffected 4.14.295 ≤ 4.14.* ; unaffected 4.19.260 ≤ 4.19.* ; unaffected 5.4.215 ≤ 5.4.* ; unaffected 5.10.145 ≤ 5.10.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |