CVE-2022-48657 arm64: topology: fix possible overflow in amu_fie_setup()
An integer overflow in the Linux kernel's ARM64 topology code can lead to a denial of service condition.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-48657?
CVE-2022-48657 is a high-severity vulnerability in Linux kernel, published on 28 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-120
Which versions are affected by CVE-2022-48657?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-48657?
Apply the vendor's patch.
Is CVE-2022-48657 being exploited?
There is no known exploitation of CVE-2022-48657 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-48657, GHSA-f7mq-6hh4-m99j, UBUNTU-CVE-2022-48657.