INFO: task syz-executor103:5090 blocked for more than 143 seconds.
Not tainted 6.2.0-syzkaller-12913-gae3419fbac84 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor103 state:D stack:27840 pid:5090 ppid:5077 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5304 [inline]
__schedule+0xcce/0x5b20 kernel/sched/core.c:6622
schedule+0xde/0x1a0 kernel/sched/core.c:6698
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6757
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747
nbd_start_device_ioctl drivers/block/nbd.c:1421 [inline]
__nbd_ioctl drivers/block/nbd.c:1482 [inline]
nbd_ioctl+0x315/0xcf0 drivers/block/nbd.c:1522
blkdev_ioctl+0x375/0x800 block/ioctl.c:616
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl fs/ioctl.c:856 [inline]
__x64_sys_ioctl+0x197/0x210 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f51f21fc1f9
RSP: 002b:00007f51f199a1f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f51f2280268 RCX: 00007f51f21fc1f9
RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003
RBP: 00007f51f2280260 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f51f228026c
R13: 00007ffdd167d9cf R14: 00007f51f199a300 R15: 0000000000022000
INFO: task syz-executor103:5091 blocked for more than 143 seconds.
Not tainted 6.2.0-syzkaller-12913-gae3419fbac84 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor103 state:D stack:27072 pid:5091 ppid:5077 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5304 [inline]
__schedule+0xcce/0x5b20 kernel/sched/core.c:6622
schedule+0xde/0x1a0 kernel/sched/core.c:6698
blk_mq_freeze_queue_wait+0x116/0x160 block/blk-mq.c:180
nbd_add_socket+0x168/0x960 drivers/block/nbd.c:1122
__nbd_ioctl drivers/block/nbd.c:1465 [inline]
nbd_ioctl+0x820/0xcf0 drivers/block/nbd.c:1522
blkdev_ioctl+0x375/0x800 block/ioctl.c:616
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl fs/ioctl.c:856 [inline]
__x64_sys_ioctl+0x197/0x210 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f51f21fc1f9
RSP: 002b:00007f51f19791f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f51f2280278 RCX: 00007f51f21fc1f9
RDX: 0000000000000005 RSI: 000000000000ab00 RDI: 0000000000000004
RBP: 00007f51f2280270 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f51f228027c
R13: 00007ffdd167d9cf R14: 00007f51f1979300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8c7957f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8c7954f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510
1 lock held by khungtaskd/28:
#0: ffffffff8c796340 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6495
2 locks held by getty/4752:
#0: ffff888149ff7098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177
1 lock held by udevd/5076:
#0: ffff888146c524c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb80 block/bdev.c:735
1 lock held by syz-executor103/5090:
#0: ffff88801e3229a0 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_start_device_ioctl drivers/block/nbd.c:1421 [inline]
#0: ffff88801e3229a0 (&nbd->config_lock){+.+.}-{3:3}, at: __nbd_ioctl drivers/block/nbd.c:1482 [inline]
#0: ffff88801e3229a0 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x315/0xcf0 drivers/block/nbd.c:1522
1 lock held by syz-executor103/5091:
#0: ffff88801e3229a0 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x156/0xcf0 drivers/block/nbd.c:1515
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-syzkaller-12913-gae3419fbac84 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106
nmi_cpu_backtrace+0x316/0x3e0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x33f/0x460 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xe94/0x11e0 kernel/hung_task.c:379
kthread+0x2e8/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 14 Comm: kworker/0:1 Not tainted 6.2.0-syzkaller-12913-gae3419fbac84 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023
Workqueue: events_power_efficient wg_ratelimiter_gc_entries
RIP: 0010:rcu_lockdep_current_cpu_online kernel/rcu/tree.c:4074 [inline]
RIP: 0010:rcu_lockdep_current_cpu_online+0x2c/0x140 kernel/rcu/tree.c:4066
Code: 1e fa 65 8b 15 2d af 95 7e 81 e2 00 00 f0 00 b8 01 00 00 00 75 0a 8b 15 f6 48 0a 0d 85 d2 75 01 c3 55 53 65 ff 05 0c af 95 7e 7f eb a9 08 48 c7 c3 80 d1 03 00 83 f8 07 89 c5 0f 87 e9 00 00
RSP: 0018:ffffc90000137ba0 EFLAGS: 00000286
RAX: 0000000000000001 RBX: 1ffff92000026f7c RCX: ffffffff81665df0
RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffffffff8c1199c0
RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8e785157
R10: fffffbfff1cf0a2a R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000000000 R14: ffffffff8d60c8b8 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055bbeaf212c8 CR3: 000000002663b000 CR4: 0000000000350ef0
Call Trace:
rcu_read_lock_held_common kernel/rcu/update.c:112 [inline]
rcu_read_lock_held_common kernel/rcu/update.c:102 [inline]
rcu_read_lock_sched_held+0x29/0x70 kernel/rcu/update.c:123
trace_lock_acquire include/trace/events/lock.h:24 [inline]
lock_acquire+0x537/0x670 kernel/locking/lockdep.c:5640
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:350 [inline]
wg_ratelimiter_gc_entries+0x61/0x430 drivers/net/wireguard/ratelimiter.c:63
process_one_work+0x9bf/0x1820 kernel/workqueue.c:2390
worker_thread+0x669/0x1090 kernel/workqueue.c:2537
kthread+0x2e8/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308