INFO: task kworker/u4:1:144 blocked for more than 143 seconds. Not tainted 5.15.167-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:1 state:D stack:21856 pid: 144 ppid: 2 flags:0x00004000 Workqueue: writeback wb_workfn (flush-7:4) Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 rwsem_down_write_slowpath+0xf0c/0x16a0 kernel/locking/rwsem.c:1165 f2fs_balance_fs+0x4d4/0x6a0 fs/f2fs/segment.c:528 f2fs_write_inode+0x4c3/0x540 fs/f2fs/inode.c:736 write_inode fs/fs-writeback.c:1495 [inline] __writeback_single_inode+0x644/0xe30 fs/fs-writeback.c:1705 writeback_sb_inodes+0xbce/0x1a40 fs/fs-writeback.c:1930 __writeback_inodes_wb+0x114/0x400 fs/fs-writeback.c:2001 wb_writeback+0x465/0xc50 fs/fs-writeback.c:2106 wb_check_background_flush fs/fs-writeback.c:2172 [inline] wb_do_writeback fs/fs-writeback.c:2260 [inline] wb_workfn+0xd07/0x1130 fs/fs-writeback.c:2288 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91fc60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 4 locks held by kworker/u4:1/144: #0: ffff8881407f4938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900010afd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff88801a1900e0 (&type->s_umount_key#112){++++}-{3:3}, at: trylock_super+0x1b/0xf0 fs/super.c:418 #3: ffff888078971108 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x4d4/0x6a0 fs/f2fs/segment.c:528 2 locks held by getty/3324: #0: ffff88814ba28098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc9000208e2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 1 lock held by syz-executor/3557: 3 locks held by kworker/u4:6/3653: 1 lock held by udevd/4120: 6 locks held by syz.4.258/4625: 1 lock held by syz-executor/6001: 2 locks held by syz.3.700/6063: #0: ffff88801a1900e0 (&type->s_umount_key#112){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:714 #1: ffff8881474ae7d8 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline] #1: ffff8881474ae7d8 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xab0 fs/fs-writeback.c:2768 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3580 Comm: udevd Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:aa_cred_raw_label security/apparmor/include/cred.h:49 [inline] RIP: 0010:aa_current_raw_label security/apparmor/include/cred.h:89 [inline] RIP: 0010:__begin_current_label_crit_section security/apparmor/include/cred.h:140 [inline] RIP: 0010:common_file_perm+0xd7/0x1d0 security/apparmor/lsm.c:474 Code: 03 42 80 3c 30 00 74 08 48 89 df e8 73 5b fd fd 48 63 2d 9c 9a 6e 08 48 03 2b 4c 89 64 24 08 0f 84 bc 00 00 00 e8 39 91 b3 fd <45> 89 fc 48 89 e8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 ef e8 40 RSP: 0018:ffffc90002ec7c28 EFLAGS: 00000293 RAX: ffffffff83ccc937 RBX: ffff88801c193090 RCX: ffff88807de80000 RDX: 0000000000000000 RSI: ffff88807e94db80 RDI: ffffffff8ad36280 RBP: ffff88802879a788 R08: ffffffff81d4f092 R09: ffffed10050ff2d1 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8ad36280 R13: ffff88807e94db80 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f5e6cb27c80(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7fa95f1f88 CR3: 000000006575d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: security_file_permission+0x65/0xa0 security/security.c:1521 rw_verify_area fs/read_write.c:389 [inline] vfs_read+0x253/0xe10 fs/read_write.c:476 ksys_read+0x1a2/0x2c0 fs/read_write.c:623 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5e6cc52b6a Code: 00 3d 00 00 41 00 75 0d 50 48 8d 3d 2d 08 0a 00 e8 ea 7d 01 00 31 c0 e9 07 ff ff ff 64 8b 04 25 18 00 00 00 85 c0 75 1b 0f 05 <48> 3d 00 f0 ff ff 76 6c 48 8b 15 8f a2 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007fffc3d4d928 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5e6cc52b6a RDX: 0000000000000080 RSI: 00007fffc3d4da18 RDI: 0000000000000003 RBP: 00007fffc3d4d968 R08: 0000000000000007 R09: 64b907a1ed9e38dd R10: 00000000ffffffff R11: 0000000000000246 R12: 00005580c61b3830 R13: 00007fffc3d4d968 R14: 0000000000000001 R15: 00005580c6181910