CVE-2024-49909

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-49909
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-49909.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-49909
Downstream
Related
Published
2024-10-21T18:01:38.803Z
Modified
2025-11-27T02:32:30.000814Z
Summary
drm/amd/display: Add NULL check for function pointer in dcn32_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 dcn32setoutputtransferfunc

This commit adds a null check for the setoutputgamma function pointer in the dcn32setoutputtransferfunc function. Previously, setoutputgamma was being checked for null, but then it was being dereferenced without any null check. This could lead to a null pointer dereference 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/cc431b3424123d84bcd7afd4de150b33f117a8ef/cves/2024/49xxx/CVE-2024-49909.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
235c67634230b0f9ad8c0185272fed36c892b1c4
Fixed
e087c9738ee1cdeebde346f4dfc819e5f7057e90
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
235c67634230b0f9ad8c0185272fed36c892b1c4
Fixed
f38b09ba6a335c511eb27920bb9bb4a1b2c20084
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
235c67634230b0f9ad8c0185272fed36c892b1c4
Fixed
496486950c3d2aebf46a3be300296ac091da7a2d
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
235c67634230b0f9ad8c0185272fed36c892b1c4
Fixed
5298270bdabe97be5b8236e544c9e936415fe1f2
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
235c67634230b0f9ad8c0185272fed36c892b1c4
Fixed
28574b08c70e56d34d6f6379326a860b96749051

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.0.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