CVE-2022-48657

arm64: topology: fix possible overflow in amu_fie_setup()

No CVSS score yet EPSS 0.25%

Published 28 Apr 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2022-48657

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-48657 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:

arm64: topology: fix possible overflow in amu_fie_setup()

cpufreq_get_hw_max_freq() returns max frequency in kHz as *unsigned int*, while freq_inv_set_max_ratio() gets passed this frequency in Hz as 'u64'. Multiplying max frequency by 1000 can potentially result in overflow -- multiplying by 1000ULL instead should avoid that...

Found by Linux Verification Center (linuxtesting.org) with the SVACE static analysis tool.

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.

The assessment of CISA (SSVC, 9 May 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from cd0ed03a8903a0b0c6fc36e32d133d1ddfe70cd6, before 904f881b57360cf85de962d84d8614d94431f60e
affected from cd0ed03a8903a0b0c6fc36e32d133d1ddfe70cd6, before 3c3edb82d67b2be9231174ac2af4af60d4af7549
affected from cd0ed03a8903a0b0c6fc36e32d133d1ddfe70cd6, before bb6d99e27cbe6b30e4e3bbd32927fd3b0bdec6eb
affected from cd0ed03a8903a0b0c6fc36e32d133d1ddfe70cd6, before d4955c0ad77dbc684fc716387070ac24801b8bca
Other versions: unaffected
Linux
affected 5.7
unaffected before 5.7
unaffected from 5.10.150 up to and including 5.10.*
unaffected from 5.15.71 up to and including 5.15.*
unaffected from 5.19.12 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-48657 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-48657

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-48657
trivy image --scanners vuln IMAGE | grep CVE-2022-48657

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-48657 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.