What’s Vulnerable › Vulnerabilities

CVE-2025-71124: drm/msm/a6xx: move preempt_prepare_postamble after error check

Description

In the Linux kernel, the following vulnerability has been resolved: drm/msm/a6xx: move preempt_prepare_postamble after error check Move the call to preempt_prepare_postamble() after verifying that preempt_postamble_ptr is valid. If preempt_postamble_ptr is NULL, dereferencing it in preempt_prepare_postamble() would lead to a crash. This change avoids calling the preparation function when the postamble allocation has failed, preventing potential NULL pointer dereference and ensuring proper error handling. Patchwork: https://patchwork.freedesktop.org/patch/687659/

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.18.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-71124 or the next vulnerability affects your stack