CVE-2022-49946

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

No CVSS score yet EPSS 0.25%

Published 18 Jun 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2022-49946

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-49946 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.1% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 93d2725affd65686792f4b57e49ef660f3c8c0f9, before fcae47b2d23c81603b01f56cf8db63ed64599d34
affected from 93d2725affd65686792f4b57e49ef660f3c8c0f9, before ff0b144d4b0a9fbd6efe4d2c0a4b6c9bae2138d2
affected from 93d2725affd65686792f4b57e49ef660f3c8c0f9, before c8b04b731d43366824841ebdca4ac715f95e0ea4
affected from 93d2725affd65686792f4b57e49ef660f3c8c0f9, before bc163555603e4ae9c817675ad80d618a4cdbfa2d
Other versions: unaffected
Linux
affected 5.9
unaffected before 5.9
unaffected from 5.10.142 up to and including 5.10.*
unaffected from 5.15.66 up to and including 5.15.*
unaffected from 5.19.8 up to and including 5.19.*
unaffected 6.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-49946 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49946

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-49946
trivy image --scanners vuln IMAGE | grep CVE-2022-49946

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2022-49946 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.