syzbot


INFO: task hung in nbd_config_put

Status: auto-closed as invalid on 2019/11/16 10:14
Subsystems: nbd
[Documentation on labels]
First crash: 1676d, last: 1676d

Sample crash report:
INFO: task kworker/u5:0:1524 blocked for more than 143 seconds.
      Not tainted 5.3.0-next-20190916 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
kworker/u5:0    D27992  1524      2 0x80004000
Workqueue: knbd5-recv recv_work
Call Trace:
 context_switch kernel/sched/core.c:3384 [inline]
 __schedule+0x828/0x1c20 kernel/sched/core.c:4065
 schedule+0xd9/0x260 kernel/sched/core.c:4132
 schedule_timeout+0x717/0xc50 kernel/time/timer.c:1869
 do_wait_for_common kernel/sched/completion.c:83 [inline]
 __wait_for_common kernel/sched/completion.c:104 [inline]
 wait_for_common kernel/sched/completion.c:115 [inline]
 wait_for_completion+0x29c/0x440 kernel/sched/completion.c:136
 flush_workqueue+0x40f/0x14c0 kernel/workqueue.c:2826
 drain_workqueue+0x1b4/0x470 kernel/workqueue.c:2939
 destroy_workqueue+0x21/0x700 kernel/workqueue.c:4329
 nbd_config_put+0x3dd/0x870 drivers/block/nbd.c:1163
 recv_work+0x19b/0x200 drivers/block/nbd.c:770
 process_one_work+0x9af/0x1740 kernel/workqueue.c:2269
 worker_thread+0x98/0xe40 kernel/workqueue.c:2415
 kthread+0x361/0x430 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
INFO: task syz-executor.5:26167 can't die for more than 143 seconds.
syz-executor.5  D28064 26167   9922 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:3384 [inline]
 __schedule+0x828/0x1c20 kernel/sched/core.c:4065
 schedule+0xd9/0x260 kernel/sched/core.c:4132
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4191
 __mutex_lock_common kernel/locking/mutex.c:1033 [inline]
 __mutex_lock+0x7b0/0x13c0 kernel/locking/mutex.c:1103
 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1118
 nbd_open+0xec/0x310 drivers/block/nbd.c:1410
 __blkdev_get+0x34f/0x1660 fs/block_dev.c:1569
 blkdev_get+0x47/0x2c0 fs/block_dev.c:1707
 blkdev_open+0x205/0x290 fs/block_dev.c:1846
 do_dentry_open+0x4df/0x1250 fs/open.c:797
 vfs_open+0xa0/0xd0 fs/open.c:914
 do_last fs/namei.c:3408 [inline]
 path_openat+0x10e9/0x46d0 fs/namei.c:3525
 do_filp_open+0x1a1/0x280 fs/namei.c:3555
 do_sys_open+0x3fe/0x5d0 fs/open.c:1097
 __do_sys_open fs/open.c:1115 [inline]
 __se_sys_open fs/open.c:1110 [inline]
 __x64_sys_open+0x7e/0xc0 fs/open.c:1110
 do_syscall_64+0xfa/0x760 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4137d1
