INFO: task syz-executor.4:12184 blocked for more than 143 seconds.
Not tainted 6.8.0-rc3-next-20240208-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D
stack:27384 pid:12184 tgid:12169 ppid:5117 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5400 [inline]
__schedule+0x17df/0x4a40 kernel/sched/core.c:6727
__schedule_loop kernel/sched/core.c:6804 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6819
schedule_timeout+0xb0/0x310 kernel/time/timer.c:2159
do_wait_for_common kernel/sched/completion.c:95 [inline]
__wait_for_common kernel/sched/completion.c:116 [inline]
wait_for_common kernel/sched/completion.c:127 [inline]
wait_for_completion+0x355/0x620 kernel/sched/completion.c:148
__flush_workqueue+0x7d3/0x1710 kernel/workqueue.c:3763
nbd_start_device_ioctl drivers/block/nbd.c:1443 [inline]
__nbd_ioctl drivers/block/nbd.c:1504 [inline]
nbd_ioctl+0xbd1/0xf40 drivers/block/nbd.c:1544
blkdev_ioctl+0x5e5/0x740 block/ioctl.c:633
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:871 [inline]
__se_sys_ioctl+0xfc/0x170 fs/ioctl.c:857
do_syscall_64+0xfb/0x240
entry_SYSCALL_64_after_hwframe+0x6d/0x75
RIP: 0033:0x7f5fb4a7dda9
RSP: 002b:00007f5fb57eb0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f5fb4babf80 RCX: 00007f5fb4a7dda9
RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000006
RBP: 00007f5fb4aca47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f5fb4babf80 R15: 00007fff3b5aea48
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0: ffffffff8e1314e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
#0: ffffffff8e1314e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
#0: ffffffff8e1314e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
2 locks held by getty/4829:
#0: ffff88802f08a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201
2 locks held by kworker/u8:1/5166:
#0: ffff8880b943cf58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559
#1: ffff8880b9428948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988
2 locks held by kworker/u9:1/18493:
#0: ffff88801fe86148 ((wq_completion)nbd4-recv){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3077 [inline]
#0: ffff88801fe86148 ((wq_completion)nbd4-recv){+.+.}-{0:0}, at: process_scheduled_works+0x8e1/0x1730 kernel/workqueue.c:3182
#1: ffffc9001767fd00 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3077 [inline]
#1: ffffc9001767fd00 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8e1/0x1730 kernel/workqueue.c:3182
5 locks held by kworker/u8:2/11251:
2 locks held by syz-executor.0/30647:
#0: ffff88803ac6d010 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}
, at: inode_lock include/linux/fs.h:802 [inline]
, at: __sock_release net/socket.c:658 [inline]
, at: sock_close+0x90/0x240 net/socket.c:1421
#1:
ffffffff8e136878
(rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline]
(rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x39a/0x820 kernel/rcu/tree_exp.h:939
1 lock held by syz-executor.1/30650:
#0: ffff88801fcf0198 (&nbd->config_lock
){+.+.}-{3:3}
, at: nbd_ioctl+0x13c/0xf40 drivers/block/nbd.c:1537
1 lock held by syz-executor.4/30672:
1 lock held by syz-executor.4/30702:
#0: ffff88801fe984c8 (
&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xdc/0xc90 block/bdev.c:862
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc3-next-20240208-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xfb0/0xff0 kernel/hung_task.c:379
kthread+0x2f0/0x390 kernel/kthread.c:388
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:242
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 13616 Comm: kworker/0:3 Not tainted 6.8.0-rc3-next-20240208-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Workqueue: events_power_efficient wg_ratelimiter_gc_entries
RIP: 0010:__raw_spin_lock include/linux/spinlock_api_smp.h:134 [inline]
RIP: 0010:_raw_spin_lock+0x32/0x40 kernel/locking/spinlock.c:154
Code: bf 01 00 00 00 e8 1e 59 ec f5 48 8d 7b 18 31 f6 31 d2 31 c9 41 b8 01 00 00 00 45 31 c9 ff 74 24 08 e8 c2 07 f9 f5 48 83 c4 08 <48> 89 df 5b e9 65 68 fa f5 0f 1f 44 00 00 90 90 90 90 90 90 90 90
RSP: 0018:ffffc9001498fb58 EFLAGS: 00000282
RAX: f845cbc8a36dc100 RBX: ffffffff8eba18e0 RCX: 0000000000000001
RDX: dffffc0000000000 RSI: ffffffff8baac9e0 RDI: ffffffff8bfe7f40
RBP: ffffc9001498fdc0 R08: ffffffff92cb057f R09: 1ffffffff25960af
R10: dffffc0000000000 R11: fffffbfff25960b0 R12: 0000000000000000
R13: dffffc0000000000 R14: 000003294439310a R15: ffffffff8eba1a00
FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2172b7efe0 CR3: 0000000029c0e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
spin_lock include/linux/spinlock.h:351 [inline]
wg_ratelimiter_gc_entries+0x60/0x470 drivers/net/wireguard/ratelimiter.c:63
process_one_work kernel/workqueue.c:3102 [inline]
process_scheduled_works+0x9d7/0x1730 kernel/workqueue.c:3182
worker_thread+0x86d/0xd70 kernel/workqueue.c:3263
kthread+0x2f0/0x390 kernel/kthread.c:388
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:242