drm/amd/display: Add NULL check for function pointer in dcn32_set_output_transfer_func
This commit adds a null check for the set_output_gamma function pointer
in the dcn32_set_output_transfer_func function. Previously,
set_output_gamma was being checked for null, but then it was being
dereferenced without any null check. This could lead to a null pointer
dereference if set_output_gamma is null.
To fix this, we now ensure that set_output_gamma is not null before
dereferencing it. We do this by adding a null check for set_output_gamma
before the call to set_output_gamma.
Metrics
Affected Vendors & Products
| Source | ID | Title | 
|---|---|---|
  Debian DLA | 
                DLA-4076-1 | linux-6.1 security update | 
  Ubuntu USN | 
                USN-7170-1 | Linux kernel (OEM) vulnerabilities | 
  Ubuntu USN | 
                USN-7276-1 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7277-1 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7301-1 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7303-1 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7303-2 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7303-3 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7304-1 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7311-1 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7384-1 | Linux kernel (Azure) vulnerabilities | 
  Ubuntu USN | 
                USN-7384-2 | Linux kernel (Azure) vulnerabilities | 
  Ubuntu USN | 
                USN-7385-1 | Linux kernel (IBM) vulnerabilities | 
  Ubuntu USN | 
                USN-7386-1 | Linux kernel (OEM) vulnerabilities | 
  Ubuntu USN | 
                USN-7403-1 | Linux kernel (HWE) vulnerabilities | 
  Ubuntu USN | 
                USN-7468-1 | Linux kernel (Azure, N-Series) vulnerabilities | 
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
Mon, 03 Nov 2025 21:30:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| References | 
         | 
Sat, 14 Dec 2024 21:00:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| References | 
         | 
Mon, 09 Dec 2024 10:45:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| References | 
         | 
Thu, 24 Oct 2024 03:15:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| First Time appeared | 
        
        Linux
         Linux linux Kernel  | 
|
| Weaknesses | CWE-476 | |
| CPEs | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | |
| Vendors & Products | 
        
        Linux
         Linux linux Kernel  | 
Wed, 23 Oct 2024 01:30:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| References | 
         | |
| Metrics | 
        
        
        threat_severity
         
  | 
    
        
        cvssV3_1
         
 
  | 
Tue, 22 Oct 2024 14:15:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| Metrics | 
        
        ssvc
         
  | 
Mon, 21 Oct 2024 18:15:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| Description | In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add NULL check for function pointer in dcn32_set_output_transfer_func This commit adds a null check for the set_output_gamma function pointer in the dcn32_set_output_transfer_func function. Previously, set_output_gamma was being checked for null, but then it was being dereferenced without any null check. This could lead to a null pointer dereference if set_output_gamma is null. To fix this, we now ensure that set_output_gamma is not null before dereferencing it. We do this by adding a null check for set_output_gamma before the call to set_output_gamma. | |
| Title | drm/amd/display: Add NULL check for function pointer in dcn32_set_output_transfer_func | |
| References | 
         | 
Status: PUBLISHED
Assigner: Linux
Published:
Updated: 2025-11-03T20:41:53.950Z
Reserved: 2024-10-21T12:17:06.028Z
Link: CVE-2024-49909
Updated: 2024-10-22T13:41:55.138Z
Status : Modified
Published: 2024-10-21T18:15:13.357
Modified: 2025-11-03T21:16:36.807
Link: CVE-2024-49909
                        OpenCVE Enrichment
                    No data.
 Debian DLA
 Ubuntu USN