Code: 48 c7 03 50 37 41 00 31 c0 48 83 c4 08 5b 5d c3 66 0f 1f 84 00 00 00 00 00 48 c7 03 40 37 41 00 eb e5 0f 1f 80 00 00 00 00 bf <69> 30 44 00 b9 08 00 00 00 48 89 ee f3 a6 74 1f bf 71 30 44 00 b9
RSP: 002b:00007f48c4f817a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00000000004137d1
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007f48c4f81850
RBP: 000000000075bf20 R08: 000000000000000f R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 00007f48c4f826d4
R13: 00000000004c8d5b R14: 00000000004dfd50 R15: 00000000ffffffff
INFO: task syz-executor.5:26167 blocked for more than 144 seconds.
      Not tainted 5.3.0-next-20190916 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.5  D28064 26167   9922 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:3384 [inline]
 __schedule+0x828/0x1c20 kernel/sched/core.c:4065
 schedule+0xd9/0x260 kernel/sched/core.c:4132
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4191
 __mutex_lock_common kernel/locking/mutex.c:1033 [inline]
 __mutex_lock+0x7b0/0x13c0 kernel/locking/mutex.c:1103
 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1118
 nbd_open+0xec/0x310 drivers/block/nbd.c:1410
 __blkdev_get+0x34f/0x1660 fs/block_dev.c:1569
 blkdev_get+0x47/0x2c0 fs/block_dev.c:1707
 blkdev_open+0x205/0x290 fs/block_dev.c:1846
 do_dentry_open+0x4df/0x1250 fs/open.c:797
 vfs_open+0xa0/0xd0 fs/open.c:914
 do_last fs/namei.c:3408 [inline]
 path_openat+0x10e9/0x46d0 fs/namei.c:3525
 do_filp_open+0x1a1/0x280 fs/namei.c:3555
 do_sys_open+0x3fe/0x5d0 fs/open.c:1097
 __do_sys_open fs/open.c:1115 [inline]
 __se_sys_open fs/open.c:1110 [inline]
 __x64_sys_open+0x7e/0xc0 fs/open.c:1110
 do_syscall_64+0xfa/0x760 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4137d1
Code: 48 c7 03 50 37 41 00 31 c0 48 83 c4 08 5b 5d c3 66 0f 1f 84 00 00 00 00 00 48 c7 03 40 37 41 00 eb e5 0f 1f 80 00 00 00 00 bf <69> 30 44 00 b9 08 00 00 00 48 89 ee f3 a6 74 1f bf 71 30 44 00 b9
RSP: 002b:00007f48c4f817a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00000000004137d1
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007f48c4f81850
RBP: 000000000075bf20 R08: 000000000000000f R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 00007f48c4f826d4
R13: 00000000004c8d5b R14: 00000000004dfd50 R15: 00000000ffffffff
INFO: task syz-executor.3:26162 can't die for more than 144 seconds.
syz-executor.3  D28120 26162   9918 0x00004006
Call Trace:
 context_switch kernel/sched/core.c:3384 [inline]
 __schedule+0x828/0x1c20 kernel/sched/core.c:4065
 schedule+0xd9/0x260 kernel/sched/core.c:4132
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4191
 __mutex_lock_common kernel/locking/mutex.c:1033 [inline]
 __mutex_lock+0x7b0/0x13c0 kernel/locking/mutex.c:1103
 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1118
 blkdev_put+0x34/0x560 fs/block_dev.c:1887
 blkdev_close+0x8b/0xb0 fs/block_dev.c:1936
 __fput+0x2ff/0x890 fs/file_table.c:280
 ____fput+0x16/0x20 fs/file_table.c:313
 task_work_run+0x145/0x1c0 kernel/task_work.c:113
 get_signal+0x2078/0x2500 kernel/signal.c:2528
 do_signal+0x87/0x1700 arch/x86/kernel/signal.c:815
 exit_to_usermode_loop+0x286/0x380 arch/x86/entry/common.c:159
 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:274 [inline]
 do_syscall_64+0x65f/0x760 arch/x86/entry/common.c:300
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4598e9
Code: Bad RIP value.
RSP: 002b:00007fa6345c4c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: fffffffffffffe00 RBX: 0000000000000002 RCX: 00000000004598e9
RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000005
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa6345c56d4
R13: 00000000004c319f R14: 00000000004d6948 R15: 00000000ffffffff
INFO: task syz-executor.3:26162 blocked for more than 144 seconds.
      Not tainted 5.3.0-next-20190916 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.3  D28120 26162   9918 0x00004006
