INFO: task syz-executor.0:13217 can't die for more than 143 seconds. task:syz-executor.0 state:D stack:28128 pid:13217 ppid: 6694 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5000 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6309 schedule+0xd2/0x1f0 kernel/sched/core.c:6381 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6440 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 nbd_ioctl+0x151/0xb10 drivers/block/nbd.c:1504 blkdev_ioctl+0x37a/0x800 block/ioctl.c:588 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f4d1aedf059 RSP: 002b:00007f4d19e33168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f4d1aff2030 RCX: 00007f4d1aedf059 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000004 RBP: 00007f4d1af3908d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe93b791af R14: 00007f4d19e33300 R15: 0000000000022000 INFO: task syz-executor.0:13217 blocked for more than 143 seconds. Not tainted 5.17.0-rc2-next-20220204-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28128 pid:13217 ppid: 6694 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5000 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6309 schedule+0xd2/0x1f0 kernel/sched/core.c:6381 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6440 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 nbd_ioctl+0x151/0xb10 drivers/block/nbd.c:1504 blkdev_ioctl+0x37a/0x800 block/ioctl.c:588 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f4d1aedf059 RSP: 002b:00007f4d19e33168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f4d1aff2030 RCX: 00007f4d1aedf059 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000004 RBP: 00007f4d1af3908d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe93b791af R14: 00007f4d19e33300 R15: 0000000000022000 INFO: task syz-executor.0:13220 can't die for more than 143 seconds. task:syz-executor.0 state:D stack:29592 pid:13220 ppid: 6694 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5000 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6309 schedule+0xd2/0x1f0 kernel/sched/core.c:6381 blk_mq_freeze_queue_wait+0x112/0x160 block/blk-mq.c:178 nbd_add_socket+0x166/0x810 drivers/block/nbd.c:1109 __nbd_ioctl drivers/block/nbd.c:1454 [inline] nbd_ioctl+0x38c/0xb10 drivers/block/nbd.c:1511 blkdev_ioctl+0x37a/0x800 block/ioctl.c:588 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f4d1aedf059 RSP: 002b:00007f4d19e12168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f4d1aff2100 RCX: 00007f4d1aedf059 RDX: 0000000000000005 RSI: 000000000000ab00 RDI: 000000000000000f RBP: 00007f4d1af3908d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe93b791af R14: 00007f4d19e12300 R15: 0000000000022000 INFO: task syz-executor.0:13220 blocked for more than 144 seconds. Not tainted 5.17.0-rc2-next-20220204-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:29592 pid:13220 ppid: 6694 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5000 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6309 schedule+0xd2/0x1f0 kernel/sched/core.c:6381 blk_mq_freeze_queue_wait+0x112/0x160 block/blk-mq.c:178 nbd_add_socket+0x166/0x810 drivers/block/nbd.c:1109 __nbd_ioctl drivers/block/nbd.c:1454 [inline] nbd_ioctl+0x38c/0xb10 drivers/block/nbd.c:1511 blkdev_ioctl+0x37a/0x800 block/ioctl.c:588 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f4d1aedf059 RSP: 002b:00007f4d19e12168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f4d1aff2100 RCX: 00007f4d1aedf059 RDX: 0000000000000005 RSI: 000000000000ab00 RDI: 000000000000000f RBP: 00007f4d1af3908d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe93b791af R14: 00007f4d19e12300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8bb83a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6463 2 locks held by getty/3270: #0: ffff888022e81098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b662e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2077 1 lock held by udevd/4186: #0: ffff88801115b748 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:832 [inline] #0: ffff88801115b748 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: filemap_update_page mm/filemap.c:2468 [inline] #0: ffff88801115b748 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: filemap_get_pages+0x794/0x17c0 mm/filemap.c:2613 1 lock held by syz-executor.0/13217: #0: ffff88801ab0f198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x151/0xb10 drivers/block/nbd.c:1504 1 lock held by syz-executor.0/13220: #0: ffff88801ab0f198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x151/0xb10 drivers/block/nbd.c:1504 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 26 Comm: khungtaskd Not tainted 5.17.0-rc2-next-20220204-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:256 [inline] watchdog+0xcb7/0xed0 kernel/hung_task.c:413 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 14 Comm: rcu_preempt Not tainted 5.17.0-rc2-next-20220204-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:preempt_count_add+0x8/0x140 kernel/sched/core.c:5456 Code: 06 00 48 89 ef e8 c8 61 07 00 48 89 ee 48 8b 3d 3e 17 44 0c 5d e9 68 54 73 00 0f 1f 84 00 00 00 00 00 48 c7 c0 40 f9 34 90 55 <48> ba 00 00 00 00 00 fc ff df 48 89 c1 53 83 e0 07 89 fb 48 c1 e9 RSP: 0018:ffffc90000d37ab8 EFLAGS: 00000093 RAX: ffffffff9034f940 RBX: ffff8880b9d39e58 RCX: 0000000000000000 RDX: ffff8880118d9d40 RSI: ffffffff83e9279d RDI: 0000000000000001 RBP: ffff8880118d9d40 R08: 0000000000000001 R09: 0000000000000003 R10: fffff520001a6f52 R11: 0000000000000000 R12: ffffed100231b4f4 R13: ffff8880118da7a8 R14: ffff8880118da7a8 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f80731b0600 CR3: 000000000b88e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: prandom_u32+0x17/0x470 lib/random32.c:387 __lock_pin_lock kernel/locking/lockdep.c:5409 [inline] lock_pin_lock+0x1a3/0x2c0 kernel/locking/lockdep.c:5703 rq_pin_lock kernel/sched/sched.h:1539 [inline] rq_lock kernel/sched/sched.h:1617 [inline] __schedule+0x291/0x4db0 kernel/sched/core.c:6223 schedule+0xd2/0x1f0 kernel/sched/core.c:6381 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881 rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1972 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2145 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 00 48 89 add %cl,-0x77(%rax) 3: ef out %eax,(%dx) 4: e8 c8 61 07 00 callq 0x761d1 9: 48 89 ee mov %rbp,%rsi c: 48 8b 3d 3e 17 44 0c mov 0xc44173e(%rip),%rdi # 0xc441751 13: 5d pop %rbp 14: e9 68 54 73 00 jmpq 0x735481 19: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 20: 00 21: 48 c7 c0 40 f9 34 90 mov $0xffffffff9034f940,%rax 28: 55 push %rbp * 29: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx <-- trapping instruction 30: fc ff df 33: 48 89 c1 mov %rax,%rcx 36: 53 push %rbx 37: 83 e0 07 and $0x7,%eax 3a: 89 fb mov %edi,%ebx 3c: 48 rex.W 3d: c1 .byte 0xc1 3e: e9 .byte 0xe9