# CVE-2022-48657: arm64: topology: fix possible overflow in amu_fie_setup()

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-02)
- Published: 2024-04-28T13:01:08.975Z
- Modified: 2026-06-17T05:15:50.640Z
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from cd0ed03a8903a0b0c6fc36e32d133d1ddfe70cd6 before 904f881b57360cf85de962d84d8614d94431f60e; from cd0ed03a8903a0b0c6fc36e32d133d1ddfe70cd6 before 3c3edb82d67b2be9231174ac2af4af60d4af7549; from cd0ed03a8903a0b0c6fc36e32d133d1ddfe70cd6 before bb6d99e27cbe6b30e4e3bbd32927fd3b0bdec6eb; from cd0ed03a8903a0b0c6fc36e32d133d1ddfe70cd6 before d4955c0ad77dbc684fc716387070ac24801b8bca; 5.7 (not affected: before 5.7; from 5.10.150 up to 5.10.*; from 5.15.71 up to 5.15.*; from 5.19.12 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 5.7 before 5.10.150; from 5.11 before 5.15.71; from 5.16 before 5.19.12

## References

- <https://git.kernel.org/stable/c/904f881b57360cf85de962d84d8614d94431f60e> (patch)
- <https://git.kernel.org/stable/c/3c3edb82d67b2be9231174ac2af4af60d4af7549> (patch)
- <https://git.kernel.org/stable/c/bb6d99e27cbe6b30e4e3bbd32927fd3b0bdec6eb> (patch)
- <https://git.kernel.org/stable/c/d4955c0ad77dbc684fc716387070ac24801b8bca> (patch)

## Sources

- CVE List: [CVE-2022-48657](https://www.cve.org/CVERecord?id=CVE-2022-48657), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-48657](https://nvd.nist.gov/vuln/detail/CVE-2022-48657), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-48657 · Whole record: https://cve.day/CVE-2022-48657.json · Rebuilt by cve.day 2026-11-25T22:58:19.788Z
