Dev nbd0: unable to read RDB block 0 nbd0: unable to read partition table ldm_validate_partition_table(): Disk read failed. Dev nbd0: unable to read RDB block 0 nbd0: unable to read partition table INFO: task syz-executor050:8120 blocked for more than 140 seconds. Not tainted 4.19.179-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor050 D26224 8120 8105 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 blk_mq_freeze_queue_wait+0x119/0x270 block/blk-mq.c:152 nbd_add_socket+0x168/0x840 drivers/block/nbd.c:973 __nbd_ioctl drivers/block/nbd.c:1320 [inline] nbd_ioctl+0x584/0xbe0 drivers/block/nbd.c:1387 __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:0x44a169 Code: Bad RIP value. RSP: 002b:00007fb1e4e15308 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00000000004cb508 RCX: 000000000044a169 RDX: 0000000000000004 RSI: 000000000000ab00 RDI: 0000000000000003 RBP: 00000000004cb500 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004cb50c R13: 000000000049b08c R14: 64626e2f7665642f R15: 0000000000022000 INFO: task syz-executor050:8121 blocked for more than 140 seconds. Not tainted 4.19.179-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor050 D26960 8121 8105 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 blk_queue_enter+0x66f/0xb70 block/blk-core.c:959 generic_make_request+0x3fe/0xdf0 block/blk-core.c:2404 submit_bio+0xb1/0x430 block/blk-core.c:2576 submit_bh_wbc+0x5a7/0x760 fs/buffer.c:3090 submit_bh fs/buffer.c:3096 [inline] block_read_full_page+0x7cf/0xd10 fs/buffer.c:2310 do_read_cache_page+0x533/0x1170 mm/filemap.c:2828 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/0x690 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:0x406994 Code: Bad RIP value. RSP: 002b:00007fb1e4df3e60 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000406994 RDX: 0000000000000000 RSI: 00007fb1e4df3ef0 RDI: 00000000ffffff9c RBP: 00007fb1e4df3ef0 R08: 0000000000000000 R09: 002364626e2f7665 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 000000000049b08c R14: 64626e2f7665642f R15: 0000000000022000 INFO: task syz-executor050:8122 blocked for more than 140 seconds. Not tainted 4.19.179-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor050 D29160 8122 8105 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_get+0x1d0/0x1480 fs/block_dev.c:1478 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:0x406994 Code: Bad RIP value. RSP: 002b:00007fb1e4dd2e60 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000406994 RDX: 0000000000000000 RSI: 00007fb1e4dd2ef0 RDI: 00000000ffffff9c RBP: 00007fb1e4dd2ef0 R08: 0000000000000000 R09: 002364626e2f7665 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 000000000049b08c R14: 64626e2f7665642f R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1567: #0: 0000000067ae6e13 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4440 1 lock held by in:imklog/7792: #0: 0000000050b4f35e (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 1 lock held by systemd-udevd/8114: #0: 00000000eb902899 (&bdev->bd_mutex){+.+.}, at: blkdev_put+0x30/0x520 fs/block_dev.c:1839 1 lock held by syz-executor050/8120: #0: 000000004f4c6e31 (&nbd->config_lock){+.+.}, at: nbd_ioctl+0x151/0xbe0 drivers/block/nbd.c:1380 1 lock held by syz-executor050/8121: #0: 00000000eb902899 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x1d0/0x1480 fs/block_dev.c:1478 1 lock held by syz-executor050/8122: #0: 00000000eb902899 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x1d0/0x1480 fs/block_dev.c:1478 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1567 Comm: khungtaskd Not tainted 4.19.179-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: 10 Comm: rcu_preempt Not tainted 4.19.179-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline] RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x52/0xe0 kernel/locking/spinlock.c:184 Code: 48 c7 c0 48 82 f1 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 72 48 83 3d dd ee da 01 00 74 64 48 89 df 57 9d <0f> 1f 44 00 00 e8 b4 f9 50 f9 bf 01 00 00 00 e8 3a dc 2a f9 65 8b RSP: 0018:ffff8880b5a77a68 EFLAGS: 00000086 RAX: 1ffffffff13e3049 RBX: 0000000000000086 RCX: ffffffff814bc6c0 RDX: dffffc0000000000 RSI: 0000000000000004 RDI: 0000000000000086 RBP: ffffffff8d3ce7c8 R08: 0000000000000000 R09: fffffbfff1a79cf9 R10: ffffffff8d3ce7cb R11: 0000000000000000 R12: dffffc0000000000 R13: 1ffff11016b4ef52 R14: ffff8880b5a77cc0 R15: ffffffff8d3ce7c8 FS: 0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f86d11a6000 CR3: 00000000a2132000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: debug_object_deactivate lib/debugobjects.c:568 [inline] debug_object_deactivate+0x1f9/0x2e0 lib/debugobjects.c:529 debug_timer_deactivate kernel/time/timer.c:723 [inline] debug_deactivate kernel/time/timer.c:779 [inline] detach_timer kernel/time/timer.c:824 [inline] detach_if_pending+0x82/0x460 kernel/time/timer.c:843 try_to_del_timer_sync+0xaa/0x110 kernel/time/timer.c:1240 del_timer_sync+0x1a4/0x270 kernel/time/timer.c:1305 schedule_timeout+0x4d7/0xfe0 kernel/time/timer.c:1819 rcu_gp_kthread+0xdad/0x21c0 kernel/rcu/tree.c:2202 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415