block nbd0: shutting down sockets INFO: task syz-executor756:7976 blocked for more than 140 seconds. Not tainted 4.14.212-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor756 D28640 7976 7975 0x80000006 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x88b/0x1de0 kernel/sched/core.c:3384 schedule+0x8d/0x1b0 kernel/sched/core.c:3428 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3486 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x669/0x1310 kernel/locking/mutex.c:893 blkdev_put+0x27/0x4c0 fs/block_dev.c:1826 blkdev_close+0x86/0xb0 fs/block_dev.c:1875 __fput+0x25f/0x7a0 fs/file_table.c:210 task_work_run+0x11f/0x190 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0xa44/0x2850 kernel/exit.c:868 do_group_exit+0x100/0x2e0 kernel/exit.c:965 get_signal+0x38d/0x1ca0 kernel/signal.c:2423 do_signal+0x7c/0x1550 arch/x86/kernel/signal.c:814 exit_to_usermode_loop+0x160/0x200 arch/x86/entry/common.c:160 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x445089 RSP: 002b:00007fffcdd57ac8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: fffffffffffffe00 RBX: 0000000000000000 RCX: 0000000000445089 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000008 RBP: 00000000006d0018 R08: 00000000004002e0 R09: 00000000004002e0 R10: 000000000000000f R11: 0000000000000246 R12: 0000000000402250 R13: 00000000004022e0 R14: 0000000000000000 R15: 0000000000000000 INFO: task systemd-udevd:7980 blocked for more than 140 seconds. Not tainted 4.14.212-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. systemd-udevd D27464 7980 4633 0x00000104 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x88b/0x1de0 kernel/sched/core.c:3384 schedule+0x8d/0x1b0 kernel/sched/core.c:3428 io_schedule+0xb5/0x120 kernel/sched/core.c:5036 wait_on_page_bit_common mm/filemap.c:1025 [inline] wait_on_page_bit+0x241/0x320 mm/filemap.c:1058 wait_on_page_locked include/linux/pagemap.h:526 [inline] wait_on_page_read mm/filemap.c:2680 [inline] do_read_cache_page+0x55f/0xc10 mm/filemap.c:2719 read_mapping_page include/linux/pagemap.h:398 [inline] read_dev_sector+0xbd/0x3c0 block/partition-generic.c:659 read_part_sector block/partitions/check.h:38 [inline] adfspart_check_ICS+0xf6/0xc00 block/partitions/acorn.c:366 check_partition+0x330/0x60a block/partitions/check.c:167 rescan_partitions+0x192/0x800 block/partition-generic.c:523 __blkdev_get+0xd7f/0x1090 fs/block_dev.c:1541 blkdev_get+0x88/0x890 fs/block_dev.c:1611 blkdev_open+0x1cc/0x250 fs/block_dev.c:1772 do_dentry_open+0x44b/0xec0 fs/open.c:777 vfs_open+0x105/0x220 fs/open.c:888 do_last fs/namei.c:3428 [inline] path_openat+0x628/0x2970 fs/namei.c:3569 do_filp_open+0x179/0x3c0 fs/namei.c:3603 do_sys_open+0x296/0x410 fs/open.c:1081 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f7f4daa4840 RSP: 002b:00007fff5f77f478 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000564d3b25b570 RCX: 00007f7f4daa4840 RDX: 0000564d3a20ffe3 RSI: 00000000000a0800 RDI: 0000564d3b260a40 RBP: 00007fff5f77f5f0 R08: 0000564d3a20f670 R09: 0000000000000010 R10: 0000564d3a20fd0c R11: 0000000000000246 R12: 00007fff5f77f540 R13: 0000564d3b25e550 R14: 0000000000000003 R15: 000000000000000e Showing all locks held in the system: 1 lock held by khungtaskd/1531: #0: (tasklist_lock){.+.+}, at: [] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4548 1 lock held by syz-executor756/7976: #0: (&bdev->bd_mutex){+.+.}, at: [] blkdev_put+0x27/0x4c0 fs/block_dev.c:1826 1 lock held by systemd-udevd/7980: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0x191/0x1090 fs/block_dev.c:1455 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1531 Comm: khungtaskd Not tainted 4.14.212-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x283 lib/dump_stack.c:58 nmi_cpu_backtrace.cold+0x57/0x93 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x13a/0x17f lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:140 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:195 [inline] watchdog+0x5b9/0xb40 kernel/hung_task.c:274 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4611 Comm: systemd-journal Not tainted 4.14.212-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880a1f14500 task.stack: ffff8880a1f18000 RIP: 0010:lock_acquire+0x53/0x3f0 kernel/locking/lockdep.c:3990 RSP: 0018:ffff8880a1f1fcb0 EFLAGS: 00000002 RAX: 0000000000000007 RBX: ffff8880a1f14500 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8880a1f14d84 RBP: ffffffff8c072d20 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: ffff8880a1f14500 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 FS: 00007f9fd983d8c0(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9fd6c1d000 CR3: 00000000a23c5000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x8c/0xc0 kernel/locking/spinlock.c:160 __debug_check_no_obj_freed lib/debugobjects.c:738 [inline] debug_check_no_obj_freed+0x135/0x674 lib/debugobjects.c:776 kmem_cache_free+0x156/0x2b0 mm/slab.c:3757 putname+0xcd/0x110 fs/namei.c:259 do_sys_open+0x203/0x410 fs/open.c:1090 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f9fd8dcd840 RSP: 002b:00007fff21b963a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fff21b966b0 RCX: 00007f9fd8dcd840 RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 000055b9f2f49280 RBP: 000000000000000d R08: 0000000000000000 R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff R13: 000055b9f2f3d040 R14: 00007fff21b96670 R15: 000055b9f2f48c70 Code: 80 df 01 00 48 8d bb 84 08 00 00 48 83 ec 18 48 89 fa 4c 89 0c 24 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 <84> d2 0f 85 dd 02 00 00 8b b3 84 08 00 00 85 f6 0f 85 88 01 00