syzbot


possible deadlock

Status: auto-closed as invalid on 2019/02/22 14:55
First crash: 2301d, last: 2258d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-44 possible deadlock 3 2263d 2264d 0/2 auto-closed as invalid on 2019/02/22 12:31
upstream possible deadlock (3) C 2 2284d 2285d 0/26 closed as invalid on 2018/01/10 08:57
upstream possible deadlock (2) crypto 2 2312d 2314d 3/26 fixed on 2018/01/03 02:35
upstream possible deadlock (4) C 19 2262d 2279d 0/26 closed as dup on 2018/01/15 08:48
upstream possible deadlock 1 2338d 2338d 0/26 closed as invalid on 2017/11/18 10:19

Sample crash report:
======================================================
[ INFO: possible circular locking dependency detected ]
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 11576 Comm: syz-executor3 Not tainted 4.9.78-g29eadc4 #20
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8801d1a98000 task.stack: ffff8801d12e8000
RIP: 0010:[<ffffffff8144ed91>]  [<ffffffff8144ed91>] __read_once_size include/linux/compiler.h:243 [inline]
RIP: 0010:[<ffffffff8144ed91>]  [<ffffffff8144ed91>] atomic_read arch/x86/include/asm/atomic.h:26 [inline]
RIP: 0010:[<ffffffff8144ed91>]  [<ffffffff8144ed91>] page_ref_count include/linux/page_ref.h:66 [inline]
RIP: 0010:[<ffffffff8144ed91>]  [<ffffffff8144ed91>] put_page_testzero include/linux/mm.h:450 [inline]
RIP: 0010:[<ffffffff8144ed91>]  [<ffffffff8144ed91>] __free_pages+0x21/0x80 mm/page_alloc.c:3903
RSP: 0018:ffff8801d12ef9b0  EFLAGS: 00010a07
RAX: dffffc0000000000 RBX: dead4ead00000000 RCX: ffffffff826676fb
RDX: 1bd5a9d5a0000003 RSI: 0000000000000002 RDI: dead4ead0000001c
RBP: ffff8801d12ef9c0 R08: 0000000048000000 R09: 0000000000001e30
R10: 0000000000002100 R11: ffff8801d1a98000 R12: 0000000000000004
R13: 0000000000000020 R14: ffff8801c5040000 R15: dffffc0000000000
FS:  00007f7947f2a700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b9bc22000 CR3: 00000001ccb54000 CR4: 0000000000160670
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 0000000000000001 ffff8801c5040158 ffff8801d12efa20 ffffffff82667721
 ffff8801c5040170 ffffed0038a0802b ffffed0038a0802e ffff8801c5040168
 dead4ead00000000 ffff8801c5040140 0000000000000000 0000000000000000
Call Trace:
 [<ffffffff82667721>] sg_remove_scat.isra.19+0x1c1/0x2d0 drivers/scsi/sg.c:1944
 [<ffffffff82667ae5>] sg_finish_rem_req+0x2b5/0x340 drivers/scsi/sg.c:1825
 [<ffffffff82667cfd>] sg_new_read.isra.20+0x18d/0x3e0 drivers/scsi/sg.c:566
 [<ffffffff82669817>] sg_read+0x8b7/0x1440 drivers/scsi/sg.c:455
 [<ffffffff8156c651>] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714
 [<ffffffff815704c0>] do_loop_readv_writev fs/read_write.c:880 [inline]
 [<ffffffff815704c0>] do_readv_writev+0x520/0x750 fs/read_write.c:874
 [<ffffffff81570774>] vfs_readv+0x84/0xc0 fs/read_write.c:898
 [<ffffffff81570896>] do_readv+0xe6/0x250 fs/read_write.c:924
 [<ffffffff81573d87>] SYSC_readv fs/read_write.c:1011 [inline]
 [<ffffffff81573d87>] SyS_readv+0x27/0x30 fs/read_write.c:1008
 [<ffffffff838b2c6e>] entry_SYSCALL_64_fastpath+0x29/0xe8
Code: e9 27 fc ff ff 0f 1f 44 00 00 48 b8 00 00 00 00 00 fc ff df 55 48 89 e5 53 48 89 fb 48 83 c7 1c 48 89 fa 48 83 ec 08 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 3d 
RIP  [<ffffffff8144ed91>] __read_once_size include/linux/compiler.h:243 [inline]
RIP  [<ffffffff8144ed91>] atomic_read arch/x86/include/asm/atomic.h:26 [inline]
RIP  [<ffffffff8144ed91>] page_ref_count include/linux/page_ref.h:66 [inline]
RIP  [<ffffffff8144ed91>] put_page_testzero include/linux/mm.h:450 [inline]
RIP  [<ffffffff8144ed91>] __free_pages+0x21/0x80 mm/page_alloc.c:3903
 RSP <ffff8801d12ef9b0>
---[ end trace 61b121d96e9a3533 ]---

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/01/25 10:39 https://android.googlesource.com/kernel/common android-4.9 29eadc4b5c13 6b2a715e .config console log report ci-android-49-kasan-gce
2018/01/21 19:10 https://android.googlesource.com/kernel/common android-4.9 e12a9c4458ff fbbdcd92 .config console log report ci-android-49-kasan-gce
2018/01/20 17:45 https://android.googlesource.com/kernel/common android-4.9 e12a9c4458ff fbbdcd92 .config console log report ci-android-49-kasan-gce
2018/01/18 03:41 https://android.googlesource.com/kernel/common android-4.9 033d019ce29c b8970f31 .config console log report ci-android-49-kasan-gce
2018/01/16 19:37 https://android.googlesource.com/kernel/common android-4.9 8dec074e888a 4198e588 .config console log report ci-android-49-kasan-gce
2018/01/16 06:20 https://android.googlesource.com/kernel/common android-4.9 8dec074e888a e17f4a5d .config console log report ci-android-49-kasan-gce
2018/01/14 17:33 https://android.googlesource.com/kernel/common android-4.9 f0f6293fd01a 66d492a6 .config console log report ci-android-49-kasan-gce
2017/12/27 11:05 https://android.googlesource.com/kernel/common android-4.9 250637879165 09c8f4c0 .config console log report ci-android-49-kasan-gce
2017/12/24 10:56 https://android.googlesource.com/kernel/common android-4.9 250637879165 73aba437 .config console log report ci-android-49-kasan-gce
2018/02/05 05:55 https://android.googlesource.com/kernel/common android-4.9 b30d2b5deba5 a1bc9d40 .config console log report ci-android-49-kasan-gce-386
2018/02/03 14:38 https://android.googlesource.com/kernel/common android-4.9 47af77b1dced 632a8c2c .config console log report ci-android-49-kasan-gce-386
* Struck through repros no longer work on HEAD.