INFO: task syz-executor.1:26644 blocked for more than 143 seconds. Not tainted 6.6.0-syzkaller-00207-g14ab6d425e80 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:24040 pid:26644 ppid:9938 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x196c/0x4af0 kernel/sched/core.c:6695 schedule+0xc3/0x180 kernel/sched/core.c:6771 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6830 rwsem_down_write_slowpath+0xee6/0x13a0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:802 [inline] process_measurement+0x43b/0x1cf0 security/integrity/ima/ima_main.c:247 ima_file_check+0xf1/0x170 security/integrity/ima/ima_main.c:543 do_open fs/namei.c:3624 [inline] path_openat+0x2893/0x3280 fs/namei.c:3779 do_filp_open+0x234/0x490 fs/namei.c:3809 do_sys_openat2+0x13e/0x1d0 fs/open.c:1440 do_sys_open fs/open.c:1455 [inline] __do_sys_open fs/open.c:1463 [inline] __se_sys_open fs/open.c:1459 [inline] __x64_sys_open+0x225/0x270 fs/open.c:1459 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:0x7f83e0e7cae9 RSP: 002b:00007f83e1c5c0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f83e0f9bf80 RCX: 00007f83e0e7cae9 RDX: 0000000000000000 RSI: 000000000014d27e RDI: 0000000020000180 RBP: 00007f83e0ec847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f83e0f9bf80 R15: 00007fff4a032398 INFO: task syz-executor.1:26666 blocked for more than 144 seconds. Not tainted 6.6.0-syzkaller-00207-g14ab6d425e80 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28168 pid:26666 ppid:9938 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x196c/0x4af0 kernel/sched/core.c:6695 schedule+0xc3/0x180 kernel/sched/core.c:6771 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6830 rwsem_down_write_slowpath+0xee6/0x13a0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:802 [inline] f2fs_ioc_commit_atomic_write fs/f2fs/file.c:2172 [inline] __f2fs_ioctl+0x35a4/0xb9b0 fs/f2fs/file.c:4224 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl+0xf8/0x170 fs/ioctl.c:857 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:0x7f83e0e7cae9 RSP: 002b:00007f83e1c1a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f83e0f9c120 RCX: 00007f83e0e7cae9 RDX: 0000000000008301 RSI: 000000000000f502 RDI: 0000000000000005 RBP: 00007f83e0ec847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f83e0f9c120 R15: 00007fff4a032398 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d32c560 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] #0: ffffffff8d32c560 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] #0: ffffffff8d32c560 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6613 4 locks held by kworker/u4:7/1088: #0: ffff888142261d38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #0: ffff888142261d38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703 #1: ffffc900056b7d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #1: ffffc900056b7d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703 #2: ffff88807cec40e0 (&type->s_umount_key#86){++++}-{3:3}, at: super_trylock_shared+0x22/0xf0 fs/super.c:607 #3: ffff88807e9bd2a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2133 [inline] #3: ffff88807e9bd2a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x500/0x730 fs/f2fs/segment.c:437 2 locks held by getty/4785: #0: ffff88802a6320a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b1/0x1dc0 drivers/tty/n_tty.c:2206 2 locks held by syz-executor.1/26644: #0: ffff88807cec4418 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:404 #1: ffff888082619bd8 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff888082619bd8 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: process_measurement+0x43b/0x1cf0 security/integrity/ima/ima_main.c:247 7 locks held by syz-executor.1/26665: 2 locks held by syz-executor.1/26666: #0: ffff88807cec4418 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write_file+0x61/0x200 fs/namespace.c:448 #1: ffff888082619bd8 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff888082619bd8 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: f2fs_ioc_commit_atomic_write fs/f2fs/file.c:2172 [inline] #1: ffff888082619bd8 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: __f2fs_ioctl+0x35a4/0xb9b0 fs/f2fs/file.c:4224 2 locks held by syz-executor.0/27629: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.6.0-syzkaller-00207-g14ab6d425e80 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/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+0x198/0x310 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfa9/0xff0 kernel/hung_task.c:379 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 58 Comm: kworker/u4:4 Not tainted 6.6.0-syzkaller-00207-g14ab6d425e80 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Workqueue: events_unbound cfg80211_wiphy_work RIP: 0010:find_stack lib/stackdepot.c:351 [inline] RIP: 0010:__stack_depot_save+0x15a/0x650 lib/stackdepot.c:390 Code: 48 8b 2d f1 83 a6 0d 8b 1d e7 83 a6 0d 44 21 f3 4c 8b 64 dd 00 45 89 c5 eb 04 4d 8b 24 24 4d 85 e4 74 2c 45 39 74 24 08 75 f0 <45> 39 44 24 0c 75 e9 31 c0 49 8b 0c c7 49 3b 4c c4 18 75 dc 48 ff RSP: 0018:ffffc900015977f8 EFLAGS: 00000246 RAX: 000000005cd0bb7e RBX: 00000000000f589e RCX: 00000000fd3d3526 RDX: ffffc900015978a4 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff88823b400000 R08: 000000000000000b R09: ffffffff813db4e7 R10: 0000000000000002 R11: ffff888015ebd940 R12: ffff88807a5cdb60 R13: 000000000000000b R14: 00000000217f589e R15: ffffc90001597850 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd955378038 CR3: 0000000027de7000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x61/0x70 mm/kasan/common.c:52 kasan_save_free_info+0x28/0x40 mm/kasan/generic.c:522 ____kasan_slab_free+0xd6/0x120 mm/kasan/common.c:236 kasan_slab_free include/linux/kasan.h:164 [inline] slab_free_hook mm/slub.c:1800 [inline] slab_free_freelist_hook mm/slub.c:1826 [inline] slab_free mm/slub.c:3809 [inline] kmem_cache_free+0x292/0x500 mm/slub.c:3831 kfree_skb include/linux/skbuff.h:1234 [inline] ieee80211_iface_work+0x264/0xcf0 net/mac80211/iface.c:1660 cfg80211_wiphy_work+0x21e/0x250 net/wireless/core.c:435 process_one_work kernel/workqueue.c:2630 [inline] process_scheduled_works+0x90f/0x1400 kernel/workqueue.c:2703 worker_thread+0xa5f/0xff0 kernel/workqueue.c:2784 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304