INFO: task syz.0.1631:11661 blocked for more than 145 seconds.
Not tainted 6.10.0-rc6-next-20240703-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.1631 state:D stack:24672 pid:11661 tgid:11661 ppid:11418 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5248 [inline]
__schedule+0x1800/0x4a60 kernel/sched/core.c:6600
__schedule_loop kernel/sched/core.c:6677 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6692
request_wait_answer fs/fuse/dev.c:407 [inline]
__fuse_request_send fs/fuse/dev.c:426 [inline]
fuse_simple_request+0x1199/0x1b90 fs/fuse/dev.c:513
fuse_flush+0x69f/0x950 fs/fuse/file.c:542
filp_flush+0xb5/0x160 fs/open.c:1526
filp_close+0x1e/0x40 fs/open.c:1539
__range_close fs/file.c:722 [inline]
__close_range+0x35e/0x940 fs/file.c:791
__do_sys_close_range fs/open.c:1592 [inline]
__se_sys_close_range fs/open.c:1589 [inline]
__x64_sys_close_range+0x7a/0x90 fs/open.c:1589
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb4f2175bd9
RSP: 002b:00007ffd3abb8968 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: ffffffffffffffda RBX: 00007fb4f2305a60 RCX: 00007fb4f2175bd9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007fb4f2305a60 R08: 0000000000000006 R09: 0000000e3abb8c9f
R10: 00000000005f4300 R11: 0000000000000246 R12: 0000000000135bf9
R13: 0000000000000032 R14: 00007fb4f2305a60 R15: 00007fb4f2304038
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8e335860 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline]
#0: ffffffff8e335860 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline]
#0: ffffffff8e335860 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6704
2 locks held by getty/4849:
#0: ffff88802a6560a0 (&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:2211
4 locks held by syz.2.1058/9199:
1 lock held by syz.0.1124/9397:
1 lock held by syz.4.1152/9495:
5 locks held by kworker/u8:13/9923:
#0: ffff888015edd948 ((wq_completion)netns){+.+.}-{0:0}
, at: process_one_work kernel/workqueue.c:3199 [inline]
, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305
#1: ffffc9000d777d00
(net_cleanup_work){+.+.}-{0:0}
, at: process_one_work kernel/workqueue.c:3200 [inline]
, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305
#2:
ffffffff8f5f2c10 (pernet_ops_rwsem){++++}-{3:3}
, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594
#3: ffffffff8f5ff788 (rtnl_mutex
){+.+.}-{3:3}
, at: default_device_exit_batch+0xe9/0xa90 net/core/dev.c:11887
#4: ffffffff8e33ac38
(rcu_state.exp_mutex){+.+.}-{3:3}
, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline]
, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:980
3 locks held by kworker/u8:14/9925:
#0: ffff888029f7c148
((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline]
((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305
#1: ffffc9000d617d00 (
(work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline]
(work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305
#2:
ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}
, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4193
6 locks held by kworker/u8:1/10918:
4 locks held by syz-executor/11819:
#0: ffff88802f1fe420
(
sb_writers#8
){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2876 [inline]
){.+.+}-{0:0}, at: vfs_write+0x227/0xc90 fs/read_write.c:586
#1: ffff888020bf2488
(&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325
#2: ffff888021b105a8 (kn->active
#49
){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326
#3: ffffffff8ef05248
(nsim_bus_dev_list_lock){+.+.}-{3:3}
, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216
1 lock held by syz-executor/11821:
#0: ffffffff8f5ff788 (rtnl_mutex
){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:149 [inline]
){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x847/0x1180 net/core/rtnetlink.c:6725
4 locks held by syz-executor/11822:
#0: ffff88802f1fe420
(sb_writers#8){.+.+}-{0:0}
, at: file_start_write include/linux/fs.h:2876 [inline]
, at: vfs_write+0x227/0xc90 fs/read_write.c:586
#1: ffff88806d10d488
(&of->mutex){+.+.}-{3:3}
, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325
#2: ffff888021b105a8
(kn->active#49){.+.+}-{0:0}
, at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326
#3:
ffffffff8ef05248 (nsim_bus_dev_list_lock
){+.+.}-{3:3}
, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216
7 locks held by syz-executor/11824:
#0: ffff88802f1fe420
(sb_writers#8){.+.+}-{0:0}
, at: file_start_write include/linux/fs.h:2876 [inline]
, at: vfs_write+0x227/0xc90 fs/read_write.c:586
#1:
ffff88802b9eac88
(
&of->mutex){+.+.}-{3:3}
, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325
#2:
ffff888021b104b8
(kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326
#3: ffffffff8ef05248 (nsim_bus_dev_list_lock
){+.+.}-{3:3}
, at: new_device_store+0x1b4/0x890 drivers/net/netdevsim/bus.c:166
#4: ffff88805a1fc0e8
(&dev->mutex
){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline]
){....}-{3:3}, at: __device_attach+0x8e/0x520 drivers/base/dd.c:1004
#5: ffff88805a1fd250 (
&devlink->lock_key#87){+.+.}-{3:3}
, at: nsim_drv_probe+0xcb/0xb80 drivers/net/netdevsim/dev.c:1534
#6:
ffffffff8f5ff788 (rtnl_mutex
){+.+.}-{3:3}, at: nsim_init_netdevsim drivers/net/netdevsim/netdev.c:678 [inline]
){+.+.}-{3:3}, at: nsim_create+0x408/0x890 drivers/net/netdevsim/netdev.c:750
4 locks held by syz-executor/11825:
#0:
ffff88802f1fe420
(sb_writers
#8){.+.+}-{0:0}
, at: file_start_write include/linux/fs.h:2876 [inline]
, at: vfs_write+0x227/0xc90 fs/read_write.c:586
#1:
ffff888020bf0488 (&of->mutex){+.+.}-{3:3}
, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325
#2: ffff888021b105a8 (
kn->active
#49){.+.+}-{0:0}
, at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326
#3: ffffffff8ef05248
(nsim_bus_dev_list_lock
){+.+.}-{3:3}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc6-next-20240703-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
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:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xfee/0x1030 kernel/hung_task.c:379
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 11 Comm: kworker/u8:0 Not tainted 6.10.0-rc6-next-20240703-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Workqueue: events_unbound cfg80211_wiphy_work
RIP: 0010:ieee80211_sta_get_rates+0x32c/0x660 net/mac80211/util.c:1552
Code: 89 f7 e8 57 83 ec f6 49 63 c7 4d 8b 36 4c 8d 2c 40 4b 8d 1c ae 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 <84> c0 0f 85 f4 00 00 00 8b 1b 8b 6c 24 4c 21 eb 89 df 89 ee e8 cb
RSP: 0018:ffffc90000107798 EFLAGS: 00000a02
RAX: 0000000000000000 RBX: ffff88804757dc48 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 000000000000006e RDI: 00000000000000f0
RBP: 00000000000000f0 R08: ffffffff8b0dcc0c R09: 1ffffffff1f5ef4d
R10: dffffc0000000000 R11: fffffbfff1f5ef4e R12: dffffc0000000000
R13: 000000000000000c R14: ffff88804757dc18 R15: 0000000000000004
FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055fd82b75058 CR3: 0000000060be0000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ieee80211_update_sta_info net/mac80211/ibss.c:989 [inline]
ieee80211_rx_bss_info net/mac80211/ibss.c:1098 [inline]
ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1579 [inline]
ieee80211_ibss_rx_queued_mgmt+0x11e1/0x2d70 net/mac80211/ibss.c:1606
ieee80211_iface_process_skb net/mac80211/iface.c:1584 [inline]
ieee80211_iface_work+0x8a5/0xf20 net/mac80211/iface.c:1638
cfg80211_wiphy_work+0x2db/0x490 net/wireless/core.c:440
process_one_work kernel/workqueue.c:3224 [inline]
process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3305
worker_thread+0x86d/0xd40 kernel/workqueue.c:3383
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244