drm/msm: Fix task_struct reference leak in recover_worker
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.527.2.67.3In 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/
From the CVE record · Linux
The Linux kernel’s drm/msm recover_worker fails to release a task reference during GPU hang recovery, leaking one reference each time that path runs. The input does not establish whether an attacker can trigger the condition or specify access or user-interaction requirements.
Teams running the Linux kernel with drm/msm should check their builds; affected versions are not specified.