CVE-2024-49911

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-49911
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-49911.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-49911
Downstream
Related
Published
2024-10-21T18:01:40.200Z
Modified
2025-11-28T02:35:53.536714Z
Summary
drm/amd/display: Add NULL check for function pointer in dcn20_set_output_transfer_func
Details

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

drm/amd/display: Add NULL check for function pointer in dcn20setoutputtransferfunc

This commit adds a null check for the setoutputgamma function pointer in the dcn20setoutputtransferfunc function. Previously, setoutputgamma was being checked for null at line 1030, but then it was being dereferenced without any null check at line 1048. This could potentially lead to a null pointer dereference error if setoutputgamma is null.

To fix this, we now ensure that setoutputgamma is not null before dereferencing it. We do this by adding a null check for setoutputgamma before the call to setoutputgamma at line 1048.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49911.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c
Fixed
e8a24767899c86f4c5f1e4d3b2608942d054900f
Fixed
8c854138b593efbbd8fa46a25f3288c121c1d1a1
Fixed
02411e9359297512946705b1cd8cf5e6b0806fa0
Fixed
827380b114f83c30b3e56d1a675980b6d65f7c88
Fixed
62ed6f0f198da04e884062264df308277628004f

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
6.1.120
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.64
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.10.14
Type
ECOSYSTEM
Events
Introduced
6.11.0
Fixed
6.11.3