CVE-2022-48657

arm64: topology: fix possible overflow in amu_fie_setup()

published April 28, 2024

CVSS
—
EPSS
0%
Percentile
15.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00248 · 15.2th percentile
Published
2024-04-28T13:01Z
EPSS history
Timeline
  • 28 APR 13:01Z
    arm64: topology: fix possible overflow in amu_fie_setup()
    cvelistv5