CVE-2024-49898 – drm/amd/display: Check null-initialized variables
https://notcve.org/view.php?id=CVE-2024-49898
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Check null-initialized variables [WHAT & HOW] drr_timing and subvp_pipe are initialized to null and they are not always assigned new values. It is necessary to check for null before dereferencing. This fixes 2 FORWARD_NULL issues reported by Coverity. • https://git.kernel.org/stable/c/3fc70ae048fe0936761b73b50700a810ff61e853 https://git.kernel.org/stable/c/115b1a3b0944b4d8ef0b4b0c5a625bdd9474131f https://git.kernel.org/stable/c/367cd9ceba1933b63bc1d87d967baf6d9fd241d2 •
CVE-2024-49897 – drm/amd/display: Check phantom_stream before it is used
https://notcve.org/view.php?id=CVE-2024-49897
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Check phantom_stream before it is used dcn32_enable_phantom_stream can return null, so returned value must be checked before used. This fixes 1 NULL_RETURNS issue reported by Coverity. • https://git.kernel.org/stable/c/1decf695ce08e23d9ded6ce83d121b2282ce9899 https://git.kernel.org/stable/c/3ba1219e299ab5462b5cb374c2fa2a67af0ea190 https://git.kernel.org/stable/c/3718a619a8c0a53152e76bb6769b6c414e1e83f4 •
CVE-2024-49896 – drm/amd/display: Check stream before comparing them
https://notcve.org/view.php?id=CVE-2024-49896
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Check stream before comparing them [WHAT & HOW] amdgpu_dm can pass a null stream to dc_is_stream_unchanged. It is necessary to check for null before dereferencing them. This fixes 1 FORWARD_NULL issue reported by Coverity. • https://git.kernel.org/stable/c/3944d226f55235a960d8f1135927f95e9801be12 https://git.kernel.org/stable/c/471c53350ab83e47a2a117c2738ce0363785976e https://git.kernel.org/stable/c/0167d570f6a0b38689c4a0e50bf79c518d827500 https://git.kernel.org/stable/c/14db8692afe1aa2143b673856bb603713d8ea93f https://git.kernel.org/stable/c/e8da54b7f8a17e44e67ea6d1037f35450af28115 https://git.kernel.org/stable/c/42d31a33643813cce55ee1ebbad3a2d0d24a08e0 https://git.kernel.org/stable/c/5b4b13e678b15975055f4ff1ce4cf0ce4c19b6c4 https://git.kernel.org/stable/c/e41a291e1bef1153bba091b6580ecc7af •
CVE-2024-49895 – drm/amd/display: Fix index out of bounds in DCN30 degamma hardware format translation
https://notcve.org/view.php?id=CVE-2024-49895
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/.. • https://git.kernel.org/stable/c/ad89f83343a501890cf082c8a584e96b59fe4015 https://git.kernel.org/stable/c/de6ee4f9e6b1c36b4fdc7c345c1a6de9e246093e https://git.kernel.org/stable/c/f3ccd855b4395ce65f10dd37847167f52e122b70 https://git.kernel.org/stable/c/0d38a0751143afc03faef02d55d31f70374ff843 https://git.kernel.org/stable/c/f5c3d306de91a4b69cfe3eedb72b42d452593e42 https://git.kernel.org/stable/c/c4fdc2d6fea129684b82bab90bb52fbace494a58 https://git.kernel.org/stable/c/bc50b614d59990747dd5aeced9ec22f9258991ff •
CVE-2024-49894 – drm/amd/display: Fix index out of bounds in degamma hardware format translation
https://notcve.org/view.php?id=CVE-2024-49894
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 <= s32max drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_cm_common.c:595 cm_helper_translate_curve_to_degamma_hw_format() error: buffer overflow 'output_tf->tf_pts.green' 1025 <= s32max drivers/gpu/drm/amd/amdgpu/.. • https://git.kernel.org/stable/c/b3dfa878257a7e98830b3009ca5831a01d8f85fc https://git.kernel.org/stable/c/f5f6d90087131812c1e4b9d3103f400f1624396d https://git.kernel.org/stable/c/c130a3c09e3746c1a09ce26c20d21d449d039b1d https://git.kernel.org/stable/c/c6979719012a90e5b8e3bc31725fbfdd0b9b2b79 https://git.kernel.org/stable/c/2495c8e272d84685403506833a664fad932e453a https://git.kernel.org/stable/c/122e3a7a8c7bcbe3aacddd6103f67f9f36bed473 https://git.kernel.org/stable/c/2f5da549535be8ccd2ab7c9abac8562ad370b181 https://git.kernel.org/stable/c/07078fa5d589a7fbce8f81ea8acf7aa00 •