Bug 2373508 (CVE-2022-49946) - CVE-2022-49946 kernel: clk: bcm: rpi: Prevent out-of-bounds access
Summary: CVE-2022-49946 kernel: clk: bcm: rpi: Prevent out-of-bounds access
Keywords:
Status: NEW
Alias: CVE-2022-49946
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-18 12:06 UTC by OSIDB Bzimport
Modified: 2025-06-19 20:41 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-06-18 12:06:04 UTC
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.

Comment 1 Avinash Hanwate 2025-06-19 20:33:09 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025061808-CVE-2022-49946-6601@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.