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.
{ "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" } } ] }