block nbd4: shutting down sockets INFO: task syz-executor.2:8683 blocked for more than 140 seconds. Not tainted 4.19.166-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28648 8683 28386 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_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0x647/0x1260 kernel/locking/mutex.c:1072 blkdev_put+0x30/0x520 fs/block_dev.c:1839 blkdev_close+0x86/0xb0 fs/block_dev.c:1888 __fput+0x2ce/0x890 fs/file_table.c:278 task_work_run+0x148/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x251/0x2a0 arch/x86/entry/common.c:167 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x417b71 Code: Bad RIP value. RSP: 002b:00007ffe319cf1d0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000417b71 RDX: 0000001b31d20000 RSI: 00007f9030ad6004 RDI: 0000000000000003 RBP: 0000000000000001 R08: 00000000000004bd R09: 000000001dc144c0 R10: 00007ffe319cf2b0 R11: 0000000000000293 R12: 000000000119ca00 R13: 000000000119ca00 R14: 00000000000003e8 R15: 000000000119c034 INFO: task systemd-udevd:8687 blocked for more than 140 seconds. Not tainted 4.19.166-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. systemd-udevd D26624 8687 4701 0x00000100 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 io_schedule+0xb5/0x120 kernel/sched/core.c:5181 wait_on_page_bit_common mm/filemap.c:1123 [inline] wait_on_page_bit+0x2c5/0x3f0 mm/filemap.c:1156 wait_on_page_locked include/linux/pagemap.h:530 [inline] wait_on_page_read mm/filemap.c:2795 [inline] do_read_cache_page+0x8ed/0x1170 mm/filemap.c:2834 read_mapping_page include/linux/pagemap.h:402 [inline] read_dev_sector+0xbf/0x500 block/partition-generic.c:671 read_part_sector block/partitions/check.h:38 [inline] adfspart_check_ICS+0x114/0xe70 block/partitions/acorn.c:366 check_partition+0x390/0x68e block/partitions/check.c:167 rescan_partitions+0x1b5/0x970 block/partition-generic.c:535 bdev_disk_changed+0x179/0x1b0 fs/block_dev.c:1435 __blkdev_get+0x1282/0x1480 fs/block_dev.c:1561 blkdev_get+0xb0/0x940 fs/block_dev.c:1627 blkdev_open+0x202/0x290 fs/block_dev.c:1788 do_dentry_open+0x4aa/0x1160 fs/open.c:796 do_last fs/namei.c:3421 [inline] path_openat+0x793/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f5455bc4840 Code: Bad RIP value. RSP: 002b:00007ffcea7875b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000055fe08212170 RCX: 00007f5455bc4840 RDX: 000055fe074a1fe3 RSI: 00000000000a0800 RDI: 000055fe0821c5a0 RBP: 00007ffcea787730 R08: 000055fe074a1670 R09: 0000000000000010 R10: 000055fe074a1d0c R11: 0000000000000246 R12: 00007ffcea787680 R13: 000055fe082145e0 R14: 0000000000000003 R15: 000000000000000e Showing all locks held in the system: 1 lock held by khungtaskd/1566: #0: 00000000f6bad12d (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4440 1 lock held by in:imklog/7806: #0: 00000000439b4442 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 1 lock held by syz-executor.2/8683: #0: 00000000cb887ce0 (&bdev->bd_mutex){+.+.}, at: blkdev_put+0x30/0x520 fs/block_dev.c:1839 1 lock held by systemd-udevd/8687: #0: 00000000cb887ce0 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x1d0/0x1480 fs/block_dev.c:1478 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1566 Comm: khungtaskd Not tainted 4.19.166-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/0x2fe lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1eb 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4679 Comm: systemd-journal Not tainted 4.19.166-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:lowmem_page_address include/linux/mm.h:1178 [inline] RIP: 0010:kasan_free_pages+0x26/0x60 mm/kasan/kasan.c:317 Code: 00 00 00 00 48 ba 00 00 00 00 00 16 00 00 89 f1 be ff 00 00 00 48 b8 00 00 00 00 80 88 ff ff 48 01 fa 48 c1 fa 06 48 c1 e2 0c <48> 01 c2 b8 00 10 00 00 48 89 d7 48 d3 e0 48 c1 ef 03 48 01 c2 48 RSP: 0018:ffff8880a15bfa48 EFLAGS: 00000006 RAX: ffff888000000000 RBX: 0000000000000002 RCX: 0000000000000001 RDX: 00000000ab928000 RSI: 00000000000000ff RDI: ffffea0002ae4a00 RBP: ffff8880ab928000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 000000000000000a R12: 0000000000000001 R13: 0000000000000015 R14: ffffea0002ae4a00 R15: 00000000000ab928 FS: 00007f3ae196e8c0(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3adf1b3000 CR3: 00000000a1b3c000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: free_pages_prepare mm/page_alloc.c:1062 [inline] __free_pages_ok+0x24d/0xd30 mm/page_alloc.c:1279 slab_destroy mm/slab.c:1713 [inline] slabs_destroy+0x90/0xd0 mm/slab.c:1729 cache_flusharray mm/slab.c:3490 [inline] ___cache_free+0x295/0x3a0 mm/slab.c:3532 qlink_free mm/kasan/quarantine.c:147 [inline] qlist_free_all+0x79/0x140 mm/kasan/quarantine.c:166 quarantine_reduce+0x1a9/0x230 mm/kasan/quarantine.c:259 kasan_kmalloc+0xa2/0x160 mm/kasan/kasan.c:538 slab_post_alloc_hook mm/slab.h:445 [inline] slab_alloc mm/slab.c:3397 [inline] kmem_cache_alloc+0x110/0x370 mm/slab.c:3557 prepare_creds+0x39/0x510 kernel/cred.c:255 do_faccessat+0x94/0x7a0 fs/open.c:359 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f3ae0c2a9c7 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:00007fff838996a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00007fff8389c5c0 RCX: 00007f3ae0c2a9c7 RDX: 00007f3ae169ba00 RSI: 0000000000000000 RDI: 00005605cab5d9a3 RBP: 00007fff838996e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fff8389c5c0 R15: 00007fff83899bd0