drm/nouveau: fix stale locked mutex in nouveau_gem_ioctl_pushbuf
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.6.246.7.126.8In the Linux kernel, the following vulnerability has been resolved:
drm/nouveau: fix stale locked mutex in nouveau_gem_ioctl_pushbuf
If VM_BIND is enabled on the client the legacy submission ioctl can't be used, however if a client tries to do so regardless it will return an error. In this case the clients mutex remained unlocked leading to a deadlock inside nouveau_drm_postclose or any other nouveau ioctl call.
From the CVE record · Linux
The Linux kernel's nouveau driver has a mutex-handling flaw when a client with VM_BIND enabled tries to use the legacy submission ioctl. The request returns an error, but a subsequent nouveau ioctl call or client close can deadlock. The described trigger requires a local client to make the ioctl call.
Engineers running Linux kernels with the nouveau driver should check their installations; affected versions were not specified.