[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024052157-CVE-2023-52794-bb34@gregkh>
Date: Tue, 21 May 2024 17:31:30 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2023-52794: thermal: intel: powerclamp: fix mismatch in get function for max_idle
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.
The Linux kernel CVE team has assigned CVE-2023-52794 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.3 with commit ebf519710218 and fixed in 6.5.13 with commit 6a3866dbdcf3
Issue introduced in 6.3 with commit ebf519710218 and fixed in 6.6.3 with commit 0a8585281b11
Issue introduced in 6.3 with commit ebf519710218 and fixed in 6.7 with commit fae633cfb729
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2023-52794
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/thermal/intel/intel_powerclamp.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/6a3866dbdcf39ac93e98708e6abced511733dc18
https://git.kernel.org/stable/c/0a8585281b11e3a0723bba8d8085d61f0b55f37c
https://git.kernel.org/stable/c/fae633cfb729da2771b5433f6b84ae7e8b4aa5f7
Powered by blists - more mailing lists