INFO: task syz.3.3806:27877 blocked for more than 143 seconds. Not tainted 6.12.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.3806 state:D stack:27504 pid:27877 tgid:27876 ppid:27033 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0xe55/0x5740 kernel/sched/core.c:6693 __schedule_loop kernel/sched/core.c:6770 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6785 schedule_timeout+0x258/0x2a0 kernel/time/timer.c:2591 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common+0x3e1/0x600 kernel/sched/completion.c:116 wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion_state+0x1c/0x40 kernel/sched/completion.c:264 coredump_wait fs/coredump.c:418 [inline] do_coredump+0x82f/0x4160 fs/coredump.c:575 get_signal+0x237c/0x26d0 kernel/signal.c:2903 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x150/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc60cc403c0 RSP: 002b:00007fc60dbbaa78 EFLAGS: 00000246 ORIG_RAX: 000000000000014e RAX: 0000000000000000 RBX: 00007fc60cf35f80 RCX: 00007fc60cd7e719 RDX: 00007fc60dbbaa80 RSI: 00007fc60dbbabb0 RDI: 000000000000000b RBP: 00007fc60cdf175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000008000008 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc60cf35f80 R15: 00007ffd579f6c18 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8ddb7880 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8ddb7880 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8ddb7880 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6720 1 lock held by khugepaged/37: #0: ffffffff8dee3a88 (lock#3){+.+.}-{3:3}, at: __lru_add_drain_all+0x69/0x6f0 mm/swap.c:829 2 locks held by getty/5596: #0: ffff888030e8b0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 2 locks held by kworker/u8:33/14753: 1 lock held by syz.3.3806/27879: 2 locks held by syz.4.4036/29393: 2 locks held by syz.4.4036/29396: #0: ffff88806a6e4420 (sb_writers#5){.+.+}-{0:0}, at: get_signal+0x237c/0x26d0 kernel/signal.c:2903 #1: ffff88806e48f1d0 (&sb->s_type->i_mutex_key#12){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline] #1: ffff88806e48f1d0 (&sb->s_type->i_mutex_key#12){+.+.}-{3:3}, at: shmem_file_write_iter+0x86/0x140 mm/shmem.c:3203 2 locks held by syz.4.4074/29639: 3 locks held by syz.4.4074/29660: 1 lock held by syz.9.4107/29896: 1 lock held by cmp/30333: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf0c/0x1240 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 27879 Comm: syz.3.3806 Not tainted 6.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:sha256_transform_rorx+0x28d/0x1120 arch/x86/crypto/sha256-avx2-asm.S:595 Code: 44 09 e6 45 01 f1 44 01 fb 45 01 f9 41 01 f1 44 89 ce c4 63 7b f0 eb 19 c4 63 7b f0 f3 0b 03 54 3c 0c 44 09 de c5 a5 72 d2 0a <41> 89 cf c4 43 7b f0 e1 0d 45 31 f5 45 31 c7 c5 e5 73 d2 13 c4 63 RSP: 0018:ffffc90004237200 EFLAGS: 00000282 RAX: 00000000ef3abf79 RBX: 000000009cda12f9 RCX: 0000000098a9f668 RDX: 000000003cd9f3a6 RSI: 00000000fdbfdb9e RDI: 0000000000000100 RBP: ffffc90004237420 R08: 00000000f66838bd R09: 000000007d17db9a R10: 0000000034a2c85f R11: 00000000c8a8528e R12: 0000000024228859 R13: 000000006d097cce R14: 000000005f339b42 R15: 000000002cb2b766 FS: 00007fc60db9a6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f41bbd735e8 CR3: 00000000338f2000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lib_sha256_base_do_update include/crypto/sha256_base.h:63 [inline] sha256_base_do_update include/crypto/sha256_base.h:81 [inline] _sha256_update arch/x86/crypto/sha256_ssse3_glue.c:74 [inline] _sha256_update+0x17e/0x220 arch/x86/crypto/sha256_ssse3_glue.c:58 ima_calc_file_hash_tfm+0x302/0x3e0 security/integrity/ima/ima_crypto.c:491 ima_calc_file_shash security/integrity/ima/ima_crypto.c:511 [inline] ima_calc_file_hash+0x1ba/0x490 security/integrity/ima/ima_crypto.c:568 ima_collect_measurement+0x8a7/0xa10 security/integrity/ima/ima_api.c:293 process_measurement+0x1271/0x2370 security/integrity/ima/ima_main.c:372 ima_file_mmap+0x1b1/0x1d0 security/integrity/ima/ima_main.c:462 security_mmap_file+0x8bd/0x990 security/security.c:2979 vm_mmap_pgoff+0xdb/0x360 mm/util.c:584 ksys_mmap_pgoff+0x1c8/0x5c0 mm/mmap.c:542 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:79 [inline] __x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:79 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc60cd7e719 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc60db9a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fc60cf36058 RCX: 00007fc60cd7e719 RDX: 00004000000000df RSI: 0000040000000006 RDI: 0000000000000005 RBP: 00007fc60cdf175e R08: 0000000000000010 R09: 0000300000000000 R10: 0000000000040eb2 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc60cf36058 R15: 00007ffd579f6c18