Call Trace:
 context_switch kernel/sched/core.c:3384 [inline]
 __schedule+0x828/0x1c20 kernel/sched/core.c:4065
 schedule+0xd9/0x260 kernel/sched/core.c:4132
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4191
 __mutex_lock_common kernel/locking/mutex.c:1033 [inline]
 __mutex_lock+0x7b0/0x13c0 kernel/locking/mutex.c:1103
 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1118
 blkdev_put+0x34/0x560 fs/block_dev.c:1887
 blkdev_close+0x8b/0xb0 fs/block_dev.c:1936
 __fput+0x2ff/0x890 fs/file_table.c:280
 ____fput+0x16/0x20 fs/file_table.c:313
 task_work_run+0x145/0x1c0 kernel/task_work.c:113
 get_signal+0x2078/0x2500 kernel/signal.c:2528
 do_signal+0x87/0x1700 arch/x86/kernel/signal.c:815
 exit_to_usermode_loop+0x286/0x380 arch/x86/entry/common.c:159
 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:274 [inline]
 do_syscall_64+0x65f/0x760 arch/x86/entry/common.c:300
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4598e9
Code: Bad RIP value.
RSP: 002b:00007fa6345c4c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: fffffffffffffe00 RBX: 0000000000000002 RCX: 00000000004598e9
RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000005
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa6345c56d4
R13: 00000000004c319f R14: 00000000004d6948 R15: 00000000ffffffff
INFO: task syz-executor.3:26173 can't die for more than 145 seconds.
syz-executor.3  D28608 26173   9918 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:3384 [inline]
 __schedule+0x828/0x1c20 kernel/sched/core.c:4065
 schedule+0xd9/0x260 kernel/sched/core.c:4132
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4191
 __mutex_lock_common kernel/locking/mutex.c:1033 [inline]
 __mutex_lock+0x7b0/0x13c0 kernel/locking/mutex.c:1103
 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1118
 nbd_open+0x27/0x310 drivers/block/nbd.c:1397
 __blkdev_get+0xf76/0x1660 fs/block_dev.c:1633
 blkdev_get+0x47/0x2c0 fs/block_dev.c:1707
 blkdev_open+0x205/0x290 fs/block_dev.c:1846
 do_dentry_open+0x4df/0x1250 fs/open.c:797
 vfs_open+0xa0/0xd0 fs/open.c:914
 do_last fs/namei.c:3408 [inline]
 path_openat+0x10e9/0x46d0 fs/namei.c:3525
 do_filp_open+0x1a1/0x280 fs/namei.c:3555
 do_sys_open+0x3fe/0x5d0 fs/open.c:1097
 __do_sys_open fs/open.c:1115 [inline]
 __se_sys_open fs/open.c:1110 [inline]
 __x64_sys_open+0x7e/0xc0 fs/open.c:1110
 do_syscall_64+0xfa/0x760 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4137d1
Code: 48 c7 03 50 37 41 00 31 c0 48 83 c4 08 5b 5d c3 66 0f 1f 84 00 00 00 00 00 48 c7 03 40 37 41 00 eb e5 0f 1f 80 00 00 00 00 bf <69> 30 44 00 b9 08 00 00 00 48 89 ee f3 a6 74 1f bf 71 30 44 00 b9
RSP: 002b:00007fa6345827a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00000000004137d1
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007fa634582850
RBP: 000000000075c070 R08: 000000000000000f R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 00007fa6345836d4
R13: 00000000004c8d5b R14: 00000000004dfd50 R15: 00000000ffffffff
INFO: task syz-executor.3:26173 blocked for more than 145 seconds.
      Not tainted 5.3.0-next-20190916 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.3  D28608 26173   9918 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:3384 [inline]
 __schedule+0x828/0x1c20 kernel/sched/core.c:4065
 schedule+0xd9/0x260 kernel/sched/core.c:4132
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4191
 __mutex_lock_common kernel/locking/mutex.c:1033 [inline]
 __mutex_lock+0x7b0/0x13c0 kernel/locking/mutex.c:1103
 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1118
 nbd_open+0x27/0x310 drivers/block/nbd.c:1397
 __blkdev_get+0xf76/0x1660 fs/block_dev.c:1633
 blkdev_get+0x47/0x2c0 fs/block_dev.c:1707
 blkdev_open+0x205/0x290 fs/block_dev.c:1846
 do_dentry_open+0x4df/0x1250 fs/open.c:797
 vfs_open+0xa0/0xd0 fs/open.c:914
 do_last fs/namei.c:3408 [inline]
 path_openat+0x10e9/0x46d0 fs/namei.c:3525
 do_filp_open+0x1a1/0x280 fs/namei.c:3555
 do_sys_open+0x3fe/0x5d0 fs/open.c:1097
 __do_sys_open fs/open.c:1115 [inline]
 __se_sys_open fs/open.c:1110 [inline]
 __x64_sys_open+0x7e/0xc0 fs/open.c:1110
 do_syscall_64+0xfa/0x760 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4137d1
