Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2024-49894

HIGH · 7.1 CVSS Gepubliceerd: CWE-129

Beschrijving NL

In de Linux kernel is de volgende kwetsbaarheid verholpen:

drm/amd/display: Fix index out of bounds in degamma hardware formaat vertaling

Lost probleem met index buiten de grenzen op in
`cm_helper_translate_curve_to_degamma_hw_format` -functie. Het probleem
kan optreden wanneer de index 'i' het aantal overdrachtsfuncties overschrijdt
punten (TRANSFER_FUNC_POINTS). De oplossing voegt een controle toe om er zeker van te zijn dat 'i' binnen de grenzen ligt voordat u toegang krijgt tot de
overdrachtsfunctiepunten. Als 'i' buiten bereik is, keert de functie terug
false om een fout aan te geven. Gemeld door smatch:
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_cm_common.c:594 cm_helper_translate_curve_to_degamma_hw_format() error: buffer overflow 'output_tf- > tf_pts.red' 1025 tf_pts.green ' 1025 tf_pts.blue' 1025 <= s32max

Origineel (Engels) tonen

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

drm/amd/display: Fix index out of bounds in degamma hardware format translation

Fixes index out of bounds issue in
`cm_helper_translate_curve_to_degamma_hw_format` 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 the function returns
false to indicate an error.

Reported by smatch:
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_cm_common.c:594 cm_helper_translate_curve_to_degamma_hw_format() error: buffer overflow 'output_tf->tf_pts.red' 1025 tf_pts.green' 1025 tf_pts.blue' 1025 <= s32max

Vendors

Siemens Debian Linux

Affected products

Simatic S7-1500 Tm Mfp Firmware Simatic S7-1500 Tm Mfp Debian Linux Linux Kernel Sinec Os

References