INFO: task kworker/u4:3:22291 blocked for more than 155 seconds.
Not tainted 6.4.0-rc1-syzkaller-00011-g1dc3731daf1f #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:3 state:D stack:27008 pid:22291 ppid:2 flags:0x00004000
Workqueue: events_unbound io_ring_exit_work
Call Trace:
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0xc9a/0x5880 kernel/sched/core.c:6669
schedule+0xde/0x1a0 kernel/sched/core.c:6745
schedule_timeout+0x276/0x2b0 kernel/time/timer.c:2143
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common+0x1ce/0x5c0 kernel/sched/completion.c:106
io_ring_exit_work+0x51d/0x14b0 io_uring/io_uring.c:3077
process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405
worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552
kthread+0x344/0x440 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8c798430 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}
, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8c798130
(
rcu_tasks_trace.tasks_gp_mutex
){+.+.}-{3:3}
, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518
10 locks held by ksoftirqd/0/15:
1 lock held by khungtaskd/28:
#0:
ffffffff8c799040 (
rcu_read_lock
){....}-{1:2}
, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6545
2 locks held by getty/4760:
#0:
ffff88814b039098
(&tty->ldisc_sem
){++++}-{0:0}
, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243
#1:
ffffc900015b02f0
(&ldata->atomic_read_lock
){+.+.}-{3:3}
, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2176
2 locks held by kworker/0:5/20475:
2 locks held by kworker/u4:3/22291:
#0:
ffff888012479138
(
(wq_completion)events_unbound){+.+.}-{0:0}
, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline]
, at: set_work_data kernel/workqueue.c:643 [inline]
, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline]
, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2376
#1:
ffffc90005e17db0
(
(work_completion)(&ctx->exit_work)
){+.+.}-{0:0}
, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2380
2 locks held by syz-executor.5/25823:
#0:
ffffffff8e100ed0
(
pernet_ops_rwsem
){++++}-{3:3}
, at: copy_net_ns+0x4cb/0x8e0 net/core/net_namespace.c:487
#1:
ffffffff8c7a4380
(rcu_state.barrier_mutex
){+.+.}-{3:3}
, at: rcu_barrier+0x48/0x6a0 kernel/rcu/tree.c:3961
7 locks held by syz-executor.5/25876:
#0: ffff88802bf20460 (sb_writers#8){.+.+}-{0:0}
, at: ksys_write+0x12b/0x250 fs/read_write.c:637
#1:
ffff88805c302088 (&of->mutex){+.+.}-{3:3}
, at: kernfs_fop_write_iter+0x285/0x600 fs/kernfs/file.c:325
#2: ffff8881423e81d8 (kn->active#51){.+.+}-{0:0}
, at: kernfs_fop_write_iter+0x2a9/0x600 fs/kernfs/file.c:326
#3: ffffffff8d7f96a8
(nsim_bus_dev_list_lock){+.+.}-{3:3}
, at: del_device_store+0xc9/0x4a0 drivers/net/netdevsim/bus.c:209
#4: ffff8880235d10e8
(
&dev->mutex){....}-{3:3}
, at: device_lock include/linux/device.h:837 [inline]
, at: __device_driver_lock drivers/base/dd.c:1095 [inline]
, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1292
#5: ffff8880235d2250
(&devlink->lock_key#6){+.+.}-{3:3}
, at: nsim_drv_remove+0x4a/0x1d0 drivers/net/netdevsim/dev.c:1675
#6: ffffffff8c7a4380 (rcu_state.barrier_mutex
){+.+.}-{3:3}, at: rcu_barrier+0x48/0x6a0 kernel/rcu/tree.c:3961
4 locks held by syz-executor.5/25902:
#0: ffff88802bf20460 (sb_writers#8
){.+.+}-{0:0}
, at: ksys_write+0x12b/0x250 fs/read_write.c:637
#1: ffff888058e48488
(&of->mutex){+.+.}-{3:3}
, at: kernfs_fop_write_iter+0x285/0x600 fs/kernfs/file.c:325
#2: ffff8881423e81d8 (kn->active
#51){.+.+}-{0:0}
, at: kernfs_fop_write_iter+0x2a9/0x600 fs/kernfs/file.c:326
#3: ffffffff8d7f96a8
(nsim_bus_dev_list_lock){+.+.}-{3:3}
, at: del_device_store+0xc9/0x4a0 drivers/net/netdevsim/bus.c:209
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc1-syzkaller-00011-g1dc3731daf1f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106
nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x2a4/0x300 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+0xe16/0x1090 kernel/hung_task.c:379
kthread+0x344/0x440 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 0 to CPUs 1:
syz_tun: tun_net_xmit 213
NMI backtrace for cpu 1
CPU: 1 PID: 22300 Comm: kworker/u4:12 Not tainted 6.4.0-rc1-syzkaller-00011-g1dc3731daf1f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
Workqueue: bat_events batadv_nc_worker
RIP: 0010:format_decode+0x670/0xb50 lib/vsprintf.c:2698
Code: 49 8d 44 24 02 bb 48 00 00 00 48 89 04 24 48 89 44 24 38 e9 3a fd ff ff e8 4d 82 82 f7 c6 45 00 08 e8 44 82 82 f7 4c 8b 24 24 <49> 83 c4 01 45 29 ec e9 eb fb ff ff e8 2f 82 82 f7 f7 db 80 4d 04
RSP: 0018:ffffc900001df838 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000100
RDX: ffff88807d755940 RSI: ffffffff8a01c29c RDI: 0000000000000001
RBP: ffffc900001df950 R08: 0000000000000001 R09: 0000000000000068
R10: 0000000000000000 R11: 0000000000349470 R12: ffffffff8a4d3783
R13: ffffffff8a4d3782 R14: 1ffff9200003bf0a R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0015ed000 CR3: 0000000021e35000 CR4: 00000000003506e0
DR0: 00000000ffff070c DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
vsnprintf+0x161/0x1710 lib/vsprintf.c:2769
snprintf+0xbf/0x100 lib/vsprintf.c:2952
print_caller kernel/printk/printk.c:1336 [inline]
info_print_prefix+0x11c/0x340 kernel/printk/printk.c:1355
record_print_text+0x14d/0x3f0 kernel/printk/printk.c:1402
printk_get_next_message+0x267/0x710 kernel/printk/printk.c:2809
console_emit_next_record kernel/printk/printk.c:2844 [inline]
console_flush_all+0x371/0xcc0 kernel/printk/printk.c:2933
console_unlock+0xb8/0x1f0 kernel/printk/printk.c:3007
vprintk_emit+0x1bd/0x600 kernel/printk/printk.c:2307
vprintk+0x84/0xa0 kernel/printk/printk_safe.c:50
_printk+0xbf/0xf0 kernel/printk/printk.c:2328
__netdev_printk+0x2a3/0x470 net/core/dev.c:11271
netdev_info+0xdc/0x120 net/core/dev.c:11318
tun_net_xmit+0xb07/0x1780 drivers/net/tun.c:1091
__netdev_start_xmit include/linux/netdevice.h:4915 [inline]
netdev_start_xmit include/linux/netdevice.h:4929 [inline]
xmit_one net/core/dev.c:3578 [inline]
dev_hard_start_xmit+0x187/0x700 net/core/dev.c:3594
sch_direct_xmit+0x1a3/0xc30 net/sched/sch_generic.c:342
qdisc_restart net/sched/sch_generic.c:407 [inline]
__qdisc_run+0x510/0x1780 net/sched/sch_generic.c:415
qdisc_run include/net/pkt_sched.h:125 [inline]
qdisc_run include/net/pkt_sched.h:122 [inline]
__dev_xmit_skb net/core/dev.c:3814 [inline]
__dev_queue_xmit+0x1af3/0x3b10 net/core/dev.c:4210
dev_queue_xmit include/linux/netdevice.h:3085 [inline]
br_dev_queue_push_xmit+0x26e/0x740 net/bridge/br_forward.c:53
NF_HOOK include/linux/netfilter.h:303 [inline]
NF_HOOK include/linux/netfilter.h:297 [inline]
br_forward_finish+0x102/0x130 net/bridge/br_forward.c:66
NF_HOOK include/linux/netfilter.h:303 [inline]
NF_HOOK include/linux/netfilter.h:297 [inline]
__br_forward+0x1c1/0x570 net/bridge/br_forward.c:115
deliver_clone net/bridge/br_forward.c:131 [inline]
maybe_deliver+0x350/0x450 net/bridge/br_forward.c:189
br_flood+0x168/0x470 net/bridge/br_forward.c:233
br_handle_frame_finish+0xf89/0x1de0 net/bridge/br_input.c:210
nf_hook_bridge_pre net/bridge/br_input.c:294 [inline]
br_handle_frame+0xd1a/0x1320 net/bridge/br_input.c:416
__netif_receive_skb_core+0xa10/0x3900 net/core/dev.c:5385
__netif_receive_skb_one_core+0xae/0x180 net/core/dev.c:5489
__netif_receive_skb+0x1f/0x1c0 net/core/dev.c:5605
process_backlog+0x101/0x670 net/core/dev.c:5933
__napi_poll+0xb7/0x6f0 net/core/dev.c:6496
napi_poll net/core/dev.c:6563 [inline]
net_rx_action+0x8a9/0xcb0 net/core/dev.c:6696
__do_softirq+0x1d4/0x905 kernel/softirq.c:571
do_softirq.part.0+0xde/0x130 kernel/softirq.c:472
do_softirq kernel/softirq.c:464 [inline]
__local_bh_enable_ip+0x106/0x130 kernel/softirq.c:396
spin_unlock_bh include/linux/spinlock.h:395 [inline]
batadv_nc_purge_paths+0x1cc/0x3c0 net/batman-adv/network-coding.c:471
batadv_nc_worker+0x8fa/0xfe0 net/batman-adv/network-coding.c:720
process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405
worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552
kthread+0x344/0x440 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308