{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49946","id":"CVE-2022-49946","title":"clk: bcm: rpi: Prevent out-of-bounds access","description":"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 sent","descriptionLong":"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.","published":"2025-06-18T11:00:07.966Z","updated":"2026-10-28T02:30:47.828692753Z","reserved":"2025-06-18T10:57:27.381Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"93d2725affd65686792f4b57e49ef660f3c8c0f9","lessThan":"fcae47b2d23c81603b01f56cf8db63ed64599d34","status":"affected","versionType":"git"},{"version":"93d2725affd65686792f4b57e49ef660f3c8c0f9","lessThan":"ff0b144d4b0a9fbd6efe4d2c0a4b6c9bae2138d2","status":"affected","versionType":"git"},{"version":"93d2725affd65686792f4b57e49ef660f3c8c0f9","lessThan":"c8b04b731d43366824841ebdca4ac715f95e0ea4","status":"affected","versionType":"git"},{"version":"93d2725affd65686792f4b57e49ef660f3c8c0f9","lessThan":"bc163555603e4ae9c817675ad80d618a4cdbfa2d","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.9","status":"affected"},{"version":"0","lessThan":"5.9","status":"unaffected","versionType":"semver"},{"version":"5.10.142","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.66","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.19.8","lessThanOrEqual":"5.19.*","status":"unaffected","versionType":"semver"},{"version":"6.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-125"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/fcae47b2d23c81603b01f56cf8db63ed64599d34","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ff0b144d4b0a9fbd6efe4d2c0a4b6c9bae2138d2","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c8b04b731d43366824841ebdca4ac715f95e0ea4","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/bc163555603e4ae9c817675ad80d618a4cdbfa2d","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49946.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49946","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00248,"epssPercentile":0.16252,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49946","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49946","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49946","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49946","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}