INFO: task
INFO: task syz.2.664:8422 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.664       state:D stack:24600 pid:8422  tgid:8421  ppid:5613   task_flags:0x480140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17dd/0x5830
 schedule+0x164/0x2b0
 blk_mq_freeze_queue_wait+0xfc/0x180
 queue_limits_commit_update_frozen+0x55/0xd0
 nbd_set_size+0x4c5/0x7d0
 nbd_genl_reconfigure+0x7e1/0x1040
 genl_family_rcv_msg_doit+0x233/0x340
 genl_rcv_msg+0x614/0x7a0
 netlink_rcv_skb+0x226/0x4a0
 genl_rcv+0x28/0x40
 netlink_unicast+0x8ef/0xa80
 netlink_sendmsg+0x7f0/0xb20
 sock_sendmsg_nosec+0x14e/0x190
 ____sys_sendmsg+0x54e/0x850
 ___sys_sendmsg+0x2a5/0x360
 __x64_sys_sendmsg+0x1b1/0x290
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f49c8f9fb19
RSP: 002b:00007f49c71f6028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f49c9225fa0 RCX: 00007f49c8f9fb19
RDX: 0000000000004004 RSI: 0000200000000400 RDI: 000000000000000b
RBP: 00007f49c9037b70 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f49c9226038 R14: 00007f49c9225fa0 R15: 00007fff0bcd9418
 </TASK>
INFO: task syz.2.664:8427 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.664       state:D stack:26528 pid:8427  tgid:8421  ppid:5613   task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17dd/0x5830
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7c4/0x15a0
 genl_rcv_msg+0x10b/0x7a0
 netlink_rcv_skb+0x226/0x4a0
 genl_rcv+0x28/0x40
 netlink_unicast+0x8ef/0xa80
 netlink_sendmsg+0x7f0/0xb20
 sock_sendmsg_nosec+0x14e/0x190
 __sys_sendto+0x408/0x5a0
 __x64_sys_sendto+0xde/0x100
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f49c8f6034e
RSP: 002b:00007f49c71d3e88 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f49c71d56c0 RCX: 00007f49c8f6034e
RDX: 0000000000000024 RSI: 00007f49c71d4000 RDI: 0000000000000009
RBP: 0000000000000000 R08: 00007f49c71d3f04 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000009
R13: 00007f49c71d3f58 R14: 00007f49c71d4000 R15: 0000000000000000
 </TASK>
INFO: task syz.2.664:8428 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.664       state:D stack:25472 pid:8428  tgid:8421  ppid:5613   task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17dd/0x5830
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7c4/0x15a0
 genl_rcv_msg+0x10b/0x7a0
 netlink_rcv_skb+0x226/0x4a0
 genl_rcv+0x28/0x40
 netlink_unicast+0x8ef/0xa80
 netlink_sendmsg+0x7f0/0xb20
 sock_sendmsg_nosec+0x14e/0x190
 __sys_sendto+0x408/0x5a0
 __x64_sys_sendto+0xde/0x100
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f49c8f6034e
RSP: 002b:00007f49c71b2e88 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f49c71b46c0 RCX: 00007f49c8f6034e
RDX: 000000000000001c RSI: 00007f49c71b3000 RDI: 000000000000000b
RBP: 0000000000000000 R08: 00007f49c71b2f04 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000000b
R13: 00007f49c71b2f58 R14: 00007f49c71b3000 R15: 0000000000000000
 </TASK>
INFO: task syz.0.669:8447 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.669       state:D stack:27840 pid:8447  tgid:8446  ppid:5617   task_flags:0x400040 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17dd/0x5830
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7c4/0x15a0
 genl_rcv_msg+0x10b/0x7a0
 netlink_rcv_skb+0x226/0x4a0
 genl_rcv+0x28/0x40
 netlink_unicast+0x8ef/0xa80
 netlink_sendmsg+0x7f0/0xb20
 sock_sendmsg_nosec+0x14e/0x190
 __sys_sendto+0x408/0x5a0
 __x64_sys_sendto+0xde/0x100
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f4c6e56034e
RSP: 002b:00007f4c6f467e88 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f4c6f4696c0 RCX: 00007f4c6e56034e
RDX: 0000000000000020 RSI: 00007f4c6f468000 RDI: 0000000000000004
RBP: 0000000000000000 R08: 00007f4c6f467f04 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 00007f4c6f467f58 R14: 00007f4c6f468000 R15: 0000000000000000
 </TASK>
