INFO: task syz.0.1850:10084 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.1850      state:D stack:26376 pid:10084 tgid:10083 ppid:5612   task_flags:0x480140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17d9/0x56c0
 schedule+0x164/0x2b0
 blk_mq_freeze_queue_wait+0x101/0x180
 queue_limits_commit_update_frozen+0x55/0xd0
 nbd_set_size+0x454/0x680
 nbd_genl_reconfigure+0x7e9/0x1e80
 genl_family_rcv_msg_doit+0x233/0x340
 genl_rcv_msg+0x614/0x7a0
 netlink_rcv_skb+0x226/0x4a0
 genl_rcv+0x28/0x40
 netlink_unicast+0x7bb/0x940
 netlink_sendmsg+0x813/0xb40
 sock_sendmsg_nosec+0x13a/0x180
 ____sys_sendmsg+0x54e/0x850
 ___sys_sendmsg+0x2a5/0x360
 __x64_sys_sendmsg+0x1b1/0x290
 do_syscall_64+0x174/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe0e5f9ce59
RSP: 002b:00007fe0e6eed028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fe0e6215fa0 RCX: 00007fe0e5f9ce59
RDX: 0000000000014840 RSI: 0000200000000240 RDI: 0000000000000004
RBP: 00007fe0e6032e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe0e6216038 R14: 00007fe0e6215fa0 R15: 00007fff621e9318
 </TASK>
INFO: task syz.2.1856:10096 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.1856      state:D stack:26040 pid:10096 tgid:10095 ppid:5620   task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17d9/0x56c0
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7bf/0x1550
 genl_rcv_msg+0x10b/0x7a0
 netlink_rcv_skb+0x226/0x4a0
 genl_rcv+0x28/0x40
 netlink_unicast+0x7bb/0x940
 netlink_sendmsg+0x813/0xb40
 sock_sendmsg_nosec+0x13a/0x180
 ____sys_sendmsg+0x54e/0x850
 ___sys_sendmsg+0x2a5/0x360
 __x64_sys_sendmsg+0x1b1/0x290
 do_syscall_64+0x174/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe09ab9ce59
RSP: 002b:00007fe098df6028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fe09ae15fa0 RCX: 00007fe09ab9ce59
RDX: 0000000000000000 RSI: 00002000000001c0 RDI: 0000000000000004
RBP: 00007fe09ac32e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe09ae16038 R14: 00007fe09ae15fa0 R15: 00007ffc71acb008
 </TASK>
INFO: task syz.1.1862:10108 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.1862      state:D stack:27872 pid:10108 tgid:10107 ppid:5608   task_flags:0x400040 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17d9/0x56c0
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7bf/0x1550
 genl_rcv_msg+0x10b/0x7a0
 netlink_rcv_skb+0x226/0x4a0
 genl_rcv+0x28/0x40
 netlink_unicast+0x7bb/0x940
 netlink_sendmsg+0x813/0xb40
 sock_sendmsg_nosec+0x13a/0x180
 __sys_sendto+0x408/0x5a0
 __x64_sys_sendto+0xde/0x100
 do_syscall_64+0x174/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f19bdb5d68e
RSP: 002b:00007f19beb3ae88 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f19beb3c6c0 RCX: 00007f19bdb5d68e
RDX: 0000000000000020 RSI: 00007f19beb3b000 RDI: 0000000000000004
RBP: 0000000000000000 R08: 00007f19beb3af04 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 00007f19beb3af58 R14: 00007f19beb3b000 R15: 0000000000000000
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/34:
 #0: ffffffff8e959c60 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by getty/5434:
 #0: ffff888102aa90a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900034732e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360
1 lock held by udevd/5618:
 #0: ffff88816dd40350 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xde/0xd70
6 locks held by syz.0.1850/10084:
 #0: ffffffff8fe5dbe8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8fe5da20 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0
 #2: ffff88816dc82a60 (&nbd->config_lock){+.+.}-{4:4}, at: nbd_genl_reconfigure+0x4bc/0x1e80
 #3: ffff88816dd3c7c8 (&q->limits_lock){+.+.}-{4:4}, at: nbd_set_size+0x263/0x680
 #4: ffff88816dd3c190 (&q->q_usage_counter(io)#49){++++}-{0:0}, at: queue_limits_commit_update_frozen+0x55/0xd0
 #5: ffff88816dd3c1c8 (&q->q_usage_counter(queue)#33){+.+.}-{0:0}, at: queue_limits_commit_update_frozen+0x55/0xd0
2 locks held by syz.2.1856/10096:
 #0: ffffffff8fe5dbe8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8fe5da20 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0
