{"id":"CVE-2025-71124","summary":"drm/msm/a6xx: move preempt_prepare_postamble after error check","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/a6xx: move preempt_prepare_postamble after error check\n\nMove the call to preempt_prepare_postamble() after verifying that\npreempt_postamble_ptr is valid. If preempt_postamble_ptr is NULL,\ndereferencing it in preempt_prepare_postamble() would lead to a crash.\n\nThis change avoids calling the preparation function when the\npostamble allocation has failed, preventing potential NULL pointer\ndereference and ensuring proper error handling.\n\nPatchwork: https://patchwork.freedesktop.org/patch/687659/","modified":"2026-03-20T12:46:36.075213Z","published":"2026-01-14T15:06:09.927Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71124.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2c46497eb148ec61909f4101b8443f3c4c2daaec"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ef3b04091fd8bc737dc45312375df8625b8318e2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71124.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71124"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"50117cad0c50410cff0d43a1141a562b1347e7c5"},{"fixed":"2c46497eb148ec61909f4101b8443f3c4c2daaec"},{"fixed":"ef3b04091fd8bc737dc45312375df8625b8318e2"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-71124.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-71124.json"}}],"schema_version":"1.7.5"}