CVE-2023-52794

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-52794
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52794.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-52794
Downstream
Related
Published
2024-05-21T15:31:08Z
Modified
2025-10-14T07:56:19.092551Z
Summary
thermal: intel: powerclamp: fix mismatch in get function for max_idle
Details

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

thermal: intel: powerclamp: fix mismatch in get function for max_idle

KASAN reported this

  [ 444.853098] BUG: KASAN: global-out-of-bounds in param_get_int+0x77/0x90
  [ 444.853111] Read of size 4 at addr ffffffffc16c9220 by task cat/2105
  ...
  [ 444.853442] The buggy address belongs to the variable:
  [ 444.853443] max_idle+0x0/0xffffffffffffcde0 [intel_powerclamp]

There is a mismatch between the paramgetint and the definition of maxidle. Replacing paramgetint with paramget_byte resolves this issue.

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
ebf519710218814cf827adbf9111af081344c969
Fixed
6a3866dbdcf39ac93e98708e6abced511733dc18
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ebf519710218814cf827adbf9111af081344c969
Fixed
0a8585281b11e3a0723bba8d8085d61f0b55f37c
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ebf519710218814cf827adbf9111af081344c969
Fixed
fae633cfb729da2771b5433f6b84ae7e8b4aa5f7

Affected versions

v6.*

v6.2
v6.2-rc6
v6.2-rc7
v6.2-rc8
v6.3
v6.3-rc1
v6.3-rc2
v6.3-rc3
v6.3-rc4
v6.3-rc5
v6.3-rc6
v6.3-rc7
v6.4
v6.4-rc1
v6.4-rc2
v6.4-rc3
v6.4-rc4
v6.4-rc5
v6.4-rc6
v6.4-rc7
v6.5
v6.5-rc1
v6.5-rc2
v6.5-rc3
v6.5-rc4
v6.5-rc5
v6.5-rc6
v6.5-rc7
v6.5.1
v6.5.10
v6.5.11
v6.5.12
v6.5.2
v6.5.3
v6.5.4
v6.5.5
v6.5.6
v6.5.7
v6.5.8
v6.5.9
v6.6
v6.6-rc1
v6.6-rc2
v6.6-rc3
v6.6-rc4
v6.6-rc5
v6.6-rc6
v6.6-rc7
v6.6.1
v6.6.2

Database specific

{
    "vanir_signatures": [
        {
            "id": "CVE-2023-52794-1bb7b67c",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6a3866dbdcf39ac93e98708e6abced511733dc18",
            "deprecated": false,
            "signature_version": "v1",
            "signature_type": "Line",
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "197944490390881275417558255114519492482",
                    "159385765061837180732825103726706523768",
                    "80084809199436957443609684174132276764",
                    "187614296707828327641745093422346910300"
                ]
            },
            "target": {
                "file": "drivers/thermal/intel/intel_powerclamp.c"
            }
        },
        {
            "id": "CVE-2023-52794-c1c74dfd",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0a8585281b11e3a0723bba8d8085d61f0b55f37c",
            "deprecated": false,
            "signature_version": "v1",
            "signature_type": "Line",
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "197944490390881275417558255114519492482",
                    "159385765061837180732825103726706523768",
                    "80084809199436957443609684174132276764",
                    "187614296707828327641745093422346910300"
                ]
            },
            "target": {
                "file": "drivers/thermal/intel/intel_powerclamp.c"
            }
        },
        {
            "id": "CVE-2023-52794-e8a8b5c5",
            "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fae633cfb729da2771b5433f6b84ae7e8b4aa5f7",
            "deprecated": false,
            "signature_version": "v1",
            "signature_type": "Line",
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "197944490390881275417558255114519492482",
                    "159385765061837180732825103726706523768",
                    "80084809199436957443609684174132276764",
                    "187614296707828327641745093422346910300"
                ]
            },
            "target": {
                "file": "drivers/thermal/intel/intel_powerclamp.c"
            }
        }
    ]
}

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.3.0
Fixed
6.5.13
Type
ECOSYSTEM
Events
Introduced
6.6.0
Fixed
6.6.3