2 locks held by syz.1.1862/10108:
 #0: ffffffff8fe5dbe8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8fe5da20 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0
2 locks held by syz-executor/10111:
 #0: ffffffff8fe5dbe8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8fe5da20 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0
2 locks held by syz-executor/10119:
 #0: ffffffff8fe5dbe8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8fe5da20 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0
2 locks held by syz-executor/10123:
 #0: ffffffff8fe5dbe8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8fe5da20 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0
2 locks held by syz-executor/10168:
 #0: ffffffff8fe5dbe8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8fe5da20 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0
2 locks held by syz-executor/10172:
 #0: ffffffff8fe5dbe8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8fe5da20 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0
2 locks held by syz-executor/10193:
 #0: ffffffff8fe5dbe8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8fe5da20 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0
2 locks held by syz-executor/10226:
 #0: ffffffff8fe5dbe8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8fe5da20 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0
2 locks held by syz-executor/10232:
 #0: ffffffff8fe5dbe8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8fe5da20 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0
2 locks held by syz-executor/10242:
 #0: ffffffff8fe5dbe8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8fe5da20 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0

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

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 34 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+0x17a/0x380
 sys_info+0x135/0x170
 watchdog+0xfd7/0x1030
 kthread+0x388/0x470
 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: 6176 Comm: kworker/u9:4 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
Workqueue: events_unbound nsim_dev_trap_report_work
RIP: 0010:native_apic_msr_write+0x39/0x50
Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 e9 40 78 43 0a cc 89 f6 31 d2 e9 f6 e6 81 03 66 0f 1f 44 00
RSP: 0018:ffffc90000a08cb0 EFLAGS: 00000046
RAX: 00000000000002ef RBX: ffff88823c623c80 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 00000000000002ef RDI: 0000000000000838
RBP: ffffc90000a08d80 R08: ffffffff81b358d5 R09: 0000000000080000
R10: 0000000000000000 R11: ffffffff81743530 R12: 00000000000002ef
R13: dffffc0000000000 R14: 0000000010000863 R15: 0000000000000020
FS:  0000000000000000(0000) GS:ffff8882a921b000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe4f981a4a0 CR3: 000000000e746000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 lapic_next_event+0x11/0x20
 clockevents_program_event+0x385/0x630
 __hrtimer_rearm_deferred+0x26c/0x420
 irqentry_exit+0x8b7/0x8f0
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:__qdisc_run+0x5/0x1620
Code: 5b 41 5e 41 5f c3 cc cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 40 d6 55 <41> 57 41 56 41 55 41 54 53 48 81 ec b0 00 00 00 48 89 fd 48 bb 00
RSP: 0018:ffffc90000a08ed0 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 1ffff11037ba5c36 RCX: ffff888012748000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: ffff8881bdd2e000
RBP: ffff8881bdd2e010 R08: ffff8881bdd2e19f R09: 1ffff11037ba5c33
R10: dffffc0000000000 R11: ffffed1037ba5c34 R12: ffff8881bdd2e158
R13: 1ffff11037ba5c02 R14: ffff8881bdd2e1b0 R15: ffff8881bdd2e000
 net_tx_action+0x7cb/0xc30
 handle_softirqs+0x225/0x840
 __irq_exit_rcu+0xca/0x220
 irq_exit_rcu+0x9/0x30
 sysvec_apic_timer_interrupt+0xa6/0xc0
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:__sanitizer_cov_trace_pc+0x36/0x70
Code: b8 ed 79 11 65 8b 15 d9 ed 79 11 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 35 83 b9 24 17 00 00 00 74 2c 8b 91 f8 16 00 00 <83> fa 02 75 21 48 8b 91 00 17 00 00 48 8b 32 48 8d 7e 01 8b 89 fc
RSP: 0018:ffffc90007e3f9d0 EFLAGS: 00000246
RAX: ffffffff897ffb2d RBX: ffff88811c1e4180 RCX: ffff888012748000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff88811c1e4180 R08: ffffffff903306f7 R09: 1ffffffff20660de
R10: dffffc0000000000 R11: fffffbfff20660df R12: dffffc0000000000
R13: 1ffff1102383c83d R14: ffff88811c1e41e8 R15: 0000000000000000
 skb_release_head_state+0x1cd/0x360
 __kfree_skb+0x24/0x210
 nsim_dev_trap_report_work+0x7ac/0xb40
 process_scheduled_works+0xa8e/0x14e0
 worker_thread+0xa47/0xfb0
 kthread+0x388/0x470
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