INFO: task syz.0.669:8450 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.669       state:D stack:25096 pid:8450  tgid:8446  ppid:5617   task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17dd/0x5830
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7c4/0x15a0
 genl_rcv_msg+0x10b/0x7a0
 netlink_rcv_skb+0x226/0x4a0
 genl_rcv+0x28/0x40
 netlink_unicast+0x8ef/0xa80
 netlink_sendmsg+0x7f0/0xb20
 sock_sendmsg_nosec+0x14e/0x190
 __sys_sendto+0x408/0x5a0
 __x64_sys_sendto+0xde/0x100
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f4c6e56034e
RSP: 002b:00007f4c6f404e88 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f4c6f4066c0 RCX: 00007f4c6e56034e
RDX: 0000000000000024 RSI: 00007f4c6f405000 RDI: 000000000000000e
RBP: 0000000000000000 R08: 00007f4c6f404f04 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000000e
R13: 00007f4c6f404f58 R14: 00007f4c6f405000 R15: 0000000000000000
 </TASK>
INFO: task syz.1.672:8464 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.672       state:D stack:27840 pid:8464  tgid:8462  ppid:5608   task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17dd/0x5830
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7c4/0x15a0
 genl_rcv_msg+0x10b/0x7a0
 netlink_rcv_skb+0x226/0x4a0
 genl_rcv+0x28/0x40
 netlink_unicast+0x8ef/0xa80
 netlink_sendmsg+0x7f0/0xb20
 sock_sendmsg_nosec+0x14e/0x190
 __sys_sendto+0x408/0x5a0
 __x64_sys_sendto+0xde/0x100
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f895596034e
RSP: 002b:00007f895692fe88 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f89569316c0 RCX: 00007f895596034e
RDX: 0000000000000020 RSI: 00007f8956930000 RDI: 0000000000000006
RBP: 0000000000000000 R08: 00007f895692ff04 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006
R13: 00007f895692ff58 R14: 00007f8956930000 R15: 0000000000000000
 </TASK>

Showing all locks held in the system:
locks held by khungtaskd/35: 1, last CPU#0:
 #0: ffffffff8ff5a320 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
locks held by getty/5439: 2, on CPU#1:
 #0: ffff8881750f50a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900034a32e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360
locks held by udevd/7946: 1, on CPU#0:
 #0: ffff88816c9f1350 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xde/0xd70
locks held by syz.2.664/8422: 6, on CPU#0:
 #0: ffffffff914f05e8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff914f0420 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0
 #2: ffff88816beb9a18 (&nbd->config_lock){+.+.}-{4:4}, at: nbd_genl_reconfigure+0x4a6/0x1040
 #3: ffff88816c9e47c8 (&q->limits_lock){+.+.}-{4:4}, at: nbd_set_size+0x284/0x7d0
 #4: ffff88816c9e4190 (&q->q_usage_counter(io)#49){++++}-{0:0}, at: queue_limits_commit_update_frozen+0x55/0xd0
 #5: ffff88816c9e41c8 (&q->q_usage_counter(queue)#33){+.+.}-{0:0}, at: queue_limits_commit_update_frozen+0x55/0xd0
locks held by syz.2.664/8427: 2, on CPU#0:
 #0: ffffffff914f05e8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff914f0420 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0
locks held by syz.2.664/8428: 2, on CPU#0:
 #0: ffffffff914f05e8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff914f0420 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0
locks held by syz.0.669/8447: 2, on CPU#0:
 #0: ffffffff914f05e8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff914f0420 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0
locks held by syz.0.669/8450: 2, on CPU#0:
 #0: ffffffff914f05e8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff914f0420 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0
locks held by syz.1.672/8464: 2, on CPU#0:
 #0: ffffffff914f05e8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff914f0420 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0
locks held by syz-executor/8472: 2, on CPU#1:
 #0: ffffffff914f05e8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff914f0420 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0
