Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 53FCA314B75 for ; Wed, 14 Jan 2026 15:07:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768403227; cv=none; b=P+zfVDwYnqlieZMhqE3hS20ZYl9qsyQg5H/xWJhbhwkDyGIUIZZc80OeiBWpX6KJZR3XDhnPgNUGSPUjYXmS4PIgReP5a0InzhPXr230NEJNv6/bQV8IDe7zJccdXXzWe7EZt6ouyD6Adjv4wML8vdGIpclUCfShxGGn52yr8f8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768403227; c=relaxed/simple; bh=gyqt0Xgjb8/Ip12+1OBuo5ezeJnfzNsjL+5dQN0zDCs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ked/78tgWJ5HdgJ9Scnq66Zy5Vej0iJ2N+koC0KJIXS1FMzwXLcBuPbdYcYyUwgkI2kR5+BYOSJ8cUTLlAbtWlff/xpc9Jt0TjNd01xQN3Bv1AVcNS9RwKsohsd0zREM/9fihdOA9oE/rZibZNdhfKO6C5pm6JzIOieCsUz6K1E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2WtpNbob; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="2WtpNbob" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82429C4CEF7; Wed, 14 Jan 2026 15:07:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768403226; bh=gyqt0Xgjb8/Ip12+1OBuo5ezeJnfzNsjL+5dQN0zDCs=; h=From:To:Cc:Subject:Date:Reply-To:From; b=2WtpNbobAULYj6HfZJQQNwEuHYpn+PGHfu5EnZ+GUraSivUAEJdBkTSmXvoZavHwX lJouKxIiK81OPisI+KV+bamhBKQ7L7PaPmBBlbmlbKE++BqK/SV+VPW2R/OF934eWA fbd8bNhSC1nHJ0IwgmeHT6RVO6KGhaAhLldp/7Hs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71124: drm/msm/a6xx: move preempt_prepare_postamble after error check Date: Wed, 14 Jan 2026 16:06:29 +0100 Message-ID: <2026011417-CVE-2025-71124-5da0@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2238; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=OfxWKsvLlnZK/CQUCvPaXb6UqVM10a6Kdzg8mV557b8=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnpG15+6QvRl3gsYRZc9+IVCxd/z7PJ/5e+keBKsC8zE ptlUlvYEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABNR7mCYK6svlxLkeTd/xZXZ Rz04/tWuTT/ynWG+u/+Cxz/WNyo4Hrbf/vVxh2zlJvFfAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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/ The Linux kernel CVE team has assigned CVE-2025-71124 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit 50117cad0c50410cff0d43a1141a562b1347e7c5 and fixed in 6.18.3 with commit 2c46497eb148ec61909f4101b8443f3c4c2daaec Issue introduced in 6.13 with commit 50117cad0c50410cff0d43a1141a562b1347e7c5 and fixed in 6.19-rc3 with commit ef3b04091fd8bc737dc45312375df8625b8318e2 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2025-71124 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/gpu/drm/msm/adreno/a6xx_preempt.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/2c46497eb148ec61909f4101b8443f3c4c2daaec https://git.kernel.org/stable/c/ef3b04091fd8bc737dc45312375df8625b8318e2