INFO: task syz-executor.5:27467 blocked for more than 143 seconds. Not tainted 5.16.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:29344 pid:27467 ppid: 27354 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 rwsem_down_write_slowpath+0x634/0x1110 kernel/locking/rwsem.c:1151 __down_write_common kernel/locking/rwsem.c:1268 [inline] __down_write_common kernel/locking/rwsem.c:1265 [inline] __down_write kernel/locking/rwsem.c:1277 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1524 inode_lock include/linux/fs.h:783 [inline] open_last_lookups fs/namei.c:3347 [inline] path_openat+0x952/0x2750 fs/namei.c:3556 do_filp_open+0x1aa/0x400 fs/namei.c:3586 do_sys_openat2+0x16d/0x4d0 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_creat fs/open.c:1304 [inline] __se_sys_creat fs/open.c:1298 [inline] __x64_sys_creat+0xc9/0x120 fs/open.c:1298 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f619908ae99 RSP: 002b:00007f619799d168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f619919e1d0 RCX: 00007f619908ae99 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000280 RBP: 00007f61990e4ff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe4df7812f R14: 00007f619799d300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb81320 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 2 locks held by kworker/u4:5/1281: #0: ffff8880b9c39b18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 #1: ffffc90005727db0 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273 2 locks held by getty/3282: #0: ffff88814ae5e098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc90002b8e2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 2 locks held by syz-executor.5/27467: #0: ffff888084afc460 (sb_writers#15){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3339 [inline] #0: ffff888084afc460 (sb_writers#15){.+.+}-{0:0}, at: path_openat+0x2548/0x2750 fs/namei.c:3556 #1: ffff888036b22190 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline] #1: ffff888036b22190 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3347 [inline] #1: ffff888036b22190 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x952/0x2750 fs/namei.c:3556 3 locks held by syz-executor.5/27472: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 11863 Comm: kworker/u4:12 Not tainted 5.16.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: phy4 ieee80211_iface_work RIP: 0010:do_raw_spin_lock+0x1a8/0x2b0 kernel/locking/spinlock_debug.c:118 Code: 03 65 4c 8b 24 25 40 70 02 00 80 3c 02 00 0f 85 e4 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 65 10 48 c7 04 03 00 00 00 00 <48> 8b 44 24 60 65 48 2b 04 25 28 00 00 00 0f 85 c7 00 00 00 48 83 RSP: 0018:ffffc9000566f7f8 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: 1ffff92000acdf00 RCX: ffffffff815c5710 RDX: 1ffffffff20ec52a RSI: 0000000000000004 RDI: ffffc9000566f820 RBP: ffffffff90762940 R08: 0000000000000001 R09: 0000000000000003 R10: fffff52000acdf04 R11: 000000000000003f R12: ffff88802d0c8280 R13: ffffffff90762950 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000556ac5ac29d8 CR3: 000000000b88e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline] _raw_spin_lock_irqsave+0x41/0x50 kernel/locking/spinlock.c:162 __debug_check_no_obj_freed lib/debugobjects.c:980 [inline] debug_check_no_obj_freed+0xc7/0x420 lib/debugobjects.c:1023 kfree+0xd4/0x2c0 mm/slab.c:3801 ieee802_11_parse_elems_crc+0xb0f/0x1060 net/mac80211/util.c:1522 ieee802_11_parse_elems net/mac80211/ieee80211_i.h:2208 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1605 [inline] ieee80211_ibss_rx_queued_mgmt+0xd0e/0x3130 net/mac80211/ibss.c:1639 ieee80211_iface_process_skb net/mac80211/iface.c:1468 [inline] ieee80211_iface_work+0xa65/0xd00 net/mac80211/iface.c:1522 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 03 65 4c add 0x4c(%rbp),%esp 3: 8b 24 25 40 70 02 00 mov 0x27040,%esp a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) e: 0f 85 e4 00 00 00 jne 0xf8 14: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1b: fc ff df 1e: 4c 89 65 10 mov %r12,0x10(%rbp) 22: 48 c7 04 03 00 00 00 movq $0x0,(%rbx,%rax,1) 29: 00 * 2a: 48 8b 44 24 60 mov 0x60(%rsp),%rax <-- trapping instruction 2f: 65 48 2b 04 25 28 00 sub %gs:0x28,%rax 36: 00 00 38: 0f 85 c7 00 00 00 jne 0x105 3e: 48 rex.W 3f: 83 .byte 0x83