locks held by syz-executor/8493: 2, on CPU#0:
 #0: ffffffff914f05e8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff914f0420 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0
locks held by syz-executor/8511: 2, on CPU#1:
 #0: ffffffff914f05e8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff914f0420 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0
locks held by syz-executor/8529: 2, on CPU#1:
 #0: ffffffff914f05e8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff914f0420 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0
locks held by syz-executor/8547: 2, on CPU#1:
 #0: ffffffff914f05e8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff914f0420 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0
locks held by syz-executor/8565: 2, on CPU#0:
 #0: ffffffff914f05e8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff914f0420 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0
locks held by syz-executor/8588: 2, on CPU#0:
 #0: ffffffff914f05e8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff914f0420 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0
locks held by syz-executor/8606: 2, on CPU#1:
 #0: ffffffff914f05e8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff914f0420 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0
locks held by syz-executor/8624: 2, on CPU#1:
 #0: ffffffff914f05e8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff914f0420 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0

=============================================

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 35 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150
 nmi_cpu_backtrace+0x274/0x2d0
 nmi_trigger_cpumask_backtrace+0x17d/0x390
 sys_info+0x135/0x170
 watchdog+0x1073/0x10f0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:__lock_acquire+0x3b7/0x2de0
Code: 24 c1 e2 0f 0f b7 d2 09 f2 8b 74 24 28 83 e6 03 c1 e6 10 09 d6 8b 54 24 40 c1 e2 13 41 c1 e4 15 41 09 d4 8b 54 24 10 83 e2 01 <c1> e2 12 09 f2 c1 e3 14 09 da 48 c1 e5 20 49 09 ec 48 c1 e7 38 49
RSP: 0018:ffffc90000a08520 EFLAGS: 00000046
RAX: 000000000000000f RBX: 0000000000000000 RCX: 0000000000000007
RDX: 0000000000000000 RSI: 0000000000022000 RDI: 00000000005a4342
RBP: 0000000000000000 R08: ffffffff817879cf R09: 0000000000000001
R10: ffffc90000a08858 R11: fffff5200014110d R12: 0000000000080000
R13: ffff888160468bb0 R14: 0000000000000003 R15: ffff888160468000
FS:  0000000000000000(0000) GS:ffff8882a7a1f000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005560086b4c08 CR3: 000000000fd48000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 lock_acquire+0x115/0x350
 unwind_next_frame+0xac/0x2550
 __unwind_start+0x514/0x660
 arch_stack_walk+0xe3/0x150
 stack_trace_save+0xa9/0x100
 kasan_save_stack+0x3e/0x60
 kasan_record_aux_stack+0xbd/0xd0
 insert_work+0x3d/0x330
 __queue_work+0xbe8/0x1360
 call_timer_fn+0x18d/0x5f0
 __run_timer_base+0x67e/0x8b0
 run_timer_softirq+0xb7/0x170
 handle_softirqs+0x265/0x8d0
 __irq_exit_rcu+0xc6/0x220
 irq_exit_rcu+0x9/0x30
 sysvec_apic_timer_interrupt+0xa6/0xc0
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:pv_native_safe_halt+0xf/0x20
Code: 8b 94 02 c3 cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 43 9a 26 00 fb f4 <e9> 3c 17 03 00 cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90
RSP: 0018:ffffc90000197e40 EFLAGS: 00000202
RAX: 0000000000198767 RBX: ffffffff819c9e60 RCX: 8000000000000001
RDX: 0000000000000001 RSI: ffffffff8e6a20fc RDI: ffffffff8c8e8c80
RBP: ffffc90000197f10 R08: ffff88823c633d9b R09: 1ffff110478c67b3
R10: dffffc0000000000 R11: ffffed10478c67b4 R12: 0000000000000000
R13: 1ffff1102c08d000 R14: 1ffff92000032fd0 R15: dffffc0000000000
 default_idle+0x9/0x20
 default_idle_call+0x72/0xb0
 do_idle+0x2e0/0x540
 cpu_startup_entry+0x43/0x60
 start_secondary+0x101/0x110
 common_startup_64+0x13e/0x157
 </TASK>
