CVE-2022-48672

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

published May 3, 2024

CVSS
—
EPSS
0%
Percentile
15.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00248 · 15.2th percentile
Published
2024-05-03T14:51Z
EPSS history
Timeline
  • 03 MAY 14:51Z
    of: fdt: fix off-by-one error in unflatten_dt_nodes()
    cvelistv5