Skip to contentSkip to conversation

CVE-2026-93059: drm/msm: Fix task_struct reference leak in recover_worker

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

drm/msm: Fix task_struct reference leak in recover_worker

get_pid_task() increments the task reference count, but the corresponding put_task_struct() was missing in the else branch, leaking a reference on every GPU hang recovery.

Patchwork: https://patchwork.freedesktop.org/patch/730662/

The Linux kernel CVE team has assigned CVE-2026-93059 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.17 with commit 25654a1756a4ace072404e89882d7ba8391900bd and fixed in 6.18.52 with commit 6c472fde2c8096e16bb46b0605adda2488f300c0
	Issue introduced in 6.17 with commit 25654a1756a4ace072404e89882d7ba8391900bd and fixed in 7.2.6 with commit d684f756d029d81db1cd64cd9645556e53fcc784
	Issue introduced in 6.17 with commit 25654a1756a4ace072404e89882d7ba8391900bd and fixed in 7.3-rc1 with commit 40b793714ad8f393ab3d469f9d00b20ebda46257

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-2026-93059

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/msm_gpu.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/6c472fde2c8096e16bb46b0605adda2488f300c0
	https://git.kernel.org/stable/c/d684f756d029d81db1cd64cd9645556e53fcc784
	https://git.kernel.org/stable/c/40b793714ad8f393ab3d469f9d00b20ebda46257