CVE-2022-49946 Details
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.
A vulnerability in the Linux kernel's clock management for BCM Raspberry Pi has been addressed. The issue stemmed from the 'raspberrypi_discover_clocks()' function, which incorrectly assumed that the identifier for the last clock element was zero. This assumption was flawed, as the data is sourced from the Videocore firmware, which does not guarantee such behavior. The vulnerability could have led to out-of-bounds access. The issue has been resolved by introducing a sentinel element to ensure proper data handling.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/bc163555603e4ae9c817675ad80d618a4cdbfa2d | kernel.org | Patch |
| https://git.kernel.org/stable/c/c8b04b731d43366824841ebdca4ac715f95e0ea4 | kernel.org | Patch |
| https://git.kernel.org/stable/c/fcae47b2d23c81603b01f56cf8db63ed64599d34 | kernel.org | Patch |
| https://git.kernel.org/stable/c/ff0b144d4b0a9fbd6efe4d2c0a4b6c9bae2138d2 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.9, < 5.10.142 >= 5.11, < 5.15.66 >= 5.16, < 5.19.8 6.0 rc1 6.0 rc2 6.0 rc3 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 14, 2025 | Initial Analysis | [email protected] |
| Jun 18, 2025 | New CVE Received | kernel.org |