← CVE Intelligence

CVE-2025-71124

drm/msm/a6xx: move preempt_prepare_postamble after error check PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 50117cad0c50410cff0d43a1141a562b1347e7c5 before 2c46497eb148ec61909f4101b8443f3c4c2daaec; affected 50117cad0c50410cff0d43a1141a562b1347e7c5 before ef3b04091fd8bc737dc45312375df8625b8318e2
Linux / Linuxaffected 6.13; unaffected 0 before 6.13; unaffected 6.18.3 through 6.18.*; unaffected 6.19 through *

CWE

No CWE identifiers supplied.

References