drm/amdgpu: prevent NULL pointer dereference if ATIF is not supported (Linux Linux)

CVE-2024-53060
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: prevent NULL pointer dereference if ATIF is not supported acpi_evaluate_object() may return AE_NOT_FOUND (failure), which would result in dereferencing buffer.pointer (obj) while being NULL. Although this case may be unrealistic for the current code, it is still better to protect against possible bugs. Bail out also when status is AE_NOT_FOUND. This fixes 1 FORWARD_NULL issue reported by Coverity Report: CID 1600951: Null pointer dereferences (FORWARD_NULL) (cherry picked from commit 91c9e221fe2553edf2db71627d8453f083de87a1)

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:HCISA-ADP
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)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 58556dcbd5606a5daccaee73b2130bc16b48e025 < ce8a00a00e36f61f5a1e47734332420b68784c43 ; affected 43b4fa6e0e238c6e2662f4fb61d9f51c2785fb1d < 8d7a28eca7553d35d4ce192fa1f390f2357df41b ; affected 234682910971732cd4da96fd95946e296e486b38 < 2ac7f253deada4d449559b65a1c1cd0a6f6f19b7 ; affected 6032287747f874b52dc8b9d7490e2799736e035f < 27fc29b5376998c126c85cf9b15d9dfc2afc9cbe ; affected cd67af3c1762de4c2483ae4dbdd98f9ea8fa56e3 < 1a9f55ed5b512f510ccd21ad527d532e60550e80 ; affected 975ede2a7bec52b5da1428829b3439667c8a234b < a613a392417532ca5aaf3deac6e3277aa7aaef2b
Linux · Linuxaffected 4.19.323 < 4.19.324 ; affected 5.4.285 < 5.4.286 ; affected 5.10.229 < 5.10.230 ; affected 5.15.170 < 5.15.172 ; affected 6.1.115 < 6.1.117 ; affected 6.6.59 < 6.6.61

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