block nbd0: shutting down sockets INFO: task syz-executor869:8141 blocked for more than 140 seconds. Not tainted 4.19.171-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor869 D27544 8141 8140 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 schedule_timeout+0x92d/0xfe0 kernel/time/timer.c:1794 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common+0x29c/0x470 kernel/sched/completion.c:115 flush_workqueue+0x40b/0x13e0 kernel/workqueue.c:2715 nbd_start_device_ioctl drivers/block/nbd.c:1268 [inline] __nbd_ioctl drivers/block/nbd.c:1339 [inline] nbd_ioctl+0x75b/0xbe0 drivers/block/nbd.c:1379 __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0x5cb/0x1a80 block/ioctl.c:601 block_ioctl+0xe9/0x130 fs/block_dev.c:1906 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x444fc9 Code: Bad RIP value. RSP: 002b:00007ffd997800e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000444fc9 RDX: 00000000ffffffff RSI: 000000000000ab03 RDI: 0000000000000005 RBP: 00000000006cf018 R08: 00000000004002e0 R09: 00000000004002e0 R10: 00000000004002e0 R11: 0000000000000246 R12: 0000000000402190 R13: 0000000000402220 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/1567: #0: 00000000020e6db6 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4440 2 locks held by kworker/u5:0/1713: #0: 0000000078638dba ((wq_completion)"knbd%d-recv"nbd->index){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2126 #1: 000000006f64415f ((work_completion)(&args->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2130 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1567 Comm: khungtaskd Not tainted 4.19.171-syzkaller #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+0x1fc/0x2ef lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 kernel/hung_task.c:287 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4691 Comm: systemd-journal Not tainted 4.19.171-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__bpf_prog_run32+0x14/0xd0 kernel/bpf/core.c:1436 Code: 75 0c 48 81 c4 20 01 00 00 5b 5d 41 5c c3 e8 a3 35 cb ff 0f 1f 00 48 b8 00 00 00 00 00 fc ff df 41 54 49 89 fc 55 48 89 f5 53 <48> 81 ec 00 01 00 00 48 89 e3 48 c7 04 24 b3 8a b5 41 48 c7 44 24 RSP: 0018:ffff8880a0d9fba0 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffff8880a25b4a40 RCX: ffffffff81628dd7 RDX: 0000000000000000 RSI: ffffc900019d3038 RDI: ffff8880a0d9fe70 RBP: ffffc900019d3038 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000007 R11: 0000000000000000 R12: ffff8880a0d9fe70 R13: 000000007fff0000 R14: 0000000000000000 R15: 000000007fff0000 FS: 00007f361b7068c0(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3618adc000 CR3: 00000000a109e000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: seccomp_run_filters+0x124/0x590 kernel/seccomp.c:211 __seccomp_filter+0x93/0xca0 kernel/seccomp.c:667 __secure_computing+0xfc/0x360 kernel/seccomp.c:794 syscall_trace_enter+0x563/0xd60 arch/x86/entry/common.c:121 do_syscall_64+0x486/0x620 arch/x86/entry/common.c:283 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f361a9c29c7 Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffc85fe4158 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00007ffc85fe7180 RCX: 00007f361a9c29c7 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00005622f4c3a9a3 RBP: 00007ffc85fe42a0 R08: 00005622f4c303e5 R09: 0000000000000018 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00005622f5b208a0 R15: 00007ffc85fe4790