drm/nouveau/gr/gf100: Fix missing unlock in gf100_gr_chan_new()
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 |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/nouveau/gr/gf100: Fix missing unlock in gf100_gr_chan_new()
When the call to gf100_grctx_generate() fails, unlock gr->fecs.mutex before returning the error.
Fixes smatch warning:
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c:480 gf100_gr_chan_new() warn: inconsistent returns '&gr->fecs.mutex'.
From the CVE record · Linux
The Linux kernel's nouveau graphics driver can return from gf100_gr_chan_new() without unlocking a mutex when gf100_grctx_generate() fails. This can leave the mutex locked and disrupt graphics operations. The input does not establish how an attacker could trigger the failure or whether access or user interaction is required.
Engineers running Linux kernels with the nouveau graphics driver should check their kernel vendor's advisory for affected versions.