Displaying 2 results from an estimated 2 matches for "39126abc5e20".
2024 Feb 23
1
[PATCH] drm/nouveau: use dedicated wq for fence uevents work
...an
> > prevent the work signaling the fence from running.
> >
> > While this seems fairly unlikely, it's potentially exploitable.
>
> LGTM
>
> Reviewed-by: Dave Airlie <airlied at redhat.com>
>
> probably should go into drm-misc-fixes?
Yes, however, 39126abc5e20 went in through drm-fixes directly it seems, since
it's not in drm-misc-fixes.
Guess you want me to cherry-pick 39126abc5e20 to drm-misc-fixes rather than take
this one through drm-fixes as well?
>
> >
> > Fixes: 39126abc5e20 ("nouveau: offload fence uevents work to workq...
2024 Feb 22
1
[PATCH] drm/nouveau: use dedicated wq for fence uevents work
...r work (e.g. from a different driver)
could directly or indirectly depend on this fence to be signaled.
However, if the WQ_MAX_ACTIVE limit is reached by waiters, this can
prevent the work signaling the fence from running.
While this seems fairly unlikely, it's potentially exploitable.
Fixes: 39126abc5e20 ("nouveau: offload fence uevents work to workqueue")
Signed-off-by: Danilo Krummrich <dakr at redhat.com>
---
drivers/gpu/drm/nouveau/nouveau_drm.c | 13 +++++++++++--
drivers/gpu/drm/nouveau/nouveau_drv.h | 3 +++
drivers/gpu/drm/nouveau/nouveau_fence.c | 3 ++-
drivers/gpu/...