CVE-2022-48657
arm64: topology: fix possible overflow in amu_fie_setup()
HIGH 7.8
At a glance
- Source
- NVD
- EPSS
- EPSS 0.25 % · percentile 16 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-120 — Buffer Copy without Checking Size of Input
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2022-51352
- GCVE · GCVE-0-2022-48657
CERT-FR advisories
- CERTFR-2025-AVI-1057 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0420 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.7 < 5.10.150cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.15.71cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 5.19.12
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected cd0ed03a8903a0b0c6fc36e32d133d1ddfe70cd6 < 904f881b57360cf85de962d84d8614d94431f60e ; affected cd0ed03a8903a0b0c6fc36e32d133d1ddfe70cd6 < 3c3edb82d67b2be9231174ac2af4af60d4af7549 ; affected cd0ed03a8903a0b0c6fc36e32d133d1ddfe70cd6 < bb6d99e27cbe6b30e4e3bbd32927fd3b0bdec6eb ; affected cd0ed03a8903a0b0c6fc36e32d133d1ddfe70cd6 < d4955c0ad77dbc684fc716387070ac24801b8bca |
| Linux · Linux | affected 5.7 ; unaffected 0 < 5.7 ; unaffected 5.10.150 ≤ 5.10.* ; unaffected 5.15.71 ≤ 5.15.* ; unaffected 5.19.12 ≤ 5.19.* ; unaffected 6.0 ≤ * |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |