{"id":"CVE-2022-48657","state":"PUBLISHED","title":"arm64: topology: fix possible overflow in amu_fie_setup()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\narm64: topology: fix possible overflow in amu_fie_setup()\n\ncpufreq_get_hw_max_freq() returns max frequency in kHz as *unsigned int*,\nwhile freq_inv_set_max_ratio() gets passed this frequency in Hz as 'u64'.\nMultiplying max frequency by 1000 can potentially result in overflow --\nmultiplying by 1000ULL instead should avoid that...\n\nFound by Linux Verification Center (linuxtesting.org) with the SVACE static\nanalysis tool.","publishedAt":"2024-04-28T13:01:08.975Z","updatedAt":"2026-05-11T18:44:37.021Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"cd0ed03a8903a0b0c6fc36e32d133d1ddfe70cd6","status":"affected","lessThan":"904f881b57360cf85de962d84d8614d94431f60e","versionType":"git"},{"version":"cd0ed03a8903a0b0c6fc36e32d133d1ddfe70cd6","status":"affected","lessThan":"3c3edb82d67b2be9231174ac2af4af60d4af7549","versionType":"git"},{"version":"cd0ed03a8903a0b0c6fc36e32d133d1ddfe70cd6","status":"affected","lessThan":"bb6d99e27cbe6b30e4e3bbd32927fd3b0bdec6eb","versionType":"git"},{"version":"cd0ed03a8903a0b0c6fc36e32d133d1ddfe70cd6","status":"affected","lessThan":"d4955c0ad77dbc684fc716387070ac24801b8bca","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/arm64/kernel/topology.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.7","versionType":"semver"},{"version":"5.10.150","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.71","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.19.12","status":"unaffected","lessThanOrEqual":"5.19.*","versionType":"semver"},{"version":"6.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/arm64/kernel/topology.c"]}],"references":["https://git.kernel.org/stable/c/904f881b57360cf85de962d84d8614d94431f60e","https://git.kernel.org/stable/c/3c3edb82d67b2be9231174ac2af4af60d4af7549","https://git.kernel.org/stable/c/bb6d99e27cbe6b30e4e3bbd32927fd3b0bdec6eb","https://git.kernel.org/stable/c/d4955c0ad77dbc684fc716387070ac24801b8bca"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/48xxx/CVE-2022-48657.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-48657","state":"PUBLISHED","datePublished":"2024-04-28T13:01:08.975Z","dateUpdated":"2026-05-11T18:44:37.021Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-02-25T13:44:28.317Z"},"containers":{"cna":{"title":"arm64: topology: fix possible overflow in amu_fie_setup()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\narm64: topology: fix possible overflow in amu_fie_setup()\n\ncpufreq_get_hw_max_freq() returns max frequency in kHz as *unsigned int*,\nwhile freq_inv_set_max_ratio() gets passed this frequency in Hz as 'u64'.\nMultiplying max frequency by 1000 can potentially result in overflow --\nmultiplying by 1000ULL instead should avoid that...\n\nFound by Linux Verification Center (linuxtesting.org) with the SVACE static\nanalysis tool."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"cd0ed03a8903a0b0c6fc36e32d133d1ddfe70cd6","status":"affected","lessThan":"904f881b57360cf85de962d84d8614d94431f60e","versionType":"git"},{"version":"cd0ed03a8903a0b0c6fc36e32d133d1ddfe70cd6","status":"affected","lessThan":"3c3edb82d67b2be9231174ac2af4af60d4af7549","versionType":"git"},{"version":"cd0ed03a8903a0b0c6fc36e32d133d1ddfe70cd6","status":"affected","lessThan":"bb6d99e27cbe6b30e4e3bbd32927fd3b0bdec6eb","versionType":"git"},{"version":"cd0ed03a8903a0b0c6fc36e32d133d1ddfe70cd6","status":"affected","lessThan":"d4955c0ad77dbc684fc716387070ac24801b8bca","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/arm64/kernel/topology.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.7","versionType":"semver"},{"version":"5.10.150","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.71","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.19.12","status":"unaffected","lessThanOrEqual":"5.19.*","versionType":"semver"},{"version":"6.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/arm64/kernel/topology.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/904f881b57360cf85de962d84d8614d94431f60e"},{"url":"https://git.kernel.org/stable/c/3c3edb82d67b2be9231174ac2af4af60d4af7549"},{"url":"https://git.kernel.org/stable/c/bb6d99e27cbe6b30e4e3bbd32927fd3b0bdec6eb"},{"url":"https://git.kernel.org/stable/c/d4955c0ad77dbc684fc716387070ac24801b8bca"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T18:44:37.021Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.7","versionEndExcluding":"5.10.150"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.7","versionEndExcluding":"5.15.71"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.7","versionEndExcluding":"5.19.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.7","versionEndExcluding":"6.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2022-48657","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-05-09T18:40:00.243265Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:16:41.197Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/904f881b57360cf85de962d84d8614d94431f60e","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/3c3edb82d67b2be9231174ac2af4af60d4af7549","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/bb6d99e27cbe6b30e4e3bbd32927fd3b0bdec6eb","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/d4955c0ad77dbc684fc716387070ac24801b8bca","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T15:17:55.599Z"}}]}}}