Out-of-bounds Read in Linux

CVE-2022-49946

In the Linux kernel, the following vulnerability has been resolved:

clk: bcm: rpi: Prevent out-of-bounds access

The while loop in raspberrypi_discover_clocks() relies on the assumption
that the id of the last clock element is zero. Because this data comes
from the Videocore firmware and it doesn't guarantuee such a behavior
this could lead to out-of-bounds access. So fix this by providing
a sentinel element.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H.

EPSS exploit prediction

EPSS 0.002, 16.2th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 93d2725affd65686792f4b57e49ef660f3c8c0f9, 5.9, 0
  • Linux Kernel — versions 6.0

Weakness classification (CWE)

References