Code: 48 c7 03 50 37 41 00 31 c0 48 83 c4 08 5b 5d c3 66 0f 1f 84 00 00 00 00 00 48 c7 03 40 37 41 00 eb e5 0f 1f 80 00 00 00 00 bf <69> 30 44 00 b9 08 00 00 00 48 89 ee f3 a6 74 1f bf 71 30 44 00 b9
RSP: 002b:00007fa6345827a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00000000004137d1
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007fa634582850
RBP: 000000000075c070 R08: 000000000000000f R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 00007fa6345836d4
R13: 00000000004c8d5b R14: 00000000004dfd50 R15: 00000000ffffffff
INFO: lockdep is turned off.
NMI backtrace for cpu 1
CPU: 1 PID: 1065 Comm: khungtaskd Not tainted 5.3.0-next-20190916 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x172/0x1f0 lib/dump_stack.c:113
 nmi_cpu_backtrace.cold+0x70/0xb2 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x23b/0x28b lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:269 [inline]
 watchdog+0xc99/0x1360 kernel/hung_task.c:353
 kthread+0x361/0x430 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 3893 Comm: udevd Not tainted 5.3.0-next-20190916 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:do_syscall_64+0x3dc/0x760 arch/x86/entry/common.c:301
Code: fa 48 c1 ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e ae 02 00 00 83 63 08 f9 0f 1f 44 00 00 e8 3b ff 71 00 0f 00 2d 84 c6 9f 06 <e8> 2f ff 71 00 48 83 c4 08 5b 41 5c 41 5d 41 5e 5d c3 e8 1d ff 71
RSP: 0018:ffff8880964e7f20 EFLAGS: 000000d3
RAX: ffff8880964dc040 RBX: ffff8880964dc040 RCX: ffffffff8100a634
RDX: 0000000000000000 RSI: ffffffff8100a675 RDI: ffff8880964dc048
RBP: ffff8880964e7f48 R08: ffff8880964dc040 R09: ffffed1012c9b809
R10: ffffed1012c9b808 R11: ffff8880964dc047 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f28dc9a77a0(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffff600400 CR3: 0000000096a73000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f28dc0bb943
Code: 00 31 d2 48 29 c2 64 89 11 48 83 c8 ff eb ea 90 90 90 90 90 90 90 90 83 3d b5 dc 2a 00 00 75 13 49 89 ca b8 e8 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 34 c3 48 83 ec 08 e8 3b c4 00 00 48 89 04 24
RSP: 002b:00007fff46785ad8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e8
RAX: 0000000000000001 RBX: 0000000000000bb8 RCX: 00007f28dc0bb943
RDX: 0000000000000008 RSI: 00007fff46785bd0 RDI: 000000000000000a
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001
R10: 0000000000000bb8 R11: 0000000000000246 R12: 0000000000000003
R13: 0000000000000000 R14: 00000000015dc380 R15: 00000000015d6250

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/09/17 10:13 linux-next f84e1c16f08d 51ca0454 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.