Skip to content

Fix use-after-free on framebuffers and property blobs when calling drm_dev_unplug

Maarten Lankhorst dri-devel intel-xe 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 14 repliesIn review
  2. v11 patch 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1drm: Fix use-after-free on framebuffers and property blobs when calling drm_dev_unplugdrivers/gpu/drm/drm_file.c drivers/gpu/drm/drm_mode_config.c+10 -416 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchThomas HellströmSimona VetterGuenter Roeck
1/1R-b A-b A-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/1] Fix use-after-free on framebuffers and property blobs when calling drm_dev_unplug

I tried to see what happened with xe_module_unload --r reload on a fully running system, and came across these bugs in the kernel. Even after these fixes I still see a hang when reloading, related to cgroups, so likely some more fixes are needed to address those.

Should this patch have a fixes tag or cc stable patch?

Test-with: https://patchwork.freedesktop.org/series/162133/

Maarten Lankhorst (1):
drm: Fix use-after-free on framebuffers and property blobs when
calling drm_dev_unplug

 drivers/gpu/drm/drm_file.c        | 5 ++++-
 drivers/gpu/drm/drm_mode_config.c | 9 ++++++---
 2 files changed, 10 insertions(+), 4 deletions(-)
Signature · 1 line
2.51.0