INFO: task syz.4.10:5984 blocked for more than 143 seconds.
Tainted: G W 6.16.0-syzkaller-04405-g4b290aae788e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.10 state:D stack:24264 pid:5984 tgid:5983 ppid:5835 task_flags:0x400140 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5351 [inline]
__schedule+0x16b2/0x4ca0 kernel/sched/core.c:6954
__schedule_loop kernel/sched/core.c:7036 [inline]
schedule+0x165/0x360 kernel/sched/core.c:7051
io_schedule+0x81/0xe0 kernel/sched/core.c:7896
folio_wait_bit_common+0x6b5/0xb90 mm/filemap.c:1317
folio_lock include/linux/pagemap.h:1141 [inline]
release_metapage+0x103/0xab0 fs/jfs/jfs_metapage.c:868
discard_metapage fs/jfs/jfs_metapage.h:88 [inline]
__get_metapage+0x9a0/0xde0 fs/jfs/jfs_metapage.c:751
jfs_readdir+0x1e01/0x3ae0 fs/jfs/jfs_dtree.c:3041
wrap_directory_iterator+0x96/0xe0 fs/readdir.c:65
iterate_dir+0x5bb/0x780 fs/readdir.c:108
__do_sys_getdents64 fs/readdir.c:410 [inline]
__se_sys_getdents64+0xe4/0x260 fs/readdir.c:396
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff85131e9a9
RSP: 002b:00007ff84f17e038 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9
RAX: ffffffffffffffda RBX: 00007ff851545fa0 RCX: 00007ff85131e9a9
RDX: 0000000000001000 RSI: 0000200000000f80 RDI: 0000000000000004
RBP: 00007ff8513a0d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ff851545fa0 R15: 00007ffcc93afcf8
Showing all locks held in the system:
3 locks held by kworker/u8:1/13:
#0: ffff88814d2ba138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff88814d2ba138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321
#1: ffffc90000127bc0 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc90000127bc0 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321
#2: ffffffff8ea9eff8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline]
#2: ffffffff8ea9eff8 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_dad_work+0x119/0x15a0 net/ipv6/addrconf.c:4193
1 lock held by khungtaskd/38:
#0: ffffffff8d7aa040 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8d7aa040 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8d7aa040 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775
3 locks held by kworker/u8:3/57:
#0: ffff88801a6f3938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff88801a6f3938 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321
#1: ffffc9000123fbc0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc9000123fbc0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321
#2: ffffffff8ea92380 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf7/0x850 net/core/net_namespace.c:662
2 locks held by kworker/u8:5/94:
2 locks held by dhcpcd/5486:
#0: ffff888055a48908 (nlk_cb_mutex-ROUTE){+.+.}-{4:4}, at: netlink_dump+0xb7/0xe60 net/netlink/af_netlink.c:2269
#1: ffffffff8ea9eff8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline]
#1: ffffffff8ea9eff8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_dumpit+0x92/0x200 net/core/rtnetlink.c:6812
2 locks held by getty/5579:
#0: ffff88823bf4c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90003e762e0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x444/0x1410 drivers/tty/n_tty.c:2222
3 locks held by kworker/1:4/5901:
#0: ffff888019898538 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff888019898538 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321
#1: ffffc90005057bc0 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc90005057bc0 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321
#2: ffff888145f2c260 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x2ac/0x31b0 drivers/net/netdevsim/fib.c:1490
2 locks held by syz.4.10/5984:
#0: ffff8880367b2128 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x253/0x320 fs/file.c:1232
#1: ffff88805f38c098 (&type->i_mutex_dir_key#11){++++}-{4:4}, at: wrap_directory_iterator+0x5d/0xe0 fs/readdir.c:54
1 lock held by syz-executor/7003:
#0: ffffffff8ea9eff8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline]
#0: ffffffff8ea9eff8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0 net/ipv4/devinet.c:979
1 lock held by syz-executor/7011:
#0: ffffffff8ea9eff8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline]
#0: ffffffff8ea9eff8 (rtnl_mutex){+.+.}-{4:4}, at: inet6_rtm_newaddr+0x5b7/0xd20 net/ipv6/addrconf.c:5026
5 locks held by syz-executor/7014:
#0: ffffffff8eb05d00 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218
#1: ffffffff8eb05af8 (genl_mutex){+.+.}-{4:4}, at: genl_lock net/netlink/genetlink.c:35 [inline]
#1: ffffffff8eb05af8 (genl_mutex){+.+.}-{4:4}, at: genl_op_lock net/netlink/genetlink.c:60 [inline]
#1: ffffffff8eb05af8 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790 net/netlink/genetlink.c:1209
#2: ffffffff8ea9eff8 (rtnl_mutex){+.+.}-{4:4}, at: wg_set_device+0x15b/0x1fe0 drivers/net/wireguard/netlink.c:514
#3: ffff888035ca57b8 (&wg->device_update_lock){+.+.}-{4:4}, at: wg_set_device+0x176/0x1fe0 drivers/net/wireguard/netlink.c:515
#4: ffff888035ca4e98 (&dev->lock){+.+.}-{4:4}, at: netdev_lock include/linux/netdevice.h:2756 [inline]
#4: ffff888035ca4e98 (&dev->lock){+.+.}-{4:4}, at: netif_napi_add_weight include/linux/netdevice.h:2788 [inline]
#4: ffff888035ca4e98 (&dev->lock){+.+.}-{4:4}, at: netif_napi_add include/linux/netdevice.h:2806 [inline]
#4: ffff888035ca4e98 (&dev->lock){+.+.}-{4:4}, at: wg_peer_create+0x581/0x900 drivers/net/wireguard/peer.c:57
4 locks held by syz-executor/7027:
#0: ffff88803534e488 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3105 [inline]
#0: ffff88803534e488 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x217/0xaa0 fs/read_write.c:682
#1: ffff88803227b478 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1e1/0x4f0 fs/kernfs/file.c:325
#2: ffff8880271ca008 (kn->active#53){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x204/0x4f0 fs/kernfs/file.c:326
#3: ffffffff8e33a1d8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: new_device_store+0x12c/0x6f0 drivers/net/netdevsim/bus.c:166
7 locks held by syz-executor/7031:
#0: ffff88803534e488 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3105 [inline]
#0: ffff88803534e488 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x217/0xaa0 fs/read_write.c:682
#1: ffff8880396f8478 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1e1/0x4f0 fs/kernfs/file.c:325
#2: ffff8880271ca008 (kn->active#53){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x204/0x4f0 fs/kernfs/file.c:326
#3: ffffffff8e33a1d8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: new_device_store+0x12c/0x6f0 drivers/net/netdevsim/bus.c:166
#4: ffff88803aead0d8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:911 [inline]
#4: ffff88803aead0d8 (&dev->mutex){....}-{4:4}, at: __device_attach+0x88/0x400 drivers/base/dd.c:1006
#5: ffff8880294a8300 (&devlink->lock_key#13){+.+.}-{4:4}, at: nsim_drv_probe+0xc1/0xb70 drivers/net/netdevsim/dev.c:1537
#6: ffffffff8ea9eff8 (rtnl_mutex){+.+.}-{4:4}, at: nsim_init_netdevsim drivers/net/netdevsim/netdev.c:953 [inline]
#6: ffffffff8ea9eff8 (rtnl_mutex){+.+.}-{4:4}, at: nsim_create+0x7df/0xf00 drivers/net/netdevsim/netdev.c:1033
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 38 Comm: khungtaskd Tainted: G W 6.16.0-syzkaller-04405-g4b290aae788e #0 PREEMPT_{RT,(full)}
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:307 [inline]
watchdog+0xf93/0xfe0 kernel/hung_task.c:470
kthread+0x711/0x8a0 kernel/kthread.c:464
ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148
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: 94 Comm: kworker/u8:5 Tainted: G W 6.16.0-syzkaller-04405-g4b290aae788e #0 PREEMPT_{RT,(full)}
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Workqueue: bat_events batadv_nc_worker
RIP: 0010:__lock_acquire+0x6c/0xd20 kernel/locking/lockdep.c:5103
Code: 6f cb 0b 85 c9 44 0f 44 c1 31 c9 48 3d d0 82 93 92 41 0f 45 c8 89 4c 24 0c 8b 0d bf dc 3e 17 85 c9 0f 95 c0 83 fe 08 0f 92 c2 <08> c2 0f 84 55 01 00 00 44 89 cd 83 fe 01 48 89 3c 24 77 0c 89 f0
RSP: 0018:ffffc9000158f8b8 EFLAGS: 00000093
RAX: ffffffff98df3a00 RBX: ffffffff8d7aa040 RCX: 0000000000000000
RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff88801cbb9dc0
RBP: ffffffff8abbde9a R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: ffffffff8abbdd80 R12: 0000000000000002
R13: ffffffff8d7aa040 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff888126c22000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f96c5babe80 CR3: 00000000537c0000 CR4: 00000000003526f0
Call Trace:
lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5868
rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
rcu_read_lock include/linux/rcupdate.h:841 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline]
batadv_nc_worker+0x13b/0xbc0 net/batman-adv/network-coding.c:719
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3321
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402
kthread+0x711/0x8a0 kernel/kthread.c:464
ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245