drm/amd/display: Check null pointers before using dc->clk_mgr (Linux Linux)

CVE-2024-49907
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 16 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Check null pointers before using dc->clk_mgr [WHY & HOW] dc->clk_mgr is null checked previously in the same function, indicating it might be null. Passing "dc" to "dc->hwss.apply_idle_power_optimizations", which dereferences null "dc->clk_mgr". (The function pointer resolves to "dcn35_apply_idle_power_optimizations".) This fixes 1 FORWARD_NULL issue reported by Coverity.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
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)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c < 8d54001f8dccd56146973f23f3ab2ba037a21251 ; affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c < a545a9403e04c6e17fdc04a26a61d9feebbba106 ; affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c < a2773e0a4b79e7a6463abdffaf8cc4f24428ba18 ; affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c < 9641bc4adf8446034e490ed543ae7e9833cfbdf5 ; affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c < 3f7e533c10db3d0158709a99e2129ff63add6bcd ; affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c < 5ba3fbf75b243b2863a8be9e7c393e003d3b88f3
Linux · Linuxaffected 4.15 ; unaffected 0 < 4.15 ; unaffected 5.10.227 ≤ 5.10.* ; unaffected 5.15.168 ≤ 5.15.* ; unaffected 6.1.113 ≤ 6.1.* ; unaffected 6.6.55 ≤ 6.6.*

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