Hello,
syzbot has tested the proposed patch and the reproducer did not trigger crash:
Reported-and-tested-by: syzbot+05835159fe322770f...@syzkaller.appspotmail.com
Tested on:
commit: b1289238 drm/lease: fix WARNING in idr_destroy
git tree: https://github.com/hqj/hqjagain_test.git
#syz test: https://github.com/hqj/hqjagain_test.git idr_destroy
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hello,
syzbot has tested the proposed patch but the reproducer still triggered crash:
WARNING in idr_destroy
RBP: 0076bf20 R08: R09:
R10: R11: 0246 R12: 0004
R13: 0203 R14: 004c3e56 R15: 000
Hello,
syzbot has tested the proposed patch but the reproducer still triggered crash:
WARNING in idr_destroy
RBP: 0076bf20 R08: R09:
R10: R11: 0246 R12: 0004
R13: 0203 R14: 004c3e56 R15: 000
We need to get idr_mutex first for idr_alloc.
diff --git a/drivers/gpu/drm/drm_lease.c b/drivers/gpu/drm/drm_lease.c
index b481cafdde28..aa72c8344ec7 100644
--- a/drivers/gpu/drm/drm_lease.c
+++ b/drivers/gpu/drm/drm_lease.c
@@ -420,6 +420,7 @@ static int fill_object_idr(struct drm_device *dev,
syzbot has bisected this bug to:
commit 5b3709793d151e6e12eb6a38a5da3f7fc2923d3a
Author: Thomas Zimmermann
Date: Wed May 8 08:26:19 2019 +
drm/ast: Convert AST driver to |struct drm_gem_vram_object|
bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=15a66fb5e0
start comm