block nbd2: shutting down sockets block nbd0: Receive control failed (result -104) block nbd1: Receive control failed (result -32) block nbd1: Device being setup by another task block nbd1: shutting down sockets INFO: task syz-executor.0:12266 blocked for more than 140 seconds. Not tainted 4.19.172-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28560 12266 8096 0x00000004 Call Trace: context_switch syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:3517 schedule+0x8d/0x1b0 syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:3561 schedule_preempt_disabled+0xf/0x20 syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:3619 __mutex_lock_common syzkaller/managers/linux-4-19/kernel/kernel/locking/mutex.c:1002 [inline] __mutex_lock+0x647/0x1260 syzkaller/managers/linux-4-19/kernel/kernel/locking/mutex.c:1072 blkdev_put+0x30/0x520 syzkaller/managers/linux-4-19/kernel/fs/block_dev.c:1839 blkdev_close+0x86/0xb0 syzkaller/managers/linux-4-19/kernel/fs/block_dev.c:1888 __fput+0x2ce/0x890 syzkaller/managers/linux-4-19/kernel/fs/file_table.c:278 task_work_run+0x148/0x1c0 syzkaller/managers/linux-4-19/kernel/kernel/task_work.c:113 tracehook_notify_resume syzkaller/managers/linux-4-19/kernel/./include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x251/0x2a0 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:167 prepare_exit_to_usermode syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:198 [inline] syscall_return_slowpath syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x465b09 Code: Bad RIP value. RSP: 002b:00007f3b29952188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 000000000056bf60 RCX: 0000000000465b09 RDX: ffffffffffffffff RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00000000004b069f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffd432889ef R14: 00007f3b29952300 R15: 0000000000022000 INFO: task syz-executor.0:12323 blocked for more than 140 seconds. Not tainted 4.19.172-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28640 12323 8096 0x00000004 Call Trace: context_switch syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:3517 schedule+0x8d/0x1b0 syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:3561 schedule_preempt_disabled+0xf/0x20 syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:3619 __mutex_lock_common syzkaller/managers/linux-4-19/kernel/kernel/locking/mutex.c:1002 [inline] __mutex_lock+0x647/0x1260 syzkaller/managers/linux-4-19/kernel/kernel/locking/mutex.c:1072 __blkdev_get+0x1d0/0x1480 syzkaller/managers/linux-4-19/kernel/fs/block_dev.c:1478 blkdev_get+0xb0/0x940 syzkaller/managers/linux-4-19/kernel/fs/block_dev.c:1627 blkdev_open+0x202/0x290 syzkaller/managers/linux-4-19/kernel/fs/block_dev.c:1788 do_dentry_open+0x4aa/0x1160 syzkaller/managers/linux-4-19/kernel/fs/open.c:796 do_last syzkaller/managers/linux-4-19/kernel/fs/namei.c:3421 [inline] path_openat+0x793/0x2df0 syzkaller/managers/linux-4-19/kernel/fs/namei.c:3537 do_filp_open+0x18c/0x3f0 syzkaller/managers/linux-4-19/kernel/fs/namei.c:3567 do_sys_open+0x3b3/0x520 syzkaller/managers/linux-4-19/kernel/fs/open.c:1085 do_syscall_64+0xf9/0x620 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4190f4 Code: 1c c2 48 8d 5b 38 48 8d 34 c2 48 8d 76 20 83 3d 31 99 35 01 00 90 0f 85 86 00 00 00 4c 8b 44 24 38 4c 89 44 c2 18 4c 8b 44 24 <40> 4c 89 44 c2 28 83 3d 0f 99 35 01 00 75 40 48 8b 4c 24 48 48 89 RSP: 002b:00007f3b29930cc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00000000004190f4 RDX: 0000000000000000 RSI: 00007f3b29930d60 RDI: 00000000ffffff9c RBP: 00007f3b29930d60 R08: 0000000000000000 R09: 002364626e2f7665 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007ffd432889ef R14: 00007f3b29931300 R15: 0000000000022000 INFO: task systemd-udevd:12269 blocked for more than 140 seconds. Not tainted 4.19.172-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. systemd-udevd D26624 12269 4695 0x00000100 Call Trace: context_switch syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:3517 schedule+0x8d/0x1b0 syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:3561 io_schedule+0xb5/0x120 syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:5181 wait_on_page_bit_common syzkaller/managers/linux-4-19/kernel/mm/filemap.c:1123 [inline] wait_on_page_bit+0x2c5/0x3f0 syzkaller/managers/linux-4-19/kernel/mm/filemap.c:1156 wait_on_page_locked syzkaller/managers/linux-4-19/kernel/./include/linux/pagemap.h:530 [inline] wait_on_page_read syzkaller/managers/linux-4-19/kernel/mm/filemap.c:2795 [inline] do_read_cache_page+0x8ed/0x1170 syzkaller/managers/linux-4-19/kernel/mm/filemap.c:2834 read_mapping_page syzkaller/managers/linux-4-19/kernel/./include/linux/pagemap.h:402 [inline] read_dev_sector+0xbf/0x500 syzkaller/managers/linux-4-19/kernel/block/partition-generic.c:671 read_part_sector syzkaller/managers/linux-4-19/kernel/block/partitions/check.h:38 [inline] adfspart_check_ICS+0x114/0xe70 syzkaller/managers/linux-4-19/kernel/block/partitions/acorn.c:366 check_partition+0x390/0x690 syzkaller/managers/linux-4-19/kernel/block/partitions/check.c:167 rescan_partitions+0x1b5/0x970 syzkaller/managers/linux-4-19/kernel/block/partition-generic.c:535 bdev_disk_changed+0x179/0x1b0 syzkaller/managers/linux-4-19/kernel/fs/block_dev.c:1435 __blkdev_get+0x1282/0x1480 syzkaller/managers/linux-4-19/kernel/fs/block_dev.c:1561 blkdev_get+0xb0/0x940 syzkaller/managers/linux-4-19/kernel/fs/block_dev.c:1627 blkdev_open+0x202/0x290 syzkaller/managers/linux-4-19/kernel/fs/block_dev.c:1788 do_dentry_open+0x4aa/0x1160 syzkaller/managers/linux-4-19/kernel/fs/open.c:796 do_last syzkaller/managers/linux-4-19/kernel/fs/namei.c:3421 [inline] path_openat+0x793/0x2df0 syzkaller/managers/linux-4-19/kernel/fs/namei.c:3537 do_filp_open+0x18c/0x3f0 syzkaller/managers/linux-4-19/kernel/fs/namei.c:3567 do_sys_open+0x3b3/0x520 syzkaller/managers/linux-4-19/kernel/fs/open.c:1085 do_syscall_64+0xf9/0x620 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fb846af7840 Code: Bad RIP value. RSP: 002b:00007ffde02dee08 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000055f08b83b3f0 RCX: 00007fb846af7840 RDX: 000055f08b321fe3 RSI: 00000000000a0800 RDI: 000055f08b836590 RBP: 00007ffde02def80 R08: 000055f08b321670 R09: 0000000000000010 R10: 000055f08b321d0c R11: 0000000000000246 R12: 00007ffde02deed0 R13: 000055f08b83c8c0 R14: 0000000000000003 R15: 000000000000000e Showing all locks held in the system: 3 locks held by kworker/u4:2/34: #0: 00000000955b18ea (&rq->lock){-.-.}, at: rq_lock syzkaller/managers/linux-4-19/kernel/kernel/sched/sched.h:1824 [inline] #0: 00000000955b18ea (&rq->lock){-.-.}, at: __schedule+0x1f9/0x2040 syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:3455 #1: 000000009a64a9a4 (rcu_read_lock){....}, at: trace_sched_stat_runtime syzkaller/managers/linux-4-19/kernel/./include/trace/events/sched.h:428 [inline] #1: 000000009a64a9a4 (rcu_read_lock){....}, at: update_curr+0x2c3/0x870 syzkaller/managers/linux-4-19/kernel/kernel/sched/fair.c:857 #2: 0000000061f268fd (&base->lock){-.-.}, at: lock_timer_base+0x55/0x1b0 syzkaller/managers/linux-4-19/kernel/kernel/time/timer.c:950 1 lock held by khungtaskd/1564: #0: 000000009a64a9a4 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 syzkaller/managers/linux-4-19/kernel/kernel/locking/lockdep.c:4440 1 lock held by in:imklog/7793: #0: 000000006e1d1202 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 syzkaller/managers/linux-4-19/kernel/fs/file.c:767 3 locks held by kworker/u4:7/9518: #0: 00000000955b18ea (&rq->lock){-.-.}, at: idle_balance syzkaller/managers/linux-4-19/kernel/kernel/sched/fair.c:9701 [inline] #0: 00000000955b18ea (&rq->lock){-.-.}, at: pick_next_task_fair+0x556/0x1570 syzkaller/managers/linux-4-19/kernel/kernel/sched/fair.c:6840 #1: 000000009a64a9a4 (rcu_read_lock){....}, at: cpu_of syzkaller/managers/linux-4-19/kernel/kernel/sched/sched.h:921 [inline] #1: 000000009a64a9a4 (rcu_read_lock){....}, at: __update_idle_core+0x39/0x3e0 syzkaller/managers/linux-4-19/kernel/kernel/sched/fair.c:6057 #2: 0000000061f268fd (&base->lock){-.-.}, at: lock_timer_base+0x55/0x1b0 syzkaller/managers/linux-4-19/kernel/kernel/time/timer.c:950 1 lock held by syz-executor.0/12266: #0: 0000000080606795 (&bdev->bd_mutex){+.+.}, at: blkdev_put+0x30/0x520 syzkaller/managers/linux-4-19/kernel/fs/block_dev.c:1839 1 lock held by syz-executor.0/12323: #0: 0000000080606795 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x1d0/0x1480 syzkaller/managers/linux-4-19/kernel/fs/block_dev.c:1478 1 lock held by systemd-udevd/12269: #0: 0000000080606795 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x1d0/0x1480 syzkaller/managers/linux-4-19/kernel/fs/block_dev.c:1478 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1564 Comm: khungtaskd Not tainted 4.19.172-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack syzkaller/managers/linux-4-19/kernel/lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef syzkaller/managers/linux-4-19/kernel/lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 syzkaller/managers/linux-4-19/kernel/lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 syzkaller/managers/linux-4-19/kernel/lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace syzkaller/managers/linux-4-19/kernel/./include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks syzkaller/managers/linux-4-19/kernel/kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 syzkaller/managers/linux-4-19/kernel/kernel/hung_task.c:287 kthread+0x33f/0x460 syzkaller/managers/linux-4-19/kernel/kernel/kthread.c:259 ret_from_fork+0x24/0x30 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/entry_64.S:415 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4684 Comm: systemd-journal Not tainted 4.19.172-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:get_current syzkaller/managers/linux-4-19/kernel/./arch/x86/include/asm/current.h:15 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x4/0x50 syzkaller/managers/linux-4-19/kernel/kernel/kcov.c:100 Code: e8 a1 b7 35 00 e9 ab fe ff ff 4c 89 ef e8 94 b7 35 00 e9 23 fe ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 48 8b 34 24 <65> 48 8b 04 25 80 df 01 00 65 8b 15 3c 85 9f 7e 81 e2 00 01 1f 00 RSP: 0018:ffff8880a0d27e50 EFLAGS: 00000286 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: ffffffff81a1b41a RDI: 0000000000000286 RBP: 00000000fffffffe R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: fffffffffffffffe R13: fffffffffffffffe R14: 0000000000000000 R15: 0000000000000040 FS: 00007f6d866a28c0(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6d83463000 CR3: 00000000a0c2b000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_sys_open+0x2ba/0x520 syzkaller/managers/linux-4-19/kernel/fs/open.c:1094 do_syscall_64+0xf9/0x620 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f6d85c3285d Code: bb 20 00 00 75 10 b8 02 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24 b8 02 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 67 f6 ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007ffc7d0b8170 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007ffc7d0b8480 RCX: 00007f6d85c3285d RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 00005616888c65f0 RBP: 000000000000000d R08: 000000000000ffc0 R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000293 R12: 00000000ffffffff R13: 00005616888b8040 R14: 00007ffc7d0b8440 R15: 00005616888c6740