{"schema_version":"1.9.0","id":"CVE-2022-49946","published":"2025-06-18T11:00:07.966Z","modified":"2026-08-12T03:51:22.234408492Z","related":["SUSE-SU-2025:02264-1","SUSE-SU-2025:02321-1","SUSE-SU-2025:02322-1","SUSE-SU-2025:02537-1"],"summary":"clk: bcm: rpi: Prevent out-of-bounds access","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nclk: bcm: rpi: Prevent out-of-bounds access\n\nThe while loop in raspberrypi_discover_clocks() relies on the assumption\nthat the id of the last clock element is zero. Because this data comes\nfrom the Videocore firmware and it doesn't guarantuee such a behavior\nthis could lead to out-of-bounds access. So fix this by providing\na sentinel element.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"93d2725affd65686792f4b57e49ef660f3c8c0f9"},{"fixed":"fcae47b2d23c81603b01f56cf8db63ed64599d34"},{"fixed":"ff0b144d4b0a9fbd6efe4d2c0a4b6c9bae2138d2"},{"fixed":"c8b04b731d43366824841ebdca4ac715f95e0ea4"},{"fixed":"bc163555603e4ae9c817675ad80d618a4cdbfa2d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49946.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.9.0"},{"fixed":"5.10.142"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.19.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49946.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/bc163555603e4ae9c817675ad80d618a4cdbfa2d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c8b04b731d43366824841ebdca4ac715f95e0ea4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fcae47b2d23c81603b01f56cf8db63ed64599d34"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ff0b144d4b0a9fbd6efe4d2c0a4b6c9bae2138d2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49946.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49946"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49946.json"}}