Lucene search

K
cve416baaa9-dc9f-4396-8d5f-8c081fb06d67CVE-2023-52794
HistoryMay 21, 2024 - 4:15 p.m.

CVE-2023-52794

2024-05-2116:15:18
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
24
linux kernel
vulnerability
thermal intel powerclamp
max_idle
kasan
mismatch
param_get_int
param_get_byte
address
nvd

6.7 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%

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.

Affected configurations

Vulners
Node
linuxlinux_kernelRange6.36.5.13
OR
linuxlinux_kernelRange6.6.06.6.3
OR
linuxlinux_kernelRange6.7.0

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/thermal/intel/intel_powerclamp.c"
    ],
    "versions": [
      {
        "version": "ebf519710218",
        "lessThan": "6a3866dbdcf3",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ebf519710218",
        "lessThan": "0a8585281b11",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ebf519710218",
        "lessThan": "fae633cfb729",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/thermal/intel/intel_powerclamp.c"
    ],
    "versions": [
      {
        "version": "6.3",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.3",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.5.13",
        "lessThanOrEqual": "6.5.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.3",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.7 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%