drm/amdgpu: prevent NULL pointer dereference if ATIF is not supported
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 4.19.324, 5.4.286, 5.10.230, 5.15.172, 6.1.117, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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)
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
From 4.19.323 · fixed in 4.19.324; From 5.4.285 · fixed in 5.4.286; From 5.10.229 · fixed in 5.10.230; From 5.15.170 · fixed in 5.15.172; From 6.1.115 · fixed in 6.1.117; From 6.6.59 · fixed in 6.6.61; From 6.11.6 · fixed in 6.11.8
References 8
git.kernel.org
- stable/c/ce8a00a00e36f61f5a1e47734332420b68784c43
- stable/c/8d7a28eca7553d35d4ce192fa1f390f2357df41b
- stable/c/2ac7f253deada4d449559b65a1c1cd0a6f6f19b7
- stable/c/27fc29b5376998c126c85cf9b15d9dfc2afc9cbe
- stable/c/1a9f55ed5b512f510ccd21ad527d532e60550e80
- stable/c/a613a392417532ca5aaf3deac6e3277aa7aaef2b
- stable/c/b9d9881237afeb52eddd70077b7174bf17e2fa30
- stable/c/a6dd15981c03f2cdc9a351a278f09b5479d53d2e