INFO: task syz-executor.5:27377 blocked for more than 143 seconds.
Not tainted 6.7.0-next-20240112-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:27744 pid:27377 tgid:27375 ppid:5098 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5400 [inline]
__schedule+0xf15/0x5ce0 kernel/sched/core.c:6727
__schedule_loop kernel/sched/core.c:6802 [inline]
schedule+0xe7/0x280 kernel/sched/core.c:6817
schedule_timeout+0x258/0x2a0 kernel/time/timer.c:2159
do_wait_for_common kernel/sched/completion.c:95 [inline]
__wait_for_common+0x3de/0x5f0 kernel/sched/completion.c:116
__flush_workqueue+0x3e0/0x1340 kernel/workqueue.c:3198
nbd_start_device_ioctl drivers/block/nbd.c:1447 [inline]
__nbd_ioctl drivers/block/nbd.c:1508 [inline]
nbd_ioctl+0x308/0xd60 drivers/block/nbd.c:1548
blkdev_ioctl+0x2f7/0x770 block/ioctl.c:636
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:871 [inline]
__se_sys_ioctl fs/ioctl.c:857 [inline]
__x64_sys_ioctl+0x193/0x220 fs/ioctl.c:857
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x6d/0x75
RIP: 0033:0x7fca68a7cd29
RSP: 002b:00007fca697450c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fca68babf80 RCX: 00007fca68a7cd29
RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000009
RBP: 00007fca68ac947a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fca68babf80 R15: 00007ffe73207ce8
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0: ffffffff8d7aeca0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
#0: ffffffff8d7aeca0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
#0: ffffffff8d7aeca0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614
2 locks held by kworker/u4:3/49:
2 locks held by kworker/u5:0/51:
#0: ffff8880214b5538 ((wq_completion)nbd5-recv){+.+.}-{0:0}, at: process_one_work+0x78c/0x1600 kernel/workqueue.c:2608
#1: ffffc90000bc7d80 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x7f6/0x1600 kernel/workqueue.c:2609
2 locks held by getty/4814:
#0: ffff8880313280a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201
1 lock held by syz-executor.1/5091:
#0: ffffffff8d7ba4f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline]
#0: ffffffff8d7ba4f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x6b5/0x800 kernel/rcu/tree_exp.h:996
2 locks held by kworker/u5:4/5102:
#0: ffff8880214b5538 ((wq_completion)nbd5-recv){+.+.}-{0:0}, at: process_one_work+0x78c/0x1600 kernel/workqueue.c:2608
#1: ffffc90003d5fd80 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x7f6/0x1600 kernel/workqueue.c:2609
4 locks held by syz-executor.4/5107:
1 lock held by syz-executor.3/31690:
#0: ffff8880217cf998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x151/0xd60 drivers/block/nbd.c:1541
1 lock held by syz-executor.3/31696:
#0: ffff8880217cf998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x151/0xd60 drivers/block/nbd.c:1541
1 lock held by syz-executor.3/31700:
#0: ffff8880217cf998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x151/0xd60 drivers/block/nbd.c:1541
4 locks held by syz-executor.2/31691:
#0: ffff88807c1a8e10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline]
#0: ffff88807c1a8e10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x270 net/socket.c:658
#1: ffffffff8f360030 ((netlink_chain).rwsem){++++}-{3:3}, at: blocking_notifier_call_chain kernel/notifier.c:387 [inline]
#1: ffffffff8f360030 ((netlink_chain).rwsem){++++}-{3:3}, at: blocking_notifier_call_chain+0x53/0xa0 kernel/notifier.c:376
#2: ffff88802d74ceb8 (&nft_net->commit_mutex){+.+.}-{3:3}, at: nft_rcv_nl_event+0x188/0x6a0 net/netfilter/nf_tables_api.c:11320
#3: ffffffff8d7ba4f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline]
#3: ffffffff8d7ba4f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x403/0x800 kernel/rcu/tree_exp.h:996
1 lock held by syz-executor.0/31707:
#0: ffff8880b953ccd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.7.0-next-20240112-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x29c/0x300 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+0xf86/0x1210 kernel/hung_task.c:379
kthread+0x2c1/0x3a0 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:242
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 1038 Comm: kworker/u4:5 Not tainted 6.7.0-next-20240112-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Workqueue: bat_events batadv_tt_purge
RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x1c/0x60 kernel/kcov.c:207
Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 65 48 8b 15 24 a5 77 7e 65 8b 05 25 a5 77 7e a9 00 01 ff 00 48 8b 34 24 <74> 0f f6 c4 01 74 35 8b 82 fc 15 00 00 85 c0 74 2b 8b 82 d8 15 00
RSP: 0018:ffffc900001f09a0 EFLAGS: 00000206
RAX: 0000000080000102 RBX: ffffc900001f0a28 RCX: ffffffff813c0785
RDX: ffff88802376bb80 RSI: ffffffff813c0860 RDI: ffffffff90d8eb50
RBP: 0000000000000001 R08: 0000000000000004 R09: 000000000000585c
R10: 00000000000a0000 R11: 0000000000000003 R12: ffffffff81585c96
R13: ffffffff9027d84e R14: 0000000000012ac7 R15: ffffc900001f0a5d
FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe92b700ee4 CR3: 000000001e8dc000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
orc_find arch/x86/kernel/unwind_orc.c:227 [inline]
unwind_next_frame+0x310/0x2390 arch/x86/kernel/unwind_orc.c:494
arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122
kasan_save_stack+0x33/0x60 mm/kasan/common.c:47
kasan_save_track+0x14/0x30 mm/kasan/common.c:68
kasan_save_free_info+0x3f/0x60 mm/kasan/generic.c:640
poison_slab_object mm/kasan/common.c:241 [inline]
__kasan_slab_free+0x121/0x1c0 mm/kasan/common.c:257
kasan_slab_free include/linux/kasan.h:184 [inline]
slab_free_hook mm/slub.c:2121 [inline]
slab_free mm/slub.c:4299 [inline]
kmem_cache_free+0x12e/0x360 mm/slub.c:4363
rcu_do_batch kernel/rcu/tree.c:2158 [inline]
rcu_core+0x828/0x16b0 kernel/rcu/tree.c:2433
__do_softirq+0x218/0x8de kernel/softirq.c:553
do_softirq kernel/softirq.c:454 [inline]
do_softirq+0xb2/0xf0 kernel/softirq.c:441
__local_bh_enable_ip+0x100/0x120 kernel/softirq.c:381
spin_unlock_bh include/linux/spinlock.h:396 [inline]
batadv_tt_local_purge+0x21c/0x3c0 net/batman-adv/translation-table.c:1356
batadv_tt_purge+0x8b/0xbb0 net/batman-adv/translation-table.c:3560
process_one_work+0x8a7/0x1600 kernel/workqueue.c:2633
process_scheduled_works kernel/workqueue.c:2706 [inline]
worker_thread+0x8b6/0x1290 kernel/workqueue.c:2787
kthread+0x2c1/0x3a0 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:242