CVE-2022-48657

low

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.

References

https://git.kernel.org/stable/c/d4955c0ad77dbc684fc716387070ac24801b8bca

https://git.kernel.org/stable/c/bb6d99e27cbe6b30e4e3bbd32927fd3b0bdec6eb

https://git.kernel.org/stable/c/904f881b57360cf85de962d84d8614d94431f60e

https://git.kernel.org/stable/c/3c3edb82d67b2be9231174ac2af4af60d4af7549

Details

Source: Mitre, NVD

Published: 2024-04-28

Updated: 2024-04-29

Risk Information

CVSS v2

Base Score: 1.7

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:P

Severity: Low

CVSS v3

Base Score: 3.3

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Severity: Low