drm/amd/pm: Update intermediate power state for SI (Linux Linux)

CVE-2021-47362
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amd/pm: Update intermediate power state for SI Update the current state as boot state during dpm initialization. During the subsequent initialization, set_power_state gets called to transition to the final power state. set_power_state refers to values from the current state and without current state populated, it could result in NULL pointer dereference. For ex: on platforms where PCI speed change is supported through ACPI ATCS method, the link speed of current state needs to be queried before deciding on changing to final power state's link speed. The logic to query ATCS-support was broken on certain platforms. The issue became visible when broken ATCS-support logic got fixed with commit f9b7f3703ff9 ("drm/amdgpu/acpi: make ATPX/ATCS structures global (v2)"). Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1698

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 2ab4d0e74256fc49b7b270f63c1d1e47c2455abc < 68d4fbe6220cd1f3d07cab0a4901e62f8c12cc68 ; affected 2ab4d0e74256fc49b7b270f63c1d1e47c2455abc < 06a18e64256f7aecb5a27df02faa3568fcd3c105 ; affected 2ab4d0e74256fc49b7b270f63c1d1e47c2455abc < ab39d3cef526ba09c4c6923b4cd7e6ec1c5d4faa ; affected 2c83e77a3e35dc91350cea077d1aaefdc0a61297 ; affected 46cb720a8a3ece894eff4e1b85b3925efb71afd2 ; affected 65c96da9c684946d0874bf911fdb50a3b497cb30
Linux · Linuxaffected 4.19 ; unaffected 0 < 4.19 ; unaffected 5.10.70 ≤ 5.10.* ; unaffected 5.14.9 ≤ 5.14.* ; unaffected 5.15 ≤ *

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