INFO: task syz-executor.2:16145 blocked for more than 143 seconds. Not tainted 6.3.0-syzkaller-11733-g825a0714d2b3 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:26936 pid:16145 ppid:5035 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:775 [inline] process_measurement+0x435/0x1ce0 security/integrity/ima/ima_main.c:243 ima_file_check+0xf1/0x170 security/integrity/ima/ima_main.c:539 do_open fs/namei.c:3638 [inline] path_openat+0x280a/0x3170 fs/namei.c:3791 do_filp_open+0x234/0x490 fs/namei.c:3818 do_sys_openat2+0x13f/0x500 fs/open.c:1356 do_sys_open fs/open.c:1372 [inline] __do_sys_open fs/open.c:1380 [inline] __se_sys_open fs/open.c:1376 [inline] __x64_sys_open+0x225/0x270 fs/open.c:1376 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fcbc708c169 RSP: 002b:00007fcbbebbc168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fcbc71ac120 RCX: 00007fcbc708c169 RDX: 0000000000000000 RSI: 0000000000040542 RDI: 0000000020000100 RBP: 00007fcbc70e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdc438945f R14: 00007fcbbebbc300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8cf277b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/14: #0: ffffffff8cf27b70 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/28: #0: ffffffff8cf275e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/u4:4/56: 2 locks held by getty/4745: #0: ffff88814a6de098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2176 4 locks held by kworker/u4:10/8400: #0: ffff88801329d938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc900036dfd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 #2: ffff88802b7a80e0 (&type->s_umount_key#80){++++}-{3:3}, at: trylock_super+0x1f/0xf0 fs/super.c:414 #3: ffff88801f18d2a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2112 [inline] #3: ffff88801f18d2a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x51a/0x6f0 fs/f2fs/segment.c:435 5 locks held by syz-executor.2/16144: 1 lock held by syz-executor.2/16145: #0: ffff888037fd1bd8 (&sb->s_type->i_mutex_key#23){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline] #0: ffff888037fd1bd8 (&sb->s_type->i_mutex_key#23){+.+.}-{3:3}, at: process_measurement+0x435/0x1ce0 security/integrity/ima/ima_main.c:243 2 locks held by syz-executor.3/17438: #0: ffff88802b7a80e0 (&type->s_umount_key#80){++++}-{3:3}, at: iterate_supers+0xb0/0x1e0 fs/super.c:743 #1: ffff88814075e7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] #1: ffff88814075e7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x278/0xab0 fs/fs-writeback.c:2728 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.3.0-syzkaller-11733-g825a0714d2b3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x187/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xec2/0xf00 kernel/hung_task.c:379 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 56 Comm: kworker/u4:4 Not tainted 6.3.0-syzkaller-11733-g825a0714d2b3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Workqueue: phy4 ieee80211_iface_work RIP: 0010:kernel_text_address+0x5/0xe0 kernel/extable.c:95 Code: cb 0f 93 c1 48 c7 c2 2b 87 ad 8f 48 39 d3 0f 92 c2 20 ca 08 c2 0f b6 c2 5b c3 66 2e 0f 1f 84 00 00 00 00 00 90 66 0f 1f 00 55 <41> 56 53 48 89 fb 48 c7 c0 00 00 00 81 bd 01 00 00 00 48 39 c7 72 RSP: 0018:ffffc90001577740 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffffff81e2a7d7 RCX: 0000000080000000 RDX: dffffc0000000000 RSI: ffffc90001570000 RDI: ffffffff81e2a7d7 RBP: ffffc90001577810 R08: ffffc90001577b70 R09: 0000000000000000 R10: ffffc900015777d0 R11: dffffc0000000001 R12: ffff8880166a5940 R13: ffffffff8179d150 R14: dffffc0000000000 R15: 1ffff920002aeef9 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00081df18 CR3: 000000000cd30000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __kernel_text_address+0xd/0x40 kernel/extable.c:79 unwind_get_return_address+0x4d/0x90 arch/x86/kernel/unwind_orc.c:341 arch_stack_walk+0xf7/0x140 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x117/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4f/0x70 mm/kasan/common.c:52 kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:521 ____kasan_slab_free+0xd6/0x120 mm/kasan/common.c:236 kasan_slab_free include/linux/kasan.h:162 [inline] slab_free_hook mm/slub.c:1781 [inline] slab_free_freelist_hook mm/slub.c:1807 [inline] slab_free mm/slub.c:3786 [inline] kmem_cache_free+0x297/0x520 mm/slub.c:3808 kfree_skb include/linux/skbuff.h:1236 [inline] ieee80211_iface_work+0x264/0xd00 net/mac80211/iface.c:1650 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405 worker_thread+0xa63/0x1210 kernel/workqueue.c:2552 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308