CVE-2022-48657·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.19.12
- Published
- 2024-04-28
Affected versions
From: 5.16
Until: 5.19.12
Fixed in: 5.19.12
How to fix this CVE
Update your Linux kernel to version 5.19.12 or later to fix an integer overflow vulnerability in the ARM64 CPU topology frequency setup. This vulnerability affects kernel versions 5.16 through 5.19.11 and can lead to memory corruption or privilege escalation on ARM64 systems. Apply the patch immediately using your distribution's package manager.
sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your kernel version with `uname -r` and verify it falls within the vulnerable range (5.16.x to 5.19.11)
- Step 2: Confirm ARM64 architecture with `uname -m` — this CVE only affects ARM64-based systems; x86_64 systems are not vulnerable
- Step 3: Search system logs for CPU frequency scaling errors: `grep -i 'amu_fie\|freq_inv' /var/log/kern.log`
- Step 4: After patching, reboot and verify the new kernel version: `uname -r` should show 5.19.12 or higher
FAQ
What is CVE-2022-48657?
This is an integer overflow vulnerability in the Linux ARM64 kernel's CPU frequency scaling initialization code, where multiplying CPU max frequency by 1000 without proper type casting can exceed 32-bit unsigned integer limits, potentially causing memory corruption or privilege escalation.
Is CVE-2022-48657 being actively exploited?
No, this vulnerability is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and has no public exploits available. However, it should still be patched due to its high CVSS score.
What versions of Kernel are affected by CVE-2022-48657?
Linux kernel versions 5.16 through 5.19.11 are affected on ARM64 systems. The fix was applied in kernel 5.19.12.
How do I check if my server is vulnerable to CVE-2022-48657?
Run `uname -r` to see your kernel version and `uname -m` to verify ARM64 architecture. If your output shows a version between 5.16 and 5.19.11 and architecture is 'aarch64', you are vulnerable.
Does Defensia detect CVE-2022-48657?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored ARM64 server, CVE-2022-48657 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/3c3edb82d67b2be9231174ac2af4af60d4af7549
- https://git.kernel.org/stable/c/904f881b57360cf85de962d84d8614d94431f60e
- https://git.kernel.org/stable/c/bb6d99e27cbe6b30e4e3bbd32927fd3b0bdec6eb
- https://git.kernel.org/stable/c/d4955c0ad77dbc684fc716387070ac24801b8bca
- https://git.kernel.org/stable/c/3c3edb82d67b2be9231174ac2af4af60d4af7549
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2022-48657. Free for 1 server.
Get started free