CVE-2025-71124

drm/msm/a6xx: move preempt_prepare_postamble after error check

State
Published
Severity
Not scored
Published
Jan 14, 2026
Updated
May 11, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

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/

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 50117cad0c50410cff0d43a1141a562b1347e7c5 to before 2c46497eb148ec61909f4101b8443f3c4c2daaecAffected
  • 50117cad0c50410cff0d43a1141a562b1347e7c5 to before ef3b04091fd8bc737dc45312375df8625b8318e2Affected
LinuxLinux
  • 6.13Affected
  • before 6.13Not affected
  • 6.18.3 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.