INFO: task syz.5.353:7773 blocked for more than 143 seconds. Not tainted 6.13.0-rc3-next-20241220-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.5.353 state:D stack:21968 pid:7773 tgid:7772 ppid:6111 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5371 [inline] __schedule+0x189f/0x4c80 kernel/sched/core.c:6758 __schedule_loop kernel/sched/core.c:6835 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6850 bit_wait+0x12/0xd0 kernel/sched/wait_bit.c:237 __wait_on_bit+0xb0/0x2f0 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0x1d5/0x260 kernel/sched/wait_bit.c:64 wait_on_bit include/linux/wait_bit.h:77 [inline] netfs_dispatch_unbuffered_reads fs/netfs/direct_read.c:107 [inline] netfs_unbuffered_read fs/netfs/direct_read.c:146 [inline] netfs_unbuffered_read_iter_locked+0xd83/0x1540 fs/netfs/direct_read.c:231 netfs_unbuffered_read_iter+0xbf/0xe0 fs/netfs/direct_read.c:266 __kernel_read+0x52e/0xa00 fs/read_write.c:523 integrity_kernel_read+0xb0/0x100 security/integrity/iint.c:28 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:480 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:511 [inline] ima_calc_file_hash+0xae6/0x1b30 security/integrity/ima/ima_crypto.c:568 ima_collect_measurement+0x520/0xb10 security/integrity/ima/ima_api.c:293 process_measurement+0x1351/0x1fb0 security/integrity/ima/ima_main.c:372 ima_file_check+0xd9/0x120 security/integrity/ima/ima_main.c:600 security_file_post_open+0xb9/0x280 security/security.c:3130 do_open fs/namei.c:3830 [inline] path_openat+0x2cbd/0x3580 fs/namei.c:3987 do_filp_open+0x27f/0x4e0 fs/namei.c:4014 do_sys_openat2+0x13e/0x1d0 fs/open.c:1427 do_sys_open fs/open.c:1442 [inline] __do_sys_openat fs/open.c:1458 [inline] __se_sys_openat fs/open.c:1453 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1453 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2cea985d29 RSP: 002b:00007f2ceb80e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f2ceab75fa0 RCX: 00007f2cea985d29 RDX: 0000000000020842 RSI: 000000002000c380 RDI: ffffffffffffff9c RBP: 00007f2ceaa01aa8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f2ceab75fa0 R15: 00007fff20ee3858 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: 1 lock held by khungtaskd/31: #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 2 locks held by getty/5591: #0: ffff8880357420a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 1 lock held by syz-executor/5830: #0: ffff8880603e40e0 (&type->s_umount_key#52){+.+.}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880603e40e0 (&type->s_umount_key#52){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880603e40e0 (&type->s_umount_key#52){+.+.}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 3 locks held by kworker/u8:12/6561: 2 locks held by syz.5.353/7773: #0: ffff888031ffee38 (&ima_iint_mutex_key[depth]){+.+.}-{4:4}, at: process_measurement+0x7a6/0x1fb0 security/integrity/ima/ima_main.c:269 #1: ffff8880483a8148 (&sb->s_type->i_mutex_key#38){++++}-{4:4}, at: netfs_start_io_direct+0x1d4/0x210 fs/netfs/locking.c:188 1 lock held by syz.3.723/9555: 2 locks held by syz.6.729/9591: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.13.0-rc3-next-20241220-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline] watchdog+0xff6/0x1040 kernel/hung_task.c:397 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 5830 Comm: syz-executor Not tainted 6.13.0-rc3-next-20241220-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:io_serial_out+0x7e/0xc0 drivers/tty/serial/8250/8250_port.c:416 Code: fc 89 e9 41 d3 e7 48 83 c3 40 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 7c e0 af fc 44 03 3b 44 89 f0 44 89 fa ee <5b> 41 5c 41 5e 41 5f 5d c3 cc cc cc cc 89 e9 80 e1 07 38 c1 7c a7 RSP: 0018:ffffc90003e9e710 EFLAGS: 00000002 RAX: 0000000000000030 RBX: ffffffff9a723fe0 RCX: 0000000000000000 RDX: 00000000000003f8 RSI: 0000000000000000 RDI: 0000000000000020 RBP: 0000000000000000 R08: ffffffff8575befb R09: 1ffff110049a6046 R10: dffffc0000000000 R11: ffffffff8575beb0 R12: dffffc0000000000 R13: ffffffff9a41ef2d R14: 0000000000000030 R15: 00000000000003f8 FS: 000055559183a500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055558ba745c8 CR3: 00000000663c8000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: serial8250_console_write+0x14ed/0x1ed0 drivers/tty/serial/8250/8250_port.c:3413 console_emit_next_record kernel/printk/printk.c:3122 [inline] console_flush_all+0x869/0xeb0 kernel/printk/printk.c:3210 __console_flush_and_unlock kernel/printk/printk.c:3269 [inline] console_unlock+0x14f/0x3b0 kernel/printk/printk.c:3309 vprintk_emit+0x730/0xa10 kernel/printk/printk.c:2432 _printk+0xd5/0x120 kernel/printk/printk.c:2457 bio_check_eod block/blk-core.c:557 [inline] submit_bio_noacct+0xfcd/0x1900 block/blk-core.c:784 __submit_merged_bio+0x2a9/0x710 fs/f2fs/data.c:535 __f2fs_submit_merged_write fs/f2fs/data.c:631 [inline] __submit_merged_write_cond fs/f2fs/data.c:653 [inline] f2fs_submit_merged_write_cond+0x28a/0x360 fs/f2fs/data.c:670 f2fs_write_cache_pages fs/f2fs/data.c:3227 [inline] __f2fs_write_data_pages fs/f2fs/data.c:3312 [inline] f2fs_write_data_pages+0x2c18/0x3630 fs/f2fs/data.c:3339 do_writepages+0x35f/0x880 mm/page-writeback.c:2681 filemap_fdatawrite_wbc mm/filemap.c:398 [inline] __filemap_fdatawrite_range mm/filemap.c:431 [inline] __filemap_fdatawrite mm/filemap.c:437 [inline] filemap_fdatawrite+0x1f3/0x2a0 mm/filemap.c:442 f2fs_sync_dirty_inodes+0x348/0x860 fs/f2fs/checkpoint.c:1124 block_operations fs/f2fs/checkpoint.c:1262 [inline] f2fs_write_checkpoint+0x840/0x1c80 fs/f2fs/checkpoint.c:1666 kill_f2fs_super+0x27d/0x690 fs/f2fs/super.c:4953 deactivate_locked_super+0xc4/0x130 fs/super.c:473 cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1414 task_work_run+0x24f/0x310 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x13f/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8c89b87057 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:00007ffc23558498 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f8c89c01894 RCX: 00007f8c89b87057 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc23558550 RBP: 00007ffc23558550 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffc235595d0 R13: 00007f8c89c01894 R14: 00007ffc23559610 R15: 00000000000000aa