CVE-2024-27044: drm/amd/display: Fix potential NULL pointer dereferences in 'dcn10_set_output_transfer_func()'

Description

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

drm/amd/display: Fix potential NULL pointer dereferences in 'dcn10_set_output_transfer_func()'

The 'stream' pointer is used in dcn10_set_output_transfer_func() before
the check if 'stream' is NULL.

Fixes the below:
drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn10/dcn10_hwseq.c:1892 dcn10_set_output_transfer_func() warn: variable dereferenced before check 'stream' (see line 1875)

Classification

CVE ID: CVE-2024-27044

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 5.08% (scored less or equal to compared to others)

EPSS Date: 2025-02-04 (when was this score calculated)

References

https://git.kernel.org/stable/c/e019d87e02f1e539ae48b99187f253847744ca7a
https://git.kernel.org/stable/c/330caa061af53ea6d287d7c43d0703714e510e08
https://git.kernel.org/stable/c/6ac7c7a3a9ab57aba0fe78ecb922d2b20e16efeb
https://git.kernel.org/stable/c/29fde8895b2fcc33f44aea28c644ce2d9b62f9e0
https://git.kernel.org/stable/c/2d9fe7787af01188dc470a649bdbb842d6511fd7
https://git.kernel.org/stable/c/14613d52bc7fc180df6d2c65ba65fc921fc1dda7
https://git.kernel.org/stable/c/7874ab3105ca4657102fee1cc14b0af70883c484
https://git.kernel.org/stable/c/9ccfe80d022df7c595f1925afb31de2232900656

Timeline