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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-01-14T15:06:09.927Z
- Modified: 2026-06-17T10:03:42.773Z
- Weaknesses: CWE-476
- Assigned by: Linux

## 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/

(As written by CVE List.)

## Affected

- Linux Linux: from 50117cad0c50410cff0d43a1141a562b1347e7c5 before 2c46497eb148ec61909f4101b8443f3c4c2daaec; from 50117cad0c50410cff0d43a1141a562b1347e7c5 before ef3b04091fd8bc737dc45312375df8625b8318e2; 6.13 (not affected: before 6.13; from 6.18.3 up to 6.18.*; from 6.19 up to *)
- linux linux_kernel: from 6.13.1 before 6.18.3; 6.13; 6.19

## References

- <https://git.kernel.org/stable/c/2c46497eb148ec61909f4101b8443f3c4c2daaec> (patch)
- <https://git.kernel.org/stable/c/ef3b04091fd8bc737dc45312375df8625b8318e2> (patch)

## Sources

- CVE List: [CVE-2025-71124](https://www.cve.org/CVERecord?id=CVE-2025-71124), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-71124](https://nvd.nist.gov/vuln/detail/CVE-2025-71124), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-71124 · Whole record: https://cve.day/CVE-2025-71124.json · Rebuilt by cve.day 2026-11-25T22:59:10.619Z
