INFO: task syz.8.1945:15174 blocked for more than 144 seconds.
Tainted: G L syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.8.1945 state:D stack:26888 pid:15174 tgid:15169 ppid:13307 task_flags:0x400140 flags:0x00080002
Call Trace:
context_switch kernel/sched/core.c:5629 [inline]
__schedule+0x1b9d/0x6000 kernel/sched/core.c:7452
__schedule_loop kernel/sched/core.c:7529 [inline]
schedule+0x164/0x2b0 kernel/sched/core.c:7544
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7601
__mutex_lock_common kernel/locking/mutex.c:726 [inline]
__mutex_lock+0x7c4/0x15a0 kernel/locking/mutex.c:821
devlink_health_report+0x346/0xb20 net/devlink/health.c:689
nsim_dev_health_break_write+0x194/0x240 drivers/net/netdevsim/health.c:162
full_proxy_write+0x127/0x1f0 fs/debugfs/file.c:389
vfs_write+0x296/0xba0 fs/read_write.c:670
ksys_write+0x150/0x270 fs/read_write.c:1021
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x00007ff8079a9519
RSP: 002b:00007ff8087e6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007ff807c35fa0 RCX: 00007ff8079a9519
RDX: 0000000000000002 RSI: 00002000000004c0 RDI: 0000000000000007
RBP: 00007ff807a39136 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ff807c36038 R14: 00007ff807c35fa0 R15: 00007ffc2c8bb0e8
Showing all locks held in the system:
locks held by khungtaskd/37: 1, on CPU#0:
#0: ffffffff9035b020 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#0: ffffffff9035b020 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff9035b020 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6871
locks held by kworker/u8:3/55: 3, on CPU#1:
#0: ffff88801c8ac148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#0: ffff88801c8ac148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffff88801c8ac148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3468 [inline]
#0: ffff88801c8ac148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x99a/0x1650 kernel/workqueue.c:3586
#1: ffffc9000120fc40 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#1: ffffc9000120fc40 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#1: ffffc9000120fc40 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3468 [inline]
#1: ffffc9000120fc40 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x99a/0x1650 kernel/workqueue.c:3586
#2: ffff88803680f258 (&devlink->lock_key#4){+.+.}-{4:4}, at: nsim_dev_trap_report_work+0x57/0xb30 drivers/net/netdevsim/dev.c:834
locks held by getty/5393: 2, last CPU#0:
#0: ffff88803786e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900032532e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360 drivers/tty/n_tty.c:2211
locks held by kworker/u8:22/10657: 6, last CPU#0:
#0: ffff88801dae6148 ((wq_completion)netns){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#0: ffff88801dae6148 ((wq_completion)netns){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffff88801dae6148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3468 [inline]
#0: ffff88801dae6148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x99a/0x1650 kernel/workqueue.c:3586
#1: ffffc90003c2fc40 (net_cleanup_work){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#1: ffffc90003c2fc40 (net_cleanup_work){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#1: ffffc90003c2fc40 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3468 [inline]
#1: ffffc90003c2fc40 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x99a/0x1650 kernel/workqueue.c:3586
#2: ffffffff9188b088 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf5/0x810 net/core/net_namespace.c:684
#3: ffff88807a8bc128 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1119 [inline]
#3: ffff88807a8bc128 (&dev->mutex){....}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:124 [inline]
#3: ffff88807a8bc128 (&dev->mutex){....}-{4:4}, at: devlink_pernet_pre_exit+0x122/0x560 net/devlink/core.c:581
#4: ffff88807a8b9258 (&devlink->lock_key#16){+.+.}-{4:4}, at: devl_lock net/devlink/core.c:314 [inline]
#4: ffff88807a8b9258 (&devlink->lock_key#16){+.+.}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:125 [inline]
#4: ffff88807a8b9258 (&devlink->lock_key#16){+.+.}-{4:4}, at: devlink_pernet_pre_exit+0x138/0x560 net/devlink/core.c:581
#5: ffff888070130ae0 (&sb->s_type->i_mutex_key#8/2){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:1074 [inline]
#5: ffff888070130ae0 (&sb->s_type->i_mutex_key#8/2){+.+.}-{4:4}, at: __simple_recursive_removal+0x19a/0x520 fs/libfs.c:590
locks held by syz-executor/15156: 5, last CPU#0:
#0: ffff88807fd6e478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff88807fd6e478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff88807efeb480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff88802a8203c8 (kn->active#51){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff88802a8203c8 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffffffff910f31c0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd6/0x370 drivers/net/netdevsim/bus.c:245
#4: ffff88807a8bc128 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1119 [inline]
#4: ffff88807a8bc128 (&dev->mutex){....}-{4:4}, at: device_del+0xa9/0x8f0 drivers/base/core.c:3930
locks held by syz.8.1945/15174: 3, last CPU#0:
#0: ffff8880354f90b0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1435
#1: ffff888021aaa478 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#1: ffff888021aaa478 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#2: ffff88807a8b9258 (&devlink->lock_key#16){+.+.}-{4:4}, at: devlink_health_report+0x346/0xb20 net/devlink/health.c:689
locks held by syz-executor/15273: 4, last CPU#0:
#0: ffff88807fd6e478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff88807fd6e478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff88807e6bf880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff88802a8203c8 (kn->active#51){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff88802a8203c8 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffffffff910f31c0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd6/0x370 drivers/net/netdevsim/bus.c:245
locks held by kworker/u8:11/15454: 3, on CPU#1:
#0: ffff888033b01148 ((wq_completion)bat_events){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#0: ffff888033b01148 ((wq_completion)bat_events){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffff888033b01148 ((wq_completion)bat_events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3468 [inline]
#0: ffff888033b01148 ((wq_completion)bat_events){+.+.}-{0:0}, at: process_scheduled_works+0x99a/0x1650 kernel/workqueue.c:3586
#1: ffffc900054b7c40 ((work_completion)(&(&forw_packet_aggr->delayed_work)->work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#1: ffffc900054b7c40 ((work_completion)(&(&forw_packet_aggr->delayed_work)->work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#1: ffffc900054b7c40 ((work_completion)(&(&forw_packet_aggr->delayed_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3468 [inline]
#1: ffffc900054b7c40 ((work_completion)(&(&forw_packet_aggr->delayed_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x99a/0x1650 kernel/workqueue.c:3586
#2: ffff888028adc1c8 (&hard_iface->bat_iv.ogm_buff_mutex){+.+.}-{4:4}, at: batadv_iv_ogm_schedule+0xd4/0xfc0 net/batman-adv/bat_iv_ogm.c:1008
locks held by syz-executor/15582: 4, last CPU#0:
#0: ffff88807fd6e478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff88807fd6e478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff88807e864880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff88802a8203c8 (kn->active#51){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff88802a8203c8 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffffffff910f31c0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd6/0x370 drivers/net/netdevsim/bus.c:245
locks held by syz-executor/15683: 4, last CPU#0:
#0: ffff88807fd6e478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff88807fd6e478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff88807ebdf880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff88802a8203c8 (kn->active#51){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff88802a8203c8 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffffffff910f31c0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd6/0x370 drivers/net/netdevsim/bus.c:245
locks held by syz-executor/15745: 4, last CPU#0:
#0: ffff88807fd6e478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff88807fd6e478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff888055dc5c80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff88802a8203c8 (kn->active#51){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff88802a8203c8 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffffffff910f31c0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd6/0x370 drivers/net/netdevsim/bus.c:245
locks held by syz-executor/15768: 4, last CPU#0:
#0: ffff88807fd6e478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff88807fd6e478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff8880612ed480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff88802a8203c8 (kn->active#51){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff88802a8203c8 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffffffff910f31c0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd6/0x370 drivers/net/netdevsim/bus.c:245
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 37 Comm: khungtaskd Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
nmi_cpu_backtrace+0x274/0x2d0 lib/nmi_backtrace.c:123
nmi_trigger_cpumask_backtrace+0x17d/0x390 lib/nmi_backtrace.c:66
trigger_all_cpu_backtrace include/linux/nmi.h:164 [inline]
__sys_info lib/sys_info.c:157 [inline]
sys_info+0x13a/0x180 lib/sys_info.c:165
check_hung_uninterruptible_tasks kernel/hung_task.c:377 [inline]
watchdog+0x1073/0x10f0 kernel/hung_task.c:598
kthread+0x38b/0x480 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 15454 Comm: kworker/u8:11 Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Workqueue: bat_events batadv_tt_purge
RIP: 0010:lockdep_recursion_finish kernel/locking/lockdep.c:470 [inline]
RIP: 0010:lock_release+0x270/0x3c0 kernel/locking/lockdep.c:5966
Code: 89 f6 48 8b 54 24 18 e8 6e 31 00 00 48 8b 5c 24 08 48 c7 c7 9f ea b4 8e e8 1d f0 78 0a b8 ff ff ff ff 65 0f c1 05 c8 73 62 13 <83> f8 01 75 2e 9c 58 a9 00 02 00 00 75 42 f7 c3 00 02 00 00 75 47
RSP: 0018:ffffc900054b79d8 EFLAGS: 00000057
RAX: 0000000000000001 RBX: 0000000000000206 RCX: 8000000000000201
RDX: 0000000000000000 RSI: ffffffff8eb4ea9f RDI: ffffffff8caedb80
RBP: ffff8880270d69c0 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000a96f3c R12: 0000000000000002
R13: 0000000000000002 R14: ffff888080ee6858 R15: ffff8880270d5dc0
FS: 0000000000000000(0000) GS:ffff8881232b3000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f458edfe02a CR3: 0000000010148000 CR4: 00000000003526f0
Call Trace:
__raw_spin_unlock_bh include/linux/spinlock_api_smp.h:235 [inline]
_raw_spin_unlock_bh+0x1b/0x40 kernel/locking/spinlock.c:245
spin_unlock_bh include/linux/spinlock.h:407 [inline]
batadv_tt_global_purge net/batman-adv/translation-table.c:2937 [inline]
batadv_tt_purge+0x4ee/0xa40 net/batman-adv/translation-table.c:4342
process_one_work kernel/workqueue.c:3503 [inline]
process_scheduled_works+0xc5d/0x1650 kernel/workqueue.c:3586
worker_thread+0xa47/0xfb0 kernel/workqueue.c:3667
kthread+0x38b/0x480 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245