Lucene search

K
cveLinuxCVE-2023-52469
HistoryFeb 26, 2024 - 4:27 p.m.

CVE-2023-52469

2024-02-2616:27:48
CWE-416
Linux
web.nvd.nist.gov
1146
linux kernel
cve-2023-52469
vulnerability
drivers
amd
pm
use-after-free
kv_parse_power_table

CVSS3

7.8

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI Score

6.3

Confidence

Low

EPSS

0

Percentile

5.1%

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

drivers/amd/pm: fix a use-after-free in kv_parse_power_table

When ps allocated by kzalloc equals to NULL, kv_parse_power_table
frees adev->pm.dpm.ps that allocated before. However, after the control
flow goes through the following call chains:

kv_parse_power_table
|-> kv_dpm_init
|-> kv_dpm_sw_init
|-> kv_dpm_fini

The adev->pm.dpm.ps is used in the for loop of kv_dpm_fini after its
first free in kv_parse_power_table and causes a use-after-free bug.

Affected configurations

Nvd
Vulners
Node
linuxlinux_kernelRange4.2.04.19.306
OR
linuxlinux_kernelRange4.20.05.4.268
OR
linuxlinux_kernelRange5.5.05.10.209
OR
linuxlinux_kernelRange5.11.05.15.148
OR
linuxlinux_kernelRange5.16.06.1.75
OR
linuxlinux_kernelRange6.2.06.6.14
OR
linuxlinux_kernelRange6.7.06.7.2
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c"
    ],
    "versions": [
      {
        "version": "a2e73f56fa62",
        "lessThan": "8a27d9d9fc9b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a2e73f56fa62",
        "lessThan": "8b55b06e737f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a2e73f56fa62",
        "lessThan": "520e213a0b97",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a2e73f56fa62",
        "lessThan": "b6dcba02ee17",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a2e73f56fa62",
        "lessThan": "35fa2394d26e",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a2e73f56fa62",
        "lessThan": "95084632a65d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a2e73f56fa62",
        "lessThan": "3426f059eacc",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a2e73f56fa62",
        "lessThan": "28dd788382c4",
        "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/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c"
    ],
    "versions": [
      {
        "version": "4.2",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.2",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.306",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.268",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.209",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.148",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.75",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.14",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.2",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

CVSS3

7.8

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI Score

6.3

Confidence

Low

EPSS

0

Percentile

5.1%