syzbot


WARNING: lock held when returning to user space in set_property_atomic

Status: fixed on 2019/03/07 22:24
Subsystems: dri
[Documentation on labels]
Reported-by: syzbot+6ea337c427f5083ebdf2@syzkaller.appspotmail.com
Fix commit: 4089e272ac61 gpu/drm: Fix lock held when returning to user space.
First crash: 2032d, last: 2019d
Duplicate bugs (1)
duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
WARNING: lock held when returning to user space! (3) C 2 2032d 2029d 0/27 closed as dup on 2019/01/02 11:24
Discussions (10)
Title Replies (including bot) Last reply
[PATCH 5.0 000/246] 5.0.7-stable review 264 (264) 2019/04/18 04:46
[PATCH AUTOSEL 5.0 001/262] CIFS: fix POSIX lock leak and invalid ptr deref 284 (284) 2019/04/04 13:22
[PATCH AUTOSEL 4.14 001/123] CIFS: fix POSIX lock leak and invalid ptr deref 123 (123) 2019/03/27 18:16
[PATCH AUTOSEL 4.19 001/192] CIFS: fix POSIX lock leak and invalid ptr deref 192 (192) 2019/03/27 18:10
[PATCH 4.19 00/45] 4.19.32-stable review 51 (51) 2019/03/27 04:04
[PATCH 4.14 00/41] 4.14.109-stable review 47 (47) 2019/03/26 23:15
[PATCH 4.20 000/111] 4.20.4-stable review 120 (120) 2019/01/23 06:43
[PATCH (resend)] gpu/drm: Fix lock held when returning to user space. 2 (2) 2019/01/10 10:32
[PATCH] drm: Reorder set_property_atomic to avoid returning with an active ww_ctx 4 (4) 2019/01/07 10:30
WARNING: lock held when returning to user space in set_property_atomic 3 (4) 2019/01/04 10:04

Sample crash report:
RBP: 00007fffe32daac0 R08: 0000000000000001 R09: 0000000000000100
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000005
R13: ffffffffffffffff R14: 0000000000000000 R15: 0000000000000000

================================================
WARNING: lock held when returning to user space!
4.20.0+ #175 Not tainted
------------------------------------------------
syz-executor087/8445 is leaving the kernel with locks still held!
1 lock held by syz-executor087/8445:
 #0: 000000000654bf87 (crtc_ww_class_acquire){+.+.}, at: set_property_atomic+0xb3/0x330 drivers/gpu/drm/drm_mode_object.c:462

