syzbot


WARNING: lock held when returning to user space!

Status: fixed on 2018/05/08 18:30
Subsystems: block
[Documentation on labels]
Reported-by: syzbot+31e8daa8b3fc129e75f2@syzkaller.appspotmail.com
Fix commit: bdac616db9bb loop: fix LOOP_GET_STATUS lock imbalance
First crash: 2211d, last: 2196d
Discussions (4)
Title Replies (including bot) Last reply
[PATCH 4.16 000/161] 4.16.12-stable review 171 (171) 2018/05/24 19:47
[PATCH 4.14 000/165] 4.14.44-stable review 176 (176) 2018/05/24 19:46
WARNING: lock held when returning to user space! 4 (5) 2018/04/14 15:33
[PATCH] loop: fix LOOP_GET_STATUS lock imbalance 5 (5) 2018/04/07 10:55
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING: lock held when returning to user space! C 2 422d 557d 0/1 upstream: reported C repro on 2022/10/15 19:00
upstream WARNING: lock held when returning to user space! (2) net C 9 2176d 2178d 8/26 fixed on 2018/07/09 18:05
upstream WARNING: lock held when returning to user space! (3) C 2 1943d 1940d 0/26 closed as dup on 2019/01/02 11:24

Sample crash report:
================================================
WARNING: lock held when returning to user space!
4.16.0+ #1 Not tainted
------------------------------------------------
syzkaller965702/4470 is leaving the kernel with locks still held!
1 lock held by syzkaller965702/4470:
 #0: 00000000cde99e96 (&lo->lo_ctl_mutex/1){+.+.}, at: lo_ioctl+0x8d/0x1ec0 drivers/block/loop.c:1363

Crashes (40):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/04/14 01:55 upstream 1bad9ce155a7 7a67784c .config console log report syz C ci-upstream-kasan-gce
2018/04/13 23:35 upstream 1bad9ce155a7 7a67784c .config console log report syz C ci-upstream-kasan-gce
2018/04/10 21:18 upstream c18bb396d3d2 8b8de427 .config console log report syz C ci-upstream-kasan-gce
2018/04/10 21:11 upstream c18bb396d3d2 8b8de427 .config console log report syz C ci-upstream-kasan-gce-root
2018/04/06 18:05 upstream 38c23685b273 4f1152d4 .config console log report syz C ci-upstream-kasan-gce-root
2018/04/06 12:39 upstream 38c23685b273 4f1152d4 .config console log report syz C ci-upstream-kasan-gce
2018/04/06 11:30 upstream 38c23685b273 4f1152d4 .config console log report syz C ci-upstream-kasan-gce
2018/04/06 11:28 upstream 38c23685b273 4f1152d4 .config console log report syz C ci-upstream-kasan-gce-root
2018/04/13 10:49 upstream 16e205cf42da 0a0c5db6 .config console log report ci-upstream-kasan-gce-root
2018/04/13 09:35 upstream 16e205cf42da 0a0c5db6 .config console log report ci-upstream-kasan-gce-root
2018/04/13 09:13 upstream 16e205cf42da 0a0c5db6 .config console log report ci-upstream-kasan-gce
2018/04/13 00:34 upstream c17b0aadb7d8 eb2295de .config console log report ci-upstream-kasan-gce-root
2018/04/12 21:50 upstream c17b0aadb7d8 eb2295de .config console log report ci-upstream-kasan-gce-root
2018/04/12 19:19 upstream c17b0aadb7d8 eb2295de .config console log report ci-upstream-kasan-gce-root
2018/04/12 18:48 upstream c17b0aadb7d8 eb2295de .config console log report ci-upstream-kasan-gce-root
2018/04/12 00:22 upstream b284d4d5a678 9cd56d71 .config console log report ci-upstream-kasan-gce-root
2018/04/11 22:41 upstream b284d4d5a678 9cd56d71 .config console log report ci-upstream-kasan-gce-root
2018/04/11 22:40 upstream b284d4d5a678 9cd56d71 .config console log report ci-upstream-kasan-gce
2018/04/11 18:59 upstream b284d4d5a678 8b8de427 .config console log report ci-upstream-kasan-gce
2018/04/10 21:34 upstream c18bb396d3d2 8b8de427 .config console log report ci-upstream-kasan-gce-root
2018/04/10 13:51 upstream c18bb396d3d2 8e873e9d .config console log report ci-upstream-kasan-gce
2018/04/10 10:48 upstream c18bb396d3d2 b9f65507 .config console log report ci-upstream-kasan-gce
2018/04/09 20:59 upstream fd40ffc72e2f b9f65507 .config console log report ci-upstream-kasan-gce-root
2018/04/09 11:27 upstream 3fd14cdcc05a f13fb445 .config console log report ci-upstream-kasan-gce-root
2018/04/09 09:48 upstream 3fd14cdcc05a f13fb445 .config console log report ci-upstream-kasan-gce-root
2018/04/08 03:16 upstream 3fd14cdcc05a 66f22a7f .config console log report ci-upstream-kasan-gce-root
2018/04/07 15:06 upstream 3fd14cdcc05a 66f22a7f .config console log report ci-upstream-kasan-gce-root
2018/04/06 18:24 upstream 38c23685b273 4f1152d4 .config console log report ci-upstream-kasan-gce-root
2018/04/06 12:22 upstream 38c23685b273 4f1152d4 .config console log report ci-upstream-kasan-gce
2018/04/06 11:21 upstream 38c23685b273 4f1152d4 .config console log report ci-upstream-kasan-gce-root
2018/04/06 11:08 upstream 38c23685b273 4f1152d4 .config console log report ci-upstream-kasan-gce
2018/04/06 11:05 upstream 38c23685b273 4f1152d4 .config console log report ci-upstream-kasan-gce
2018/04/06 10:59 upstream 38c23685b273 4f1152d4 .config console log report ci-upstream-kasan-gce
2018/04/06 10:52 upstream 38c23685b273 4f1152d4 .config console log report ci-upstream-kasan-gce-root
2018/04/21 11:28 net-next-old cf1a1e07fc8b ca03d688 .config console log report ci-upstream-net-kasan-gce
2018/04/21 09:45 net-next-old cf1a1e07fc8b ca03d688 .config console log report ci-upstream-net-kasan-gce
2018/04/21 06:21 net-next-old cf1a1e07fc8b ca03d688 .config console log report ci-upstream-net-kasan-gce
2018/04/21 06:07 net-next-old cf1a1e07fc8b ca03d688 .config console log report ci-upstream-net-kasan-gce
2018/04/21 03:39 net-next-old cf1a1e07fc8b ca03d688 .config console log report ci-upstream-net-kasan-gce
2018/04/21 02:53 net-next-old cf1a1e07fc8b ca03d688 .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.