INFO: task syz-executor.4:7226 blocked for more than 143 seconds. Not tainted 6.9.0-rc4-syzkaller-00214-g13a2e429f644 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27032 pid:7226 tgid:7158 ppid:5111 flags:0x00000006 Call Trace: <TASK> context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 bfs_lookup+0x139/0x270 fs/bfs/dir.c:136 __lookup_slow+0x28e/0x3f0 fs/namei.c:1692 lookup_slow+0x53/0x70 fs/namei.c:1709 walk_component fs/namei.c:2004 [inline] link_path_walk+0x9ea/0xea0 fs/namei.c:2331 path_parentat fs/namei.c:2532 [inline] __filename_parentat+0x263/0x6f0 fs/namei.c:2556 filename_parentat fs/namei.c:2574 [inline] filename_create+0xf6/0x540 fs/namei.c:3873 do_mkdirat+0xbd/0x3a0 fs/namei.c:4138 __do_sys_mkdirat fs/namei.c:4161 [inline] __se_sys_mkdirat fs/namei.c:4159 [inline] __x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4159 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f39e0e7dea9 RSP: 002b:00007f39e09de0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f39e0fac120 RCX: 00007f39e0e7dea9 RDX: 00000000000001ff RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007f39e0eca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f39e0fac120 R15: 00007ffc79481ba8 </TASK> INFO: task syz-executor.4:7228 blocked for more than 144 seconds. Not tainted 6.9.0-rc4-syzkaller-00214-g13a2e429f644 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27000 pid:7228 tgid:7158 ppid:5111 flags:0x00000006 Call Trace: <TASK> context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 d_wait_lookup fs/dcache.c:2449 [inline] d_alloc_parallel+0xc19/0x1600 fs/dcache.c:2531 __lookup_slow+0x117/0x3f0 fs/namei.c:1677 lookup_slow+0x53/0x70 fs/namei.c:1709 walk_component fs/namei.c:2004 [inline] link_path_walk+0x9ea/0xea0 fs/namei.c:2331 path_lookupat+0xa9/0x450 fs/namei.c:2484 do_o_path+0x95/0x230 fs/namei.c:3770 path_openat+0x2aa0/0x3240 fs/namei.c:3792 do_filp_open+0x235/0x490 fs/namei.c:3826 do_sys_openat2+0x13e/0x1d0 fs/open.c:1406 do_sys_open fs/open.c:1421 [inline] __do_sys_openat fs/open.c:1437 [inline] __se_sys_openat fs/open.c:1432 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1432 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f39e0e7dea9 RSP: 002b:00007f39e09bd0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f39e0fac1f0 RCX: 00007f39e0e7dea9 RDX: 0000000000200002 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007f39e0eca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f39e0fac1f0 R15: 00007ffc79481ba8 </TASK> Showing all locks held in the system: 3 locks held by kworker/1:0/24: #0: ffff888015078948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline] #0: ffff888015078948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3335 #1: ffffc900001e7d00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline] #1: ffffc900001e7d00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3335 #2: ffff88806a6d1240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2d1/0x4130 drivers/net/netdevsim/fib.c:1489 1 lock held by khungtaskd/29: #0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 3 locks held by kworker/1:2/780: #0: ffff888015078948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline] #0: ffff888015078948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3335 #1: ffffc900035ffd00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline] #1: ffffc900035ffd00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3335 #2: ffff88803d8ff240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2d1/0x4130 drivers/net/netdevsim/fib.c:1489 3 locks held by kworker/u8:6/1095: #0: ffff888029a73948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline] #0: ffff888029a73948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3335 #1: ffffc900042b7d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline] #1: ffffc900042b7d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3335 #2: ffffffff8f5a5348 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4192 3 locks held by kworker/u8:7/2464: 2 locks held by dhcpcd/4747: #0: ffff8880308c7678 (nlk_cb_mutex-ROUTE){+.+.}-{3:3}, at: __netlink_dump_start+0x119/0x780 net/netlink/af_netlink.c:2350 #1: ffffffff8f5a5348 (rtnl_mutex){+.+.}-{3:3}, at: netlink_dump+0x5d3/0xe50 net/netlink/af_netlink.c:2268 2 locks held by getty/4837: #0: ffff88802a6550a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f162f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 2 locks held by syz-executor.4/7160: 2 locks held by syz-executor.4/7223: 2 locks held by syz-executor.4/7226: #0: ffff88805c5a0168 (&type->i_mutex_dir_key#17){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #0: ffff88805c5a0168 (&type->i_mutex_dir_key#17){.+.+}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1708 #1: ffff88802a3caad8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0x139/0x270 fs/bfs/dir.c:136 1 lock held by syz-executor.4/7228: #0: ffff88805c5a0168 (&type->i_mutex_dir_key#17){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #0: ffff88805c5a0168 (&type->i_mutex_dir_key#17){.+.+}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1708 2 locks held by syz-executor.0/7923: 2 locks held by syz-executor.0/7979: 2 locks held by syz-executor.0/7983: #0: ffff888045fa8168 (&type->i_mutex_dir_key#17){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #0: ffff888045fa8168 (&type->i_mutex_dir_key#17){.+.+}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1708 #1: ffff88804a9c9ed8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0x139/0x270 fs/bfs/dir.c:136 1 lock held by syz-executor.0/7986: #0: ffff888045fa8168 (&type->i_mutex_dir_key#17){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #0: ffff888045fa8168 (&type->i_mutex_dir_key#17){.+.+}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1708 2 locks held by syz-executor.5/8475: #0: ffffffff8f5a5348 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f5a5348 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x10d0 net/core/rtnetlink.c:6592 #1: ffffffff8e33a0b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #1: ffffffff8e33a0b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x39a/0x820 kernel/rcu/tree_exp.h:939 3 locks held by syz-executor.3/8592: 2 locks held by syz-executor.3/8611: 2 locks held by syz-executor.3/8612: #0: ffff888045fa8690 (&type->i_mutex_dir_key#17){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #0: ffff888045fa8690 (&type->i_mutex_dir_key#17){.+.+}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1708 #1: ffff88804b81c6d8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0x139/0x270 fs/bfs/dir.c:136 1 lock held by syz-executor.3/8617: #0: ffff888045fa8690 (&type->i_mutex_dir_key#17){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #0: ffff888045fa8690 (&type->i_mutex_dir_key#17){.+.+}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1708 1 lock held by syz-executor.0/8722: #0: ffffffff8f5a5348 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f5a5348 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x10d0 net/core/rtnetlink.c:6592 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc4-syzkaller-00214-g13a2e429f644 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: <TASK> __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 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:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfde/0x1020 kernel/hung_task.c:380 kthread+0x2f2/0x390 kernel/kthread.c:388 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 </TASK> Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 11 Comm: kworker/u8:1 Not tainted 6.9.0-rc4-syzkaller-00214-g13a2e429f644 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: events_unbound cfg80211_wiphy_work RIP: 0010:check_kcov_mode kernel/kcov.c:184 [inline] RIP: 0010:write_comp_data kernel/kcov.c:236 [inline] RIP: 0010:__sanitizer_cov_trace_switch+0xc3/0x120 kernel/kcov.c:341 Code: 8b 74 d6 10 65 8b 05 44 cc 6d 7e a9 00 01 ff 00 74 11 a9 00 01 00 00 74 de 41 83 bb 14 16 00 00 00 74 d4 41 8b 83 f0 15 00 00 <83> f8 03 75 c8 49 8b 8b f8 15 00 00 45 8b bb f4 15 00 00 49 c1 e7 RSP: 0018:ffffc90000107458 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000002 RCX: ffff8880172abc00 RDX: 0000000000000002 RSI: ffffffff8e1a2f70 RDI: 0000000000000002 RBP: ffffffff902a140b R08: 0000000000000005 R09: ffffffff81414f66 R10: 0000000000000003 R11: ffff8880172abc00 R12: ffffffff902a140a R13: dffffc0000000000 R14: 0000000000000004 R15: 1ffff92000020eb8 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd4a7d2010 CR3: 000000005ee00000 CR4: 0000000000350ef0 Call Trace: <NMI> </NMI> <TASK> unwind_next_frame+0xff6/0x2a00 arch/x86/kernel/unwind_orc.c:581 __unwind_start+0x641/0x7c0 arch/x86/kernel/unwind_orc.c:760 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0x103/0x1b0 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:579 poison_slab_object+0xa6/0xe0 mm/kasan/common.c:240 __kasan_slab_free+0x37/0x60 mm/kasan/common.c:256 kasan_slab_free include/linux/kasan.h:184 [inline] slab_free_hook mm/slub.c:2106 [inline] slab_free mm/slub.c:4280 [inline] kmem_cache_free+0x10b/0x2c0 mm/slub.c:4344 skb_kfree_head net/core/skbuff.c:1094 [inline] skb_free_head net/core/skbuff.c:1108 [inline] skb_release_data+0x556/0x870 net/core/skbuff.c:1136 skb_release_all net/core/skbuff.c:1202 [inline] __kfree_skb net/core/skbuff.c:1216 [inline] kfree_skb_reason+0x1a5/0x3b0 net/core/skbuff.c:1252 kfree_skb include/linux/skbuff.h:1262 [inline] ieee80211_iface_work+0x270/0xf10 net/mac80211/iface.c:1661 cfg80211_wiphy_work+0x223/0x260 net/wireless/core.c:437 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0xa12/0x17c0 kernel/workqueue.c:3335 worker_thread+0x86d/0xd70 kernel/workqueue.c:3416 kthread+0x2f2/0x390 kernel/kthread.c:388 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 </TASK>