INFO: task syz.2.535:8610 blocked for more than 143 seconds. Not tainted 6.12.0-syzkaller-00233-g9fb2cfa4635a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.535 state:D stack:28608 pid:8610 tgid:8606 ppid:5840 flags:0x00000004 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:0x7f15eb17e759 RSP: 002b:00007f15ebf280e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007f15eb336060 RCX: 00007f15eb17e759 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f15eb336064 RBP: 00007f15eb336058 R08: 00007f15ebf4a080 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f15eb336064 R13: 0000000000000000 R14: 00007ffc5c6f9be0 R15: 00007ffc5c6f9cc8 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8ddb7980 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8ddb7980 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8ddb7980 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6720 2 locks held by dhcpcd/5508: #0: ffff88802bbde6c8 (nlk_cb_mutex-ROUTE){+.+.}-{3:3}, at: __netlink_dump_start+0x154/0x980 net/netlink/af_netlink.c:2395 #1: ffffffff8fac8668 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #1: ffffffff8fac8668 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_dumpit+0x18f/0x1f0 net/core/rtnetlink.c:6534 2 locks held by getty/5601: #0: ffff8880345e80a0 (&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:25/6767: #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x1212/0x1b30 kernel/workqueue.c:3204 #1: ffffc9000347fd80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 1 lock held by syz.2.535/8607: 2 locks held by syz.4.636/9034: #0: ffff8880271b00e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880271b00e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880271b00e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d5ee8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz.5.645/9077: #0: ffffffff8fb66650 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8e1d5ee8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_nl_listener_set_doit+0xe3/0x1b40 fs/nfsd/nfsctl.c:1964 2 locks held by syz.6.712/9382: #0: ffff888070c1a0e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff888070c1a0e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff888070c1a0e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d5ee8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz.1.743/9496: #0: ffff8880758b00e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880758b00e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880758b00e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d5ee8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 2 locks held by syz.7.745/9505: #0: ffff8880619000e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880619000e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880619000e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d5ee8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 1 lock held by syz.7.745/9509: #0: ffff8880619000e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880619000e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: super_lock+0x176/0x3f0 fs/super.c:120 2 locks held by syz-executor/9702: #0: ffff88807c1540e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88807c1540e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88807c1540e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:505 #1: ffffffff8e1d5ee8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625 7 locks held by syz-executor/10183: #0: ffff88803022a420 (sb_writers#8){.+.+}-{0:0}, at: ksys_write+0x12b/0x250 fs/read_write.c:731 #1: ffff8880381f2888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x27b/0x500 fs/kernfs/file.c:325 #2: ffff8880275e11e8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x29e/0x500 fs/kernfs/file.c:326 #3: ffffffff8f06e2a8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xd2/0x4b0 drivers/net/netdevsim/bus.c:216 #4: ffff888045c570e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #4: ffff888045c570e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff888045c570e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1293 #5: ffff888045c54250 (&devlink->lock_key#14){+.+.}-{3:3}, at: nsim_drv_remove+0x4a/0x1d0 drivers/net/netdevsim/dev.c:1675 #6: ffffffff8ddc3140 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x700 kernel/rcu/tree.c:4562 2 locks held by syz-executor/10343: 1 lock held by syz.0.891/10357: 2 locks held by syz.0.891/10362: 2 locks held by syz.0.891/10363: 3 locks held by syz.0.891/10366: 2 locks held by syz.0.891/10367: 2 locks held by syz.0.891/10368: 2 locks held by syz.0.891/10372: 4 locks held by syz.0.891/10374: 2 locks held by syz.0.891/10375: 3 locks held by syz.0.891/10376: 2 locks held by syz.0.891/10377: 2 locks held by syz-executor/10383: #0: ffffffff8fac8668 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fac8668 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6672 #1: ffffffff8ddc3278 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x282/0x3b0 kernel/rcu/tree_exp.h:297 2 locks held by syz.0.903/10486: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-syzkaller-00233-g9fb2cfa4635a #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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 8607 Comm: syz.2.535 Not tainted 6.12.0-syzkaller-00233-g9fb2cfa4635a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:sha256_transform_rorx+0x761/0x1120 arch/x86/crypto/sha256-avx2-asm.S:610 Code: 44 01 fa 01 f2 48 8d 35 ed f2 37 0c c5 45 fe 0c 3e c5 7d 7f 4c 3c 60 89 d6 c4 63 7b f0 e8 19 c4 63 7b f0 f0 0b 44 03 44 3c 60 <44> 09 d6 c4 e3 4d 0f c5 04 41 89 df c4 63 7b f0 e2 0d 45 31 f5 41 RSP: 0018:ffffc9000339f200 EFLAGS: 00000282 RAX: 00000000bc54633b RBX: 00000000f73f6c84 RCX: 000000009e4aeb91 RDX: 00000000209698fb RSI: 00000000209698fb RDI: 0000000000000100 RBP: ffffc9000339f420 R08: 00000000dc04453e R09: 000000005c83a086 R10: 00000000d252d366 R11: 00000000de2d9197 R12: 000000005c018086 R13: 000000002a319dde R14: 0000000067778a8c R15: 00000000bb3ed1c5 FS: 00007f15ebf496c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f36cff63f60 CR3: 0000000065f3c000 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:0x7f15eb17e759 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:00007f15ebf49038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f15eb335f80 RCX: 00007f15eb17e759 RDX: 00004000000000df RSI: 0000800000000003 RDI: 0000000000000000 RBP: 00007f15eb1f175e R08: 0000000000000402 R09: 0000300000000000 R10: 0000000000040eb2 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f15eb335f80 R15: 00007ffc5c6f9cc8