CVE-2024-49895
Amid Display DCN30 Color Management Out-of-Bounds Write Vulnerability
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix index out of bounds in DCN30 degamma hardware format translation This commit addresses a potential index out of bounds issue in the `cm3_helper_translate_curve_to_degamma_hw_format` function in the DCN30 color management module. 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, the function returns false to indicate an error. Reported by smatch: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_cm_common.c:338 cm3_helper_translate_curve_to_degamma_hw_format() error: buffer overflow 'output_tf->tf_pts.red' 1025 <= s32max drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_cm_common.c:339 cm3_helper_translate_curve_to_degamma_hw_format() error: buffer overflow 'output_tf->tf_pts.green' 1025 <= s32max drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_cm_common.c:340 cm3_helper_translate_curve_to_degamma_hw_format() error: buffer overflow 'output_tf->tf_pts.blue' 1025 <= s32max
INFO
Published Date :
Oct. 21, 2024, 6:15 p.m.
Last Modified :
Oct. 25, 2024, 2:35 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-49895
.
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-49895
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-49895
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]
Oct. 25, 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/0d38a0751143afc03faef02d55d31f70374ff843 No Types Assigned https://git.kernel.org/stable/c/0d38a0751143afc03faef02d55d31f70374ff843 Patch Changed Reference Type https://git.kernel.org/stable/c/ad89f83343a501890cf082c8a584e96b59fe4015 No Types Assigned https://git.kernel.org/stable/c/ad89f83343a501890cf082c8a584e96b59fe4015 Patch Changed Reference Type https://git.kernel.org/stable/c/bc50b614d59990747dd5aeced9ec22f9258991ff No Types Assigned https://git.kernel.org/stable/c/bc50b614d59990747dd5aeced9ec22f9258991ff Patch Changed Reference Type https://git.kernel.org/stable/c/c4fdc2d6fea129684b82bab90bb52fbace494a58 No Types Assigned https://git.kernel.org/stable/c/c4fdc2d6fea129684b82bab90bb52fbace494a58 Patch Changed Reference Type https://git.kernel.org/stable/c/de6ee4f9e6b1c36b4fdc7c345c1a6de9e246093e No Types Assigned https://git.kernel.org/stable/c/de6ee4f9e6b1c36b4fdc7c345c1a6de9e246093e Patch Changed Reference Type https://git.kernel.org/stable/c/f3ccd855b4395ce65f10dd37847167f52e122b70 No Types Assigned https://git.kernel.org/stable/c/f3ccd855b4395ce65f10dd37847167f52e122b70 Patch Changed Reference Type https://git.kernel.org/stable/c/f5c3d306de91a4b69cfe3eedb72b42d452593e42 No Types Assigned https://git.kernel.org/stable/c/f5c3d306de91a4b69cfe3eedb72b42d452593e42 Patch Added CWE NIST CWE-129 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 5.10.227 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.168 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.113 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.55 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.10.14 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.11 up to (excluding) 6.11.3 -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 21, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix index out of bounds in DCN30 degamma hardware format translation This commit addresses a potential index out of bounds issue in the `cm3_helper_translate_curve_to_degamma_hw_format` function in the DCN30 color management module. 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, the function returns false to indicate an error. Reported by smatch: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_cm_common.c:338 cm3_helper_translate_curve_to_degamma_hw_format() error: buffer overflow 'output_tf->tf_pts.red' 1025 <= s32max drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_cm_common.c:339 cm3_helper_translate_curve_to_degamma_hw_format() error: buffer overflow 'output_tf->tf_pts.green' 1025 <= s32max drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_cm_common.c:340 cm3_helper_translate_curve_to_degamma_hw_format() error: buffer overflow 'output_tf->tf_pts.blue' 1025 <= s32max Added Reference kernel.org https://git.kernel.org/stable/c/ad89f83343a501890cf082c8a584e96b59fe4015 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/de6ee4f9e6b1c36b4fdc7c345c1a6de9e246093e [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/f3ccd855b4395ce65f10dd37847167f52e122b70 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/0d38a0751143afc03faef02d55d31f70374ff843 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/f5c3d306de91a4b69cfe3eedb72b42d452593e42 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/c4fdc2d6fea129684b82bab90bb52fbace494a58 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/bc50b614d59990747dd5aeced9ec22f9258991ff [No types assigned]
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-49895
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-49895
weaknesses.