drm/amd/display: Add NULL check for function pointer in dcn32_set_output_transfer_func (Linux Linux)

CVE-2024-49909
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.24 % · centile 15 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 235c67634230b0f9ad8c0185272fed36c892b1c4 < e087c9738ee1cdeebde346f4dfc819e5f7057e90 ; affected 235c67634230b0f9ad8c0185272fed36c892b1c4 < f38b09ba6a335c511eb27920bb9bb4a1b2c20084 ; affected 235c67634230b0f9ad8c0185272fed36c892b1c4 < 496486950c3d2aebf46a3be300296ac091da7a2d ; affected 235c67634230b0f9ad8c0185272fed36c892b1c4 < 5298270bdabe97be5b8236e544c9e936415fe1f2 ; affected 235c67634230b0f9ad8c0185272fed36c892b1c4 < 28574b08c70e56d34d6f6379326a860b96749051
Linux · Linuxaffected 6.0 ; unaffected 0 < 6.0 ; unaffected 6.1.120 ≤ 6.1.* ; unaffected 6.6.64 ≤ 6.6.* ; unaffected 6.10.14 ≤ 6.10.* ; unaffected 6.11.3 ≤ 6.11.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD