INFO: task syz-executor:5014 blocked for more than 143 seconds. Not tainted 5.15.180-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:20504 pid: 5014 ppid: 1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 wb_wait_for_completion+0x164/0x290 fs/fs-writeback.c:191 __writeback_inodes_sb_nr+0x2ce/0x370 fs/fs-writeback.c:2684 sync_filesystem+0xa0/0x220 fs/sync.c:54 generic_shutdown_super+0x6b/0x310 fs/super.c:448 kill_block_super+0x7a/0xe0 fs/super.c:1427 kill_f2fs_super+0x2ff/0x3c0 fs/f2fs/super.c:4538 deactivate_locked_super+0xa0/0x110 fs/super.c:335 cleanup_mnt+0x44e/0x500 fs/namespace.c:1143 task_work_run+0x129/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0x80 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fd044d8d497 RSP: 002b:00007fff2a088608 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fd044e0d08c RCX: 00007fd044d8d497 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff2a0886c0 RBP: 00007fff2a0886c0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff2a089750 R13: 00007fd044e0d08c R14: 000000000001d2b0 R15: 00007fff2a089790 Showing all locks held in the system: 5 locks held by kworker/u4:0/9: 1 lock held by khungtaskd/27: #0: ffffffff8cb1f4e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 4 locks held by kworker/u4:2/154: 4 locks held by kworker/u4:3/477: 4 locks held by kworker/u4:4/1458: 2 locks held by getty/3928: #0: ffff88802c395098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900025c62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 1 lock held by syz-executor/5014: #0: ffff888078ef00e0 (&type->s_umount_key#54){+.+.}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:365 1 lock held by syz-executor/5250: #0: ffff88807c0560e0 (&type->s_umount_key#54){+.+.}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:365 1 lock held by syz-executor/5271: #0: ffff888057d580e0 (&type->s_umount_key#54){+.+.}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:365 1 lock held by syz-executor/5318: #0: ffff88807f2bc0e0 (&type->s_umount_key#54){+.+.}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:365 2 locks held by kworker/u4:7/5330: 2 locks held by syz-executor/5365: #0: ffff888020d3a118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfb/0x790 block/bdev.c:915 #1: ffff888147530468 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xa9/0xbe0 drivers/block/loop.c:1365 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 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:212 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:369 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: 5365 Comm: syz-executor Not tainted 5.15.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:check_preemption_disabled+0x63/0x110 lib/smp_processor_id.c:19 Code: 44 24 08 0f 85 c7 00 00 00 89 d8 48 83 c4 10 5b 41 5c 41 5e 41 5f c3 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 <74> c9 49 89 f6 49 89 ff 65 4c 8b 25 6d 2c c3 75 41 f6 44 24 2f 04 RSP: 0018:ffffc9000350f308 EFLAGS: 00000046 RAX: 0000000080000000 RBX: 0000000000000000 RCX: 1ffff920006a1e14 RDX: dffffc0000000000 RSI: ffffffff8aab2b80 RDI: ffffffff8af9e940 RBP: ffffc9000350f490 R08: dffffc0000000000 R09: fffffbfff2131819 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920006a1e70 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000246 FS: 0000555570548500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0bc9edbf98 CR3: 0000000025ee9000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_finish kernel/locking/lockdep.c:436 [inline] lock_acquire+0x1eb/0x4f0 kernel/locking/lockdep.c:5625 rcu_lock_acquire+0x20/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] percpu_ref_put_many include/linux/percpu-refcount.h:317 [inline] percpu_ref_put+0x16/0x150 include/linux/percpu-refcount.h:338 css_put include/linux/cgroup.h:405 [inline] uncharge_batch+0x329/0x490 mm/memcontrol.c:6910 __mem_cgroup_uncharge_list+0xf8/0x150 mm/memcontrol.c:7008 mem_cgroup_uncharge_list include/linux/memcontrol.h:720 [inline] release_pages+0x1bb1/0x1f40 mm/swap.c:962 __pagevec_release+0x80/0xf0 mm/swap.c:983 pagevec_release include/linux/pagevec.h:81 [inline] shmem_undo_range+0x67a/0x1b50 mm/shmem.c:964 shmem_truncate_range mm/shmem.c:1063 [inline] shmem_evict_inode+0x21b/0xa00 mm/shmem.c:1145 evict+0x529/0x930 fs/inode.c:647 __dentry_kill+0x436/0x650 fs/dcache.c:586 dentry_kill+0xbb/0x290 fs/dcache.c:-1 dput+0xd8/0x1a0 fs/dcache.c:893 __fput+0x636/0x8e0 fs/file_table.c:319 task_work_run+0x129/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0x80 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f0bcacae497 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007fffab2fb278 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f0bcad2e08c RCX: 00007f0bcacae497 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fffab2fb330 RBP: 00007fffab2fb330 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fffab2fc3c0 R13: 00007f0bcad2e08c R14: 000000000004182c R15: 00007fffab2fc400