Crashes (145):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/12/29 22:09 upstream 903b77c63167 a40793d7 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2018/12/29 22:01 upstream 903b77c63167 a40793d7 .config console log report syz C ci-upstream-kasan-gce-smack-root
2018/12/29 22:01 linux-next 6a1d293238c1 a40793d7 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/01/12 06:44 upstream de6629eb262e c3f3344c .config console log report ci-upstream-kasan-gce
2019/01/12 00:06 upstream de6629eb262e c3f3344c .config console log report ci-upstream-kasan-gce-selinux-root
2019/01/11 20:22 upstream de6629eb262e c3f3344c .config console log report ci-upstream-kasan-gce-root
2019/01/10 23:08 upstream ba422731316d db9b6579 .config console log report ci-upstream-kasan-gce
2019/01/10 15:21 upstream ba422731316d db9b6579 .config console log report ci-upstream-kasan-gce-root
2019/01/10 06:55 upstream 4064e47c8281 45c0c1b1 .config console log report ci-upstream-kasan-gce-root
2019/01/09 19:47 upstream a88cc8da0279 45c0c1b1 .config console log report ci-upstream-kasan-gce
2019/01/09 17:51 upstream a88cc8da0279 45c0c1b1 .config console log report ci-upstream-kasan-gce
2019/01/09 16:32 upstream a88cc8da0279 45c0c1b1 .config console log report ci-upstream-kasan-gce-selinux-root
2019/01/09 12:14 upstream a88cc8da0279 45c0c1b1 .config console log report ci-upstream-kasan-gce
2019/01/09 05:32 upstream 7b5585136713 010ed08b .config console log report ci-upstream-kasan-gce-smack-root
2019/01/09 02:38 upstream 7b5585136713 010ed08b .config console log report ci-upstream-kasan-gce-smack-root
2019/01/08 17:54 upstream 3bd6e94bec12 37dd2683 .config console log report ci-upstream-kasan-gce-selinux-root
2019/01/07 19:05 upstream 3bd6e94bec12 69d69aa9 .config console log report ci-upstream-kasan-gce-root
2019/01/07 14:19 upstream 3bd6e94bec12 69d69aa9 .config console log report ci-upstream-kasan-gce-selinux-root
2019/01/07 08:54 upstream 574823bfab82 ee332608 .config console log report ci-upstream-kasan-gce
2019/01/06 18:43 upstream b5aef86e089a 94f8adb5 .config console log report ci-upstream-kasan-gce-smack-root
2019/01/06 01:54 upstream f1c2f8857c5a 53be0a37 .config console log report ci-upstream-kasan-gce
2019/01/06 00:58 upstream f1c2f8857c5a 53be0a37 .config console log report ci-upstream-kasan-gce
2019/01/05 18:45 upstream 3fed6ae4b027 53be0a37 .config console log report ci-upstream-kasan-gce-selinux-root
2019/01/05 13:16 upstream 3fed6ae4b027 53be0a37 .config console log report ci-upstream-kasan-gce-root
2019/01/05 11:36 upstream 3fed6ae4b027 53be0a37 .config console log report ci-upstream-kasan-gce-root
2019/01/05 05:50 upstream 3fed6ae4b027 53be0a37 .config console log report ci-upstream-kasan-gce-root
2019/01/05 01:48 upstream 96d4f267e40f 0127e3ba .config console log report ci-upstream-kasan-gce-selinux-root
2019/01/04 23:29 upstream 96d4f267e40f 0127e3ba .config console log report ci-upstream-kasan-gce
2019/01/04 20:50 upstream 96d4f267e40f 0127e3ba .config console log report ci-upstream-kasan-gce-root
2019/01/04 18:04 upstream 96d4f267e40f 0127e3ba .config console log report ci-upstream-kasan-gce-root
2019/01/04 09:04 upstream 645ff1e8e704 7da23925 .config console log report ci-upstream-kasan-gce-selinux-root
2019/01/04 07:28 upstream 645ff1e8e704 7da23925 .config console log report ci-upstream-kasan-gce-root
2019/01/03 19:38 upstream 645ff1e8e704 66fcd29b .config console log report ci-upstream-kasan-gce-selinux-root
2019/01/03 18:15 upstream 645ff1e8e704 66fcd29b .config console log report ci-upstream-kasan-gce
2019/01/03 07:15 upstream 85f78456f286 06a2b89f .config console log report ci-upstream-kasan-gce
2019/01/02 17:33 upstream 8e143b90e4d4 f0491811 .config console log report ci-upstream-kasan-gce
2019/01/02 09:40 upstream 28e8c4bc8eb4 3d85f48c .config console log report ci-upstream-kasan-gce-smack-root
2019/01/02 07:21 upstream 28e8c4bc8eb4 3d85f48c .config console log report ci-upstream-kasan-gce-smack-root
2019/01/02 01:50 upstream 28e8c4bc8eb4 3d85f48c .config console log report ci-upstream-kasan-gce-selinux-root
2018/12/29 20:37 upstream 903b77c63167 a40793d7 .config console log report ci-upstream-kasan-gce
2019/01/12 18:03 upstream 4b3c31c8d4dd c3f3344c .config console log report ci-upstream-kasan-gce-386
2019/01/10 22:36 upstream ba422731316d db9b6579 .config console log report ci-upstream-kasan-gce-386
2019/01/10 10:04 upstream 4064e47c8281 45c0c1b1 .config console log report ci-upstream-kasan-gce-386
2019/01/07 20:14 upstream 3bd6e94bec12 69d69aa9 .config console log report ci-upstream-kasan-gce-386
2019/01/02 06:08 upstream 8e143b90e4d4 3d85f48c .config console log report ci-upstream-kasan-gce-386
2019/01/08 23:55 linux-next 139287cc2cc0 010ed08b .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/07 23:50 linux-next a85b6b4f6416 69d69aa9 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/07 21:19 linux-next a85b6b4f6416 69d69aa9 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/07 07:01 linux-next a85b6b4f6416 ee332608 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/05 15:28 linux-next a4983672f9ca 53be0a37 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/05 10:06 linux-next a4983672f9ca 53be0a37 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/04 08:32 linux-next a4983672f9ca 7da23925 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/03 21:08 linux-next a4983672f9ca 66fcd29b .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/02 16:17 linux-next 4cd1b60def51 f0491811 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.