CVE-2023-52814: drm/amdgpu: Fix potential null pointer derefernce

Description

In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: Fix potential null pointer derefernce

The amdgpu_ras_get_context may return NULL if device
not support ras feature, so add check before using.

Classification

CVE ID: CVE-2023-52814

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 5.06% (scored less or equal to compared to others)

EPSS Date: 2025-02-03 (when was this score calculated)

References

https://git.kernel.org/stable/c/b93a25de28af153312f0fc979b0663fc4bd3442b
https://git.kernel.org/stable/c/c11cf5e117f50f5a767054600885acd981449afe
https://git.kernel.org/stable/c/9b70fc7d70e8ef7c4a65034c9487f58609e708a1
https://git.kernel.org/stable/c/b0702ee4d811708251cdf54d4a1d3e888d365111
https://git.kernel.org/stable/c/da46e63482fdc5e35c008865c22ac64027f6f0c2
https://git.kernel.org/stable/c/80285ae1ec8717b597b20de38866c29d84d321a1

Timeline