INFO: task syz-executor.3:15922 blocked for more than 143 seconds. Not tainted 6.9.0-syzkaller-10312-g1b0361620970 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:29152 pid:15922 tgid:15911 ppid:15606 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 rwsem_down_read_slowpath+0x61e/0xb20 kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x124/0x330 kernel/locking/rwsem.c:1528 inode_lock_shared include/linux/fs.h:801 [inline] lookup_slow fs/namei.c:1708 [inline] walk_component+0x342/0x5b0 fs/namei.c:2004 lookup_last fs/namei.c:2469 [inline] path_lookupat+0x17f/0x770 fs/namei.c:2493 filename_lookup+0x1e5/0x5b0 fs/namei.c:2522 user_path_at_empty+0x42/0x60 fs/namei.c:2929 user_path_at include/linux/namei.h:58 [inline] do_mount fs/namespace.c:3689 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount fs/namespace.c:3875 [inline] __x64_sys_mount+0x1ff/0x320 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f998647cee9 RSP: 002b:00007f998717a0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f99865ac050 RCX: 00007f998647cee9 RDX: 00000000200001c0 RSI: 00000000200020c0 RDI: 0000000000000000 RBP: 00007f99864c949e R08: 0000000020000040 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f99865ac050 R15: 00007fff4c3a5818 INFO: task syz-executor.3:15923 blocked for more than 144 seconds. Not tainted 6.9.0-syzkaller-10312-g1b0361620970 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:29600 pid:15923 tgid:15911 ppid:15606 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 rwsem_down_read_slowpath+0x61e/0xb20 kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x124/0x330 kernel/locking/rwsem.c:1528 inode_lock_shared include/linux/fs.h:801 [inline] lookup_slow fs/namei.c:1708 [inline] walk_component+0x342/0x5b0 fs/namei.c:2004 lookup_last fs/namei.c:2469 [inline] path_lookupat+0x17f/0x770 fs/namei.c:2493 filename_lookup+0x1e5/0x5b0 fs/namei.c:2522 user_path_at_empty+0x42/0x60 fs/namei.c:2929 user_path_at include/linux/namei.h:58 [inline] do_mount fs/namespace.c:3689 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount fs/namespace.c:3875 [inline] __x64_sys_mount+0x1ff/0x320 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f998647cee9 RSP: 002b:00007f99871590c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f99865ac120 RCX: 00007f998647cee9 RDX: 0000000020000180 RSI: 0000000020000140 RDI: 0000000000000000 RBP: 00007f99864c949e R08: 0000000020000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f99865ac120 R15: 00007fff4c3a5818 Showing all locks held in the system: 3 locks held by kworker/u8:1/12: 1 lock held by khungtaskd/31: #0: ffffffff8dbb1760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8dbb1760 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8dbb1760 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 3 locks held by kworker/1:1/45: #0: ffff888015481948 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc90000b57d80 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 #2: ffffffff8f749a68 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x7d/0x10e0 net/wireless/reg.c:2478 3 locks held by kworker/u8:11/2912: #0: ffff8880b923ec18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:567 [inline] #0: ffff8880b923ec18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:552 #1: ffff8880b9228a08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:988 #2: ffff8880b922a858 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5d/0x220 kernel/time/timer.c:1051 2 locks held by getty/4841: #0: ffff88802aa230a0 (&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 2 locks held by syz-executor.3/15912: 1 lock held by syz-executor.3/15922: #0: ffff88804f8d2bc8 (&type->i_mutex_dir_key#26){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:801 [inline] #0: ffff88804f8d2bc8 (&type->i_mutex_dir_key#26){++++}-{3:3}, at: lookup_slow fs/namei.c:1708 [inline] #0: ffff88804f8d2bc8 (&type->i_mutex_dir_key#26){++++}-{3:3}, at: walk_component+0x342/0x5b0 fs/namei.c:2004 1 lock held by syz-executor.3/15923: #0: ffff88804f8d2bc8 (&type->i_mutex_dir_key#26){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:801 [inline] #0: ffff88804f8d2bc8 (&type->i_mutex_dir_key#26){++++}-{3:3}, at: lookup_slow fs/namei.c:1708 [inline] #0: ffff88804f8d2bc8 (&type->i_mutex_dir_key#26){++++}-{3:3}, at: walk_component+0x342/0x5b0 fs/namei.c:2004 1 lock held by syz-executor.2/16334: #0: ffffffff8dbbcef8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:323 7 locks held by syz-executor.0/16910: #0: ffff88802f73c420 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x12f/0x260 fs/read_write.c:643 #1: ffff88802ec51088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x281/0x500 fs/kernfs/file.c:325 #2: ffff888022ea94b8 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2a4/0x500 fs/kernfs/file.c:326 #3: ffffffff8ed864e8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x187/0x730 drivers/net/netdevsim/bus.c:166 #4: ffff8880579740e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:994 [inline] #4: ffff8880579740e8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1003 #5: ffff888057977250 (&devlink->lock_key#28){+.+.}-{3:3}, at: nsim_drv_probe+0xd5/0x1490 drivers/net/netdevsim/dev.c:1534 #6: ffffffff8f749a68 (rtnl_mutex){+.+.}-{3:3}, at: nsim_init_netdevsim drivers/net/netdevsim/netdev.c:677 [inline] #6: ffffffff8f749a68 (rtnl_mutex){+.+.}-{3:3}, at: nsim_create+0x4c9/0xb20 drivers/net/netdevsim/netdev.c:749 1 lock held by syz-executor.1/17054: 1 lock held by syz-executor.4/17073: 2 locks held by syz-executor.3/17080: #0: ffffffff8f749a68 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8f749a68 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3e/0x250 drivers/net/tun.c:3500 #1: ffffffff8dbbcef8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x282/0x3b0 kernel/rcu/tree_exp.h:291 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 31 Comm: khungtaskd Not tainted 6.9.0-syzkaller-10312-g1b0361620970 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114 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:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf86/0x1240 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/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 PID: 16910 Comm: syz-executor.0 Not tainted 6.9.0-syzkaller-10312-g1b0361620970 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:unwind_next_frame+0x777/0x23a0 arch/x86/kernel/unwind_orc.c:581 Code: 00 00 83 e0 07 38 c2 0f 9e c1 84 d2 0f 95 c0 84 c1 0f 85 86 18 00 00 4d 0f bf 2c 24 4d 01 fd e8 ff 0d 51 00 41 0f b6 7c 24 05 <48> c7 c6 20 c8 29 8b 41 89 ff 83 e7 07 e8 47 09 51 00 41 83 e7 07 RSP: 0018:ffffc900000075f8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc90000007678 RCX: 0000000000000001 RDX: ffff88807058da00 RSI: ffffffff813cde11 RDI: 0000000000000002 RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000009 R10: 0000000000000009 R11: 0000000000000009 R12: ffffffff911f6d88 R13: ffffc90003217238 R14: ffffffff911f6d8c R15: 0000000000000009 FS: 000055557f8f8480(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000204ad030 CR3: 0000000050fec000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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 unpoison_slab_object mm/kasan/common.c:312 [inline] __kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:338 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3940 [inline] slab_alloc_node mm/slub.c:4000 [inline] kmem_cache_alloc_node_noprof+0x153/0x310 mm/slub.c:4043 kmalloc_reserve+0x18b/0x2c0 net/core/skbuff.c:575 __alloc_skb+0x164/0x380 net/core/skbuff.c:666 __netdev_alloc_skb+0x72/0x3f0 net/core/skbuff.c:730 netdev_alloc_skb include/linux/skbuff.h:3319 [inline] dev_alloc_skb include/linux/skbuff.h:3332 [inline] __ieee80211_beacon_get+0xc1f/0x16b0 net/mac80211/tx.c:5471 ieee80211_beacon_get_tim+0xa7/0x280 net/mac80211/tx.c:5593 ieee80211_beacon_get include/net/mac80211.h:5562 [inline] mac80211_hwsim_beacon_tx+0x4ea/0xa00 drivers/net/wireless/virtual/mac80211_hwsim.c:2302 __iterate_interfaces+0x2d2/0x580 net/mac80211/util.c:772 ieee80211_iterate_active_interfaces_atomic+0x71/0x1b0 net/mac80211/util.c:808 mac80211_hwsim_beacon+0x105/0x200 drivers/net/wireless/virtual/mac80211_hwsim.c:2336 __run_hrtimer kernel/time/hrtimer.c:1687 [inline] __hrtimer_run_queues+0x20c/0xcc0 kernel/time/hrtimer.c:1751 hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1768 handle_softirqs+0x216/0x8f0 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu kernel/softirq.c:637 [inline] irq_exit_rcu+0xbb/0x120 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:queue_work_on+0x98/0x140 kernel/workqueue.c:2415 Code: e8 ed 41 35 00 48 85 ed 75 44 e8 b3 46 35 00 9c 5b 81 e3 00 02 00 00 31 ff 48 89 de e8 d1 41 35 00 48 85 db 0f 85 8d 00 00 00 93 46 35 00 44 89 e0 5b 5d 41 5c 41 5d 41 5e c3 cc cc cc cc e8 RSP: 0018:ffffc900032172e8 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8158a5b8 RDX: ffff88807058da00 RSI: ffffffff8158a5c2 RDI: 0000000000000007 RBP: 0000000000000200 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000008 R14: ffff88801cede000 R15: ffff8880605c8000 queue_work include/linux/workqueue.h:621 [inline] netdevice_queue_work drivers/infiniband/core/roce_gid_mgmt.c:658 [inline] netdevice_event+0x6ef/0x9d0 drivers/infiniband/core/roce_gid_mgmt.c:801 notifier_call_chain+0xb9/0x410 kernel/notifier.c:93 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:1992 call_netdevice_notifiers_extack net/core/dev.c:2030 [inline] call_netdevice_notifiers net/core/dev.c:2044 [inline] register_netdevice+0x15fb/0x1cb0 net/core/dev.c:10407 nsim_init_netdevsim drivers/net/netdevsim/netdev.c:689 [inline] nsim_create+0x740/0xb20 drivers/net/netdevsim/netdev.c:749 __nsim_dev_port_add+0x42c/0x7d0 drivers/net/netdevsim/dev.c:1390 nsim_dev_port_add_all drivers/net/netdevsim/dev.c:1446 [inline] nsim_drv_probe+0xdbf/0x1490 drivers/net/netdevsim/dev.c:1604 call_driver_probe drivers/base/dd.c:578 [inline] really_probe+0x23e/0xa90 drivers/base/dd.c:656 __driver_probe_device+0x1de/0x440 drivers/base/dd.c:798 driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:828 __device_attach_driver+0x1df/0x310 drivers/base/dd.c:956 bus_for_each_drv+0x157/0x1e0 drivers/base/bus.c:457 __device_attach+0x1e8/0x4b0 drivers/base/dd.c:1028 bus_probe_device+0x17f/0x1c0 drivers/base/bus.c:532 device_add+0x1188/0x1ab0 drivers/base/core.c:3720 nsim_bus_dev_new drivers/net/netdevsim/bus.c:442 [inline] new_device_store+0x41d/0x730 drivers/net/netdevsim/bus.c:173 bus_attr_store+0x76/0xa0 drivers/base/bus.c:170 sysfs_kf_write+0x117/0x170 fs/sysfs/file.c:136 kernfs_fop_write_iter+0x343/0x500 fs/kernfs/file.c:334 call_write_iter include/linux/fs.h:2114 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0x6b6/0x1140 fs/read_write.c:590 ksys_write+0x12f/0x260 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f425be7bc2f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 b9 80 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 0c 81 02 00 48 RSP: 002b:00007ffddabbbf70 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f425be7bc2f RDX: 0000000000000003 RSI: 00007ffddabbbfc0 RDI: 0000000000000005 RBP: 00007f425bec9067 R08: 0000000000000000 R09: 00007ffddabbbdc7 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 00007ffddabbbfc0 R14: 00007f425cad4620 R15: 0000000000000003