CVE-2022-49946

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

HIGH
7.1
CVSS Score
Published: June 18, 2025 at 11:00 AM UTC
Updated: June 17, 2026 at 05:19 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.2%

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.665.16 ≤ v < 5.19.85.9 ≤ v < 5.10.1425.9 ≤ v < 5.15.665.9 ≤ v < 5.19.85.9 ≤ v < 6.05.96.0 rc16.0 rc26.0 rc393d2725affd65686792f4b57e49ef660f3c8c0f9
Vendor states this is fixed in bc163555603e4ae9c817675ad80d618a4cdbfa2d (fixed)
Vendor states this is fixed in c8b04b731d43366824841ebdca4ac715f95e0ea4 (fixed)
Vendor states this is fixed in fcae47b2d23c81603b01f56cf8db63ed64599d34 (fixed)
Vendor states this is fixed in ff0b144d4b0a9fbd6efe4d2c0a4b6c9bae2138d2 (fixed)
Vendor states this is fixed in 5.10.142 (unaffected)
Vendor states this is fixed in 5.15.66 (unaffected)
Vendor states this is fixed in 5.19.8 (unaffected)
Vendor states this is fixed in 5.9 (unaffected)
Vendor states this is fixed in 6.0 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bc163555603e4ae9c817675ad80d618a4cdbfa2d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c8b04b731d43366824841ebdca4ac715f95e0ea4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fcae47b2d23c81603b01f56cf8db63ed64599d34
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ff0b144d4b0a9fbd6efe4d2c0a4b6c9bae2138d2

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card