CVE-2022-49750

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49750
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49750.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49750
Downstream
Published
2025-03-27T16:42:59Z
Modified
2025-10-14T23:45:36.496098Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
cpufreq: CPPC: Add u64 casts to avoid overflowing
Details

In the Linux kernel, the following vulnerability has been resolved:

cpufreq: CPPC: Add u64 casts to avoid overflowing

The fields of the _CPC object are unsigned 32-bits values. To avoid overflows while using _CPC's values, add 'u64' casts.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
740fcdc2c20ecf855b36b919d7fa1b872b5a7eae
Fixed
7d596bbc66a52ff2c7a83d7e0ee840cb07e2a045
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
740fcdc2c20ecf855b36b919d7fa1b872b5a7eae
Fixed
f5f94b9c8b805d87ff185caf9779c3a4d07819e3

Affected versions

v5.*

v5.18
v5.18-rc5
v5.18-rc6
v5.18-rc7
v5.19
v5.19-rc1
v5.19-rc2
v5.19-rc3
v5.19-rc4
v5.19-rc5
v5.19-rc6
v5.19-rc7
v5.19-rc8

v6.*

v6.0
v6.0-rc1
v6.0-rc2
v6.0-rc3
v6.0-rc4
v6.0-rc5
v6.0-rc6
v6.0-rc7
v6.1
v6.1-rc1
v6.1-rc2
v6.1-rc3
v6.1-rc4
v6.1-rc5
v6.1-rc6
v6.1-rc7
v6.1-rc8
v6.1.1
v6.1.2
v6.1.3
v6.1.4
v6.1.5
v6.1.6
v6.1.7
v6.1.8
v6.2-rc1

Database specific

{
    "vanir_signatures": [
        {
            "signature_version": "v1",
            "signature_type": "Line",
            "target": {
                "file": "drivers/cpufreq/cppc_cpufreq.c"
            },
            "id": "CVE-2022-49750-5a129b81",
            "digest": {
                "line_hashes": [
                    "23324669390543597511384000036792044834",
                    "104643167321500129206988767080794316779",
                    "246336817724856398045931376089243449093",
                    "195862552008781943186616338342982002467",
                    "142310333691679622613158372583466402309",
                    "190765702624270982750420867790897196031",
                    "164443570711421050815208320999142637504",
                    "184158975526722993694210201123089612610",
                    "288735957635840939744149494905982273339",
                    "157495372260830690980141291565743111777"
                ],
                "threshold": 0.9
            },
            "deprecated": false,
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f5f94b9c8b805d87ff185caf9779c3a4d07819e3"
        },
        {
            "signature_version": "v1",
            "signature_type": "Line",
            "target": {
                "file": "drivers/cpufreq/cppc_cpufreq.c"
            },
            "id": "CVE-2022-49750-70ceacd3",
            "digest": {
                "line_hashes": [
                    "23324669390543597511384000036792044834",
                    "104643167321500129206988767080794316779",
                    "246336817724856398045931376089243449093",
                    "195862552008781943186616338342982002467",
                    "142310333691679622613158372583466402309",
                    "190765702624270982750420867790897196031",
                    "164443570711421050815208320999142637504",
                    "184158975526722993694210201123089612610",
                    "288735957635840939744149494905982273339",
                    "157495372260830690980141291565743111777"
                ],
                "threshold": 0.9
            },
            "deprecated": false,
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7d596bbc66a52ff2c7a83d7e0ee840cb07e2a045"
        },
        {
            "signature_version": "v1",
            "signature_type": "Function",
            "target": {
                "file": "drivers/cpufreq/cppc_cpufreq.c",
                "function": "cppc_get_cpu_power"
            },
            "id": "CVE-2022-49750-7690e10e",
            "digest": {
                "length": 1160.0,
                "function_hash": "333885165231787354546846718155210956599"
            },
            "deprecated": false,
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f5f94b9c8b805d87ff185caf9779c3a4d07819e3"
        },
        {
            "signature_version": "v1",
            "signature_type": "Function",
            "target": {
                "file": "drivers/cpufreq/cppc_cpufreq.c",
                "function": "get_perf_level_count"
            },
            "id": "CVE-2022-49750-84257e8c",
            "digest": {
                "length": 386.0,
                "function_hash": "50111303592112830820751047870266886296"
            },
            "deprecated": false,
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7d596bbc66a52ff2c7a83d7e0ee840cb07e2a045"
        },
        {
            "signature_version": "v1",
            "signature_type": "Function",
            "target": {
                "file": "drivers/cpufreq/cppc_cpufreq.c",
                "function": "get_perf_level_count"
            },
            "id": "CVE-2022-49750-b06bbca9",
            "digest": {
                "length": 386.0,
                "function_hash": "50111303592112830820751047870266886296"
            },
            "deprecated": false,
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f5f94b9c8b805d87ff185caf9779c3a4d07819e3"
        },
        {
            "signature_version": "v1",
            "signature_type": "Function",
            "target": {
                "file": "drivers/cpufreq/cppc_cpufreq.c",
                "function": "cppc_get_cpu_power"
            },
            "id": "CVE-2022-49750-b2934ed2",
            "digest": {
                "length": 1160.0,
                "function_hash": "333885165231787354546846718155210956599"
            },
            "deprecated": false,
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7d596bbc66a52ff2c7a83d7e0ee840cb07e2a045"
        }
    ]
}

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
6.1.9