CVE-2023-52794 thermal: intel: powerclamp: fix mismatch in get function for max_idle

High 7.1 Published Updated

A mismatch in the Intel powerclamp thermal driver causes a global out-of-bounds read, potentially leading to a kernel crash or denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-52794?

CVE-2023-52794 is a high-severity memory corruption vulnerability in Linux kernel, published on 21 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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 param_get_int and the definition of max_idle. Replacing param_get_int with param_get_byte resolves this issue.

Weakness: CWE-125

Which versions are affected by CVE-2023-52794?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-52794?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-52794 being exploited?

There is no known exploitation of CVE-2023-52794 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-52794, DEBIAN-CVE-2023-52794, GHSA-frc8-7f65-3g5r, UBUNTU-CVE-2023-52794.

Is CVE-2023-52794 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free