7.8
HIGH
CVE-2024-38552
AMD Display Index Out-of-Bounds reads
Description

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix potential index out of bounds in color transformation function Fixes index out of bounds issue in the color transformation function. The issue could occur when the index 'i' exceeds the number of transfer function points (TRANSFER_FUNC_POINTS). The fix adds a check to ensure 'i' is within bounds before accessing the transfer function points. If 'i' is out of bounds, an error message is logged and the function returns false to indicate an error. Reported by smatch: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_cm_common.c:405 cm_helper_translate_curve_to_hw_format() error: buffer overflow 'output_tf->tf_pts.red' 1025 <= s32max drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_cm_common.c:406 cm_helper_translate_curve_to_hw_format() error: buffer overflow 'output_tf->tf_pts.green' 1025 <= s32max drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_cm_common.c:407 cm_helper_translate_curve_to_hw_format() error: buffer overflow 'output_tf->tf_pts.blue' 1025 <= s32max

INFO

Published Date :

June 19, 2024, 2:15 p.m.

Last Modified :

Aug. 27, 2024, 7:55 p.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2024-38552 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-38552 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-38552 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Aug. 27, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://git.kernel.org/stable/c/04bc4d1090c343025d69149ca669a27c5b9c34a7 No Types Assigned https://git.kernel.org/stable/c/04bc4d1090c343025d69149ca669a27c5b9c34a7 Patch
    Changed Reference Type https://git.kernel.org/stable/c/123edbae64f4d21984359b99c6e79fcde31c6123 No Types Assigned https://git.kernel.org/stable/c/123edbae64f4d21984359b99c6e79fcde31c6123 Patch
    Changed Reference Type https://git.kernel.org/stable/c/4e8c8b37ee84b3b19c448d2b8e4c916d2f5b9c86 No Types Assigned https://git.kernel.org/stable/c/4e8c8b37ee84b3b19c448d2b8e4c916d2f5b9c86 Patch
    Changed Reference Type https://git.kernel.org/stable/c/604c506ca43fce52bb882cff9c1fdf2ec3b4029c No Types Assigned https://git.kernel.org/stable/c/604c506ca43fce52bb882cff9c1fdf2ec3b4029c Patch
    Changed Reference Type https://git.kernel.org/stable/c/63ae548f1054a0b71678d0349c7dc9628ddd42ca No Types Assigned https://git.kernel.org/stable/c/63ae548f1054a0b71678d0349c7dc9628ddd42ca Patch
    Changed Reference Type https://git.kernel.org/stable/c/7226ddf3311c5e5a7726ad7d4e7b079bb3cfbb29 No Types Assigned https://git.kernel.org/stable/c/7226ddf3311c5e5a7726ad7d4e7b079bb3cfbb29 Patch
    Changed Reference Type https://git.kernel.org/stable/c/98b8a6bfd30d07a19cfacdf82b50f84bf3360869 No Types Assigned https://git.kernel.org/stable/c/98b8a6bfd30d07a19cfacdf82b50f84bf3360869 Patch
    Changed Reference Type https://git.kernel.org/stable/c/ced9c4e2289a786b8fa684d8893b7045ea53ef7e No Types Assigned https://git.kernel.org/stable/c/ced9c4e2289a786b8fa684d8893b7045ea53ef7e Patch
    Changed Reference Type https://git.kernel.org/stable/c/e280ab978c81443103d7c61bdd1d8d708cf6ed6d No Types Assigned https://git.kernel.org/stable/c/e280ab978c81443103d7c61bdd1d8d708cf6ed6d Patch
    Added CWE NIST CWE-129
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.16 up to (excluding) 4.19.316 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.278 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.219 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.161 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.93 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.33 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.8.12 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.9 up to (excluding) 6.9.3
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jul. 15, 2024

    Action Type Old Value New Value
    Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 27, 2024

    Action Type Old Value New Value
    Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html [No types assigned]
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 19, 2024

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix potential index out of bounds in color transformation function Fixes index out of bounds issue in the color transformation function. The issue could occur when the index 'i' exceeds the number of transfer function points (TRANSFER_FUNC_POINTS). The fix adds a check to ensure 'i' is within bounds before accessing the transfer function points. If 'i' is out of bounds, an error message is logged and the function returns false to indicate an error. Reported by smatch: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_cm_common.c:405 cm_helper_translate_curve_to_hw_format() error: buffer overflow 'output_tf->tf_pts.red' 1025 <= s32max drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_cm_common.c:406 cm_helper_translate_curve_to_hw_format() error: buffer overflow 'output_tf->tf_pts.green' 1025 <= s32max drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_cm_common.c:407 cm_helper_translate_curve_to_hw_format() error: buffer overflow 'output_tf->tf_pts.blue' 1025 <= s32max
    Added Reference kernel.org https://git.kernel.org/stable/c/604c506ca43fce52bb882cff9c1fdf2ec3b4029c [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/e280ab978c81443103d7c61bdd1d8d708cf6ed6d [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/04bc4d1090c343025d69149ca669a27c5b9c34a7 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/ced9c4e2289a786b8fa684d8893b7045ea53ef7e [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/98b8a6bfd30d07a19cfacdf82b50f84bf3360869 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/4e8c8b37ee84b3b19c448d2b8e4c916d2f5b9c86 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/123edbae64f4d21984359b99c6e79fcde31c6123 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/7226ddf3311c5e5a7726ad7d4e7b079bb3cfbb29 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/63ae548f1054a0b71678d0349c7dc9628ddd42ca [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-38552 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-38552 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability