Skip to content
Heist/ feed
Back to feed
UnratedFix available

arm64: topology: fix possible overflow in amu_fie_setup()

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.150, 5.15.71, 5.19.12
CVEs
CVE-2022-48657
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 04:44 UTC · Revision 1

Source evidence

arm64: topology: fix possible overflow in amu_fie_setup()

core-osv · Original source

Published 28 Apr 2024, 13:01 UTC

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.

osv:CVE-2022-48657

Kernel

Fixed versions: 5.10.150, 5.15.71, 5.19.12

Complete source record
{
  "id": "88c64eaae8cb44d16195aedb62a77aa18ecb2d79fab140e94e764a14678da914",
  "url": "https://osv.dev/vulnerability/CVE-2022-48657",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "arm64: topology: fix possible overflow in amu_fie_setup()",
    "summary": "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.",
    "evidence": "osv:CVE-2022-48657",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.150",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.71",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.19.12",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-48657",
      "aliases": [
        "CVE-2022-48657"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "cd0ed03a8903a0b0c6fc36e32d133d1ddfe70cd6"
                },
                {
                  "fixed": "904f881b57360cf85de962d84d8614d94431f60e"
                },
                {
                  "fixed": "3c3edb82d67b2be9231174ac2af4af60d4af7549"
                },
                {
                  "fixed": "bb6d99e27cbe6b30e4e3bbd32927fd3b0bdec6eb"
                },
                {
                  "fixed": "d4955c0ad77dbc684fc716387070ac24801b8bca"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48657.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.7.0"
                },
                {
                  "fixed": "5.10.150"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.71"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "5.19.12"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48657.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.185278414Z",
      "provider": "osv",
      "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://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48657.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-48657",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48657.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-48657",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 518231,
  "published_at": "2024-04-28T13:01:08.975+00:00"
}