INFO: task syz-executor368:3643 blocked for more than 143 seconds.
Not tainted 6.0.0-rc2-syzkaller-00016-g072e51356cd5 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor368 state:D stack:26192 pid: 3643 ppid: 3633 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5182 [inline]
__schedule+0x957/0xe20 kernel/sched/core.c:6494
schedule+0xcb/0x190 kernel/sched/core.c:6570
blk_mq_freeze_queue_wait+0x105/0x190 block/blk-mq.c:180
nbd_add_socket+0x17b/0x8e0 drivers/block/nbd.c:1123
__nbd_ioctl drivers/block/nbd.c:1464 [inline]
nbd_ioctl+0x260/0xa40 drivers/block/nbd.c:1521
blkdev_ioctl+0x3a6/0x760 block/ioctl.c:614
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0xfb/0x170 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff05b619399
RSP: 002b:00007ffd9fc16508 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 000000000007580d RCX: 00007ff05b619399
RDX: 0000000000000004 RSI: 000000000000ab00 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffd9fc166a8 R09: 00007ffd9fc166a8
R10: 00007ffd9fc15f80 R11: 0000000000000246 R12: 00007ffd9fc1651c
R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8cd20970 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8cd21170 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507
1 lock held by khungtaskd/28:
#0: ffffffff8cd207a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3288:
#0: ffff888148ae0098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc90002d262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2177
1 lock held by syz-executor368/3643:
#0: ffff88801ed73998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x13e/0xa40 drivers/block/nbd.c:1514
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.0.0-rc2-syzkaller-00016-g072e51356cd5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
nmi_cpu_backtrace+0x47c/0x4b0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x169/0x280 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
watchdog+0xcd5/0xd20 kernel/hung_task.c:369
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 91 Comm: kworker/u4:4 Not tainted 6.0.0-rc2-syzkaller-00016-g072e51356cd5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:lockdep_hardirqs_on_prepare+0x1/0x7b0 kernel/locking/lockdep.c:4272
Code: ff ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 4b ff ff ff e8 d1 2a 74 00 e9 41 ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 66 90 55 <48> 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec 80 00 00
RSP: 0018:ffffc9000210f788 EFLAGS: 00000046
RAX: 0000000080000001 RBX: 00002aaaaaaac000 RCX: 0000000000000002
RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffffffff813206d4
RBP: ffffc9000210f970 R08: dffffc0000000000 R09: ffffed1002465085
R10: ffffed1002465085 R11: 1ffff11002465084 R12: ffff888012309558
R13: dffffc0000000000 R14: ffffc9000210f8c0 R15: ffffffff81dc7477
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe1a65a258 CR3: 000000000ca8e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
trace_hardirqs_on+0x34/0x40 kernel/trace/trace_preemptirq.c:49
__text_poke+0x7c4/0x9d0 arch/x86/kernel/alternative.c:1183
text_poke arch/x86/kernel/alternative.c:1208 [inline]
text_poke_bp_batch+0x6bc/0x970 arch/x86/kernel/alternative.c:1554
text_poke_flush arch/x86/kernel/alternative.c:1660 [inline]
text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1667
arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146
static_key_enable_cpuslocked+0x129/0x250 kernel/jump_label.c:177
static_key_enable+0x16/0x20 kernel/jump_label.c:190
toggle_allocation_gate+0xbf/0x470 mm/kfence/core.c:811
process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30