INFO: task syz-executor.1:12750 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D29376 12750 8178 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x3aa/0x760 kernel/locking/rwsem-xadd.c:618 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:748 [inline] do_last fs/namei.c:3324 [inline] path_openat+0x1071/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7feb27f4b0d9 Code: Bad RIP value. RSP: 002b:00007feb2209c168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007feb2806b050 RCX: 00007feb27f4b0d9 RDX: 000000000000275a RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 00007feb27fa6ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc34e678df R14: 00007feb2209c300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1570: #0: 00000000886c0d48 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 4 locks held by kworker/u4:4/2889: #0: 000000003eb8ee85 ((wq_completion)"writeback"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 0000000032d024b5 ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 00000000295fa226 (&type->s_umount_key#57){++++}, at: trylock_super+0x1d/0x100 fs/super.c:412 #3: 00000000fa4a837b (&sbi->gc_mutex){+.+.}, at: f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 3 locks held by kworker/u4:5/3580: 1 lock held by in:imklog/7885: #0: 00000000299aeb01 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 3 locks held by syz-executor.1/12679: 2 locks held by syz-executor.1/12750: #0: 000000005951214e (sb_writers#17){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000005951214e (sb_writers#17){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 00000000d584d060 (&type->i_mutex_dir_key#10){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000d584d060 (&type->i_mutex_dir_key#10){++++}, at: do_last fs/namei.c:3324 [inline] #1: 00000000d584d060 (&type->i_mutex_dir_key#10){++++}, at: path_openat+0x1071/0x2df0 fs/namei.c:3537 2 locks held by syz-executor.2/14983: #0: 00000000295fa226 (&type->s_umount_key#57){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000008006823d (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000008006823d (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1570 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 kernel/hung_task.c:287 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3580 Comm: kworker/u4:5 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: phy10 ieee80211_iface_work RIP: 0010:unwind_next_frame+0x1b5/0x1400 arch/x86/kernel/unwind_orc.c:422 Code: 03 0f 85 14 03 00 00 4d 8d 6e 35 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 0f b6 04 02 4c 89 ea 83 e2 07 38 d0 7f 08 <84> c0 0f 85 8e 07 00 00 4c 89 e1 41 0f b6 46 35 48 ba 00 00 00 00 RSP: 0018:ffff8880a8f4eff0 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 1ffff110151e9e07 RCX: 0000000000000000 RDX: 0000000000000005 RSI: ffff8880a8f4ef80 RDI: ffff8880a8ebd678 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000001 R10: ffff8880a8f4f17f R11: 0000000000074071 R12: ffff8880a8f4f168 R13: ffff8880a8f4f155 R14: ffff8880a8f4f120 R15: 0000000000000060 FS: 0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff5bc41d000 CR3: 00000000a0127000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __save_stack_trace+0x9f/0x190 arch/x86/kernel/stacktrace.c:44 save_stack mm/kasan/kasan.c:448 [inline] set_track mm/kasan/kasan.c:460 [inline] kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:553 slab_post_alloc_hook mm/slab.h:445 [inline] slab_alloc mm/slab.c:3397 [inline] __do_kmalloc mm/slab.c:3725 [inline] __kmalloc+0x144/0x3c0 mm/slab.c:3736 kmalloc include/linux/slab.h:520 [inline] kzalloc include/linux/slab.h:709 [inline] cfg80211_inform_bss_frame_data+0x200/0xeb0 net/wireless/scan.c:1255 ieee80211_bss_info_update+0x42d/0x1800 net/mac80211/scan.c:105 ieee80211_rx_bss_info net/mac80211/ibss.c:1125 [inline] ieee80211_rx_mgmt_probe_beacon+0xb4f/0x15c0 net/mac80211/ibss.c:1607 ieee80211_ibss_rx_queued_mgmt+0xe27/0x18b0 net/mac80211/ibss.c:1634 ieee80211_iface_work+0x5c4/0x8a0 net/mac80211/iface.c:1341 process_one_work+0x864/0x1570 kernel/workqueue.c:2153 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415