6.16-rc5/regression/bisected - WARNING in drm_gem_object_handle_put_unlocked after commit 5307dce878d4
From: Mikhail Gavrilov
Date: Tue Jul 08 2025 - 05:32:14 EST
Hi Thomas,
After commit 5307dce878d4 ("drm/gem: Acquire references on GEM handles
for framebuffers"), my kernel log becomes flooded with the following
warning:
WARNING: CPU: 5 PID: 1812 at drivers/gpu/drm/drm_gem.c:286
drm_gem_object_handle_put_unlocked+0x207/0x330
This occurs during normal GNOME Shell usage, and the trace appears
repeatedly. A full stack trace is included below.
I bisected the issue to this commit:
5307dce878d4 drm/gem: Acquire references on GEM handles for framebuffers
Reverting this commit on top of current mainline kernel (6.16-rc5)
fixes the issue — the warnings disappear completely.
My hardware config: https://linux-hardware.org/?probe=ce4c44c524
Kernel config, full bisect logs, and kernel logs from each bisect step
are attached.
Please take a look as soon as possible — this regression could affect
any user relying on fbdev or shadow planes, and the commit is already
CC'ed to stable@xxxxxxxxxxxxxxx.
It would be unfortunate if this made it into a stable release without
being addressed.
Thanks in advance!
--
Best Regards,
Mike Gavrilov.
Attachment:
.config.zip
Description: Zip archive
Attachment:
bisect-WARNING-at-drm_gem-drm_gem_object_handle_put_unlocked.zip
Description: Zip archive
Attachment:
all-dmesgs.zip
Description: Zip archive