INFO: task syz.3.123:6383 blocked in I/O wait for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.123 state:D stack:23240 pid:6383 tgid:6381 ppid:5602 task_flags:0x400140 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5388 [inline] __schedule+0x16ec/0x5620 kernel/sched/core.c:7189 __schedule_loop kernel/sched/core.c:7268 [inline] schedule+0x164/0x360 kernel/sched/core.c:7283 io_schedule+0x7f/0xd0 kernel/sched/core.c:8110 folio_wait_bit_common+0x6dd/0xbc0 mm/filemap.c:1324 __folio_lock mm/filemap.c:1705 [inline] folio_lock include/linux/pagemap.h:1159 [inline] __filemap_get_folio_mpol+0x16d/0xa50 mm/filemap.c:1960 __filemap_get_folio include/linux/pagemap.h:763 [inline] attr_make_nonresident+0x87e/0xbc0 fs/ntfs3/attrib.c:322 attr_set_size_res fs/ntfs3/attrib.c:401 [inline] attr_set_size_ex+0x20db/0x2e50 fs/ntfs3/attrib.c:466 attr_set_size fs/ntfs3/ntfs_fs.h:463 [inline] ntfs_set_size+0x169/0x240 fs/ntfs3/inode.c:699 ntfs_extend+0x13e/0x540 fs/ntfs3/file.c:370 ntfs_setattr+0x2eb/0x9a0 fs/ntfs3/file.c:753 notify_change+0xc18/0xf60 fs/attr.c:556 do_truncate+0x1c2/0x250 fs/open.c:68 vfs_truncate+0x4b7/0x540 fs/open.c:118 ksys_truncate+0xf3/0x1c0 fs/open.c:142 __do_sys_truncate fs/open.c:154 [inline] __se_sys_truncate fs/open.c:152 [inline] __x64_sys_truncate+0x5b/0x70 fs/open.c:152 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0x560 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8604e5ce59 RSP: 002b:00007f86030ae028 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 00007f86050d5fa0 RCX: 00007f8604e5ce59 RDX: 0000000000000000 RSI: 0000000000008da6 RDI: 0000200000000940 RBP: 00007f8604ef2d6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f86050d6038 R14: 00007f86050d5fa0 R15: 00007ffe2f3b0628 INFO: task syz.3.123:6390 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.123 state:D stack:22400 pid:6390 tgid:6381 ppid:5602 task_flags:0x400140 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5388 [inline] __schedule+0x16ec/0x5620 kernel/sched/core.c:7189 __schedule_loop kernel/sched/core.c:7268 [inline] rt_mutex_schedule+0x76/0xf0 kernel/sched/core.c:7564 rt_mutex_slowlock_block kernel/locking/rtmutex.c:1662 [inline] __rt_mutex_slowlock kernel/locking/rtmutex.c:1739 [inline] __rt_mutex_slowlock_locked+0x1f28/0x2550 kernel/locking/rtmutex.c:1779 __rwbase_read_lock+0xc3/0x180 kernel/locking/rwbase_rt.c:114 rwbase_read_lock kernel/locking/rwbase_rt.c:147 [inline] __down_read kernel/locking/rwsem.c:1496 [inline] down_read+0x132/0x200 kernel/locking/rwsem.c:1570 attr_data_get_block+0xc5/0x310 fs/ntfs3/attrib.c:964 ntfs_iomap_begin+0x55b/0xfd0 fs/ntfs3/inode.c:774 iomap_iter+0x600/0xf90 fs/iomap/iter.c:110 iomap_read_folio+0x328/0x680 fs/iomap/buffered-io.c:600 ntfs_read_folio+0x3f0/0x4b0 fs/ntfs3/inode.c:653 filemap_read_folio+0x137/0x3b0 mm/filemap.c:2502 filemap_create_folio mm/filemap.c:2640 [inline] filemap_get_pages+0xc4e/0x1e70 mm/filemap.c:2702 filemap_read+0x44a/0x1240 mm/filemap.c:2806 __kernel_read+0x50d/0x9c0 fs/read_write.c:532 integrity_kernel_read+0x89/0xd0 security/integrity/iint.c:28 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:222 [inline] ima_calc_file_hash+0x452/0x870 security/integrity/ima/ima_crypto.c:280 ima_collect_measurement+0x523/0x9d0 security/integrity/ima/ima_api.c:300 process_measurement+0x12d9/0x1c90 security/integrity/ima/ima_main.c:425 ima_file_check+0xe1/0x130 security/integrity/ima/ima_main.c:685 security_file_post_open+0xb3/0x260 security/security.c:2755 do_open fs/namei.c:4701 [inline] path_openat+0x2e88/0x38a0 fs/namei.c:4858 do_file_open+0x23e/0x4a0 fs/namei.c:4887 do_sys_openat2+0x113/0x200 fs/open.c:1364 do_sys_open fs/open.c:1370 [inline] __do_sys_openat fs/open.c:1386 [inline] __se_sys_openat fs/open.c:1381 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1381 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0x560 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8604e5ce59 RSP: 002b:00007f860308d028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f86050d6090 RCX: 00007f8604e5ce59 RDX: 0000000000000042 RSI: 0000200000000040 RDI: ffffffffffffff9c RBP: 00007f8604ef2d6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f86050d6128 R14: 00007f86050d6090 R15: 00007ffe2f3b0628 Showing all locks held in the system: 4 locks held by pr/legacy/17: 1 lock held by khungtaskd/38: #0: ffffffff8dfc80c0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline] #0: ffffffff8dfc80c0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffffffff8dfc80c0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775 3 locks held by kworker/u8:3/56: 2 locks held by getty/5354: #0: ffff8880370130a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90003cbe2e0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x462/0x13a0 drivers/tty/n_tty.c:2211 3 locks held by syz-executor/5588: 2 locks held by syz-executor/5601: 2 locks held by syz-executor/5604: #0: ffff888033d56480 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:493 #1: ffff888065d59278 (&type->i_mutex_dir_key#5/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:1074 [inline] #1: ffff888065d59278 (&type->i_mutex_dir_key#5/1){+.+.}-{4:4}, at: __start_dirop fs/namei.c:2914 [inline] #1: ffff888065d59278 (&type->i_mutex_dir_key#5/1){+.+.}-{4:4}, at: start_dirop fs/namei.c:2938 [inline] #1: ffff888065d59278 (&type->i_mutex_dir_key#5/1){+.+.}-{4:4}, at: filename_rmdir+0x1cd/0x520 fs/namei.c:5414 1 lock held by udevd/5713: 5 locks held by udevd/5824: 1 lock held by udevd/5829: #0: ffff88803793c480 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:493 1 lock held by udevd/5895: #0: ffff88803793c480 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:493 4 locks held by syz.3.123/6383: #0: ffff888064936480 (sb_writers#15){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:493 #1: ffff888066546660 (&sb->s_type->i_mutex_key#26){+.+.}-{4:4}, at: inode_lock_killable include/linux/fs.h:1034 [inline] #1: ffff888066546660 (&sb->s_type->i_mutex_key#26){+.+.}-{4:4}, at: do_truncate+0x18f/0x250 fs/open.c:63 #2: ffff8880665463a8 (&ni->ni_lock/5){+.+.}-{4:4}, at: ni_lock fs/ntfs3/ntfs_fs.h:1212 [inline] #2: ffff8880665463a8 (&ni->ni_lock/5){+.+.}-{4:4}, at: ntfs_set_size+0x134/0x240 fs/ntfs3/inode.c:696 #3: ffff888066546448 (&ni->file.run_lock#3){++++}-{4:4}, at: ntfs_set_size+0x143/0x240 fs/ntfs3/inode.c:697 3 locks held by syz.3.123/6390: #0: ffff8880346a1158 (&ima_iint_mutex_key[depth]){+.+.}-{4:4}, at: process_measurement+0x7fd/0x1c90 security/integrity/ima/ima_main.c:319 #1: ffff888066546830 (mapping.invalidate_lock#8){++++}-{4:4}, at: filemap_invalidate_lock_shared include/linux/fs.h:1094 [inline] #1: ffff888066546830 (mapping.invalidate_lock#8){++++}-{4:4}, at: filemap_create_folio mm/filemap.c:2631 [inline] #1: ffff888066546830 (mapping.invalidate_lock#8){++++}-{4:4}, at: filemap_get_pages+0xb39/0x1e70 mm/filemap.c:2702 #2: ffff888066546448 (&ni->file.run_lock#3){++++}-{4:4}, at: attr_data_get_block+0xc5/0x310 fs/ntfs3/attrib.c:964 2 locks held by syz-executor/7280: #0: ffff888035c760d0 (&type->s_umount_key#58){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff888035c760d0 (&type->s_umount_key#58){++++}-{4:4}, at: __super_lock_excl fs/super.c:73 [inline] #0: ffff888035c760d0 (&type->s_umount_key#58){++++}-{4:4}, at: deactivate_super+0xa9/0xe0 fs/super.c:508 #1: ffff888034125150 (&(log)->loglock){+.+.}-{4:4}, at: jfs_umount+0x17f/0x3d0 fs/jfs/jfs_umount.c:66 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 38 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 nmi_cpu_backtrace+0x274/0x2d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] __sys_info lib/sys_info.c:157 [inline] sys_info+0x135/0x170 lib/sys_info.c:165 check_hung_uninterruptible_tasks kernel/hung_task.c:353 [inline] watchdog+0xfd3/0x1030 kernel/hung_task.c:561 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 17 Comm: pr/legacy Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026 RIP: 0010:io_serial_in+0x77/0xc0 drivers/tty/serial/8250/8250_port.c:401 Code: e8 ae e8 8f fc 44 89 f9 d3 e3 49 83 ee 80 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 6f 01 f7 fc 41 03 1e 89 da ec <0f> b6 c0 5b 41 5c 41 5e 41 5f c3 cc cc cc cc cc 44 89 f9 80 e1 07 RSP: 0018:ffffc900001679d0 EFLAGS: 00000202 RAX: 1ffffffff3364000 RBX: 00000000000003fd RCX: 0000000000000000 RDX: 00000000000003fd RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffffff99b20970 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffffff85348260 R12: dffffc0000000000 R13: 0000000000000000 R14: ffffffff99b206e0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888126170000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007feb16cded12 CR3: 0000000038256000 CR4: 00000000003526f0 Call Trace: serial_in drivers/tty/serial/8250/8250.h:128 [inline] serial_lsr_in drivers/tty/serial/8250/8250.h:150 [inline] wait_for_lsr+0x1aa/0x2f0 drivers/tty/serial/8250/8250_port.c:1970 serial8250_fifo_wait_for_lsr_thre drivers/tty/serial/8250/8250_port.c:3207 [inline] serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3272 [inline] serial8250_console_write+0x120d/0x1b90 drivers/tty/serial/8250/8250_port.c:3357 console_emit_next_record kernel/printk/printk.c:3163 [inline] console_flush_one_record+0x68b/0xb90 kernel/printk/printk.c:3269 legacy_kthread_func+0x1b6/0x250 kernel/printk/printk.c:3712 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245