INFO: task syz.1.73:6188 blocked for more than 143 seconds. Not tainted 6.12.0-syzkaller-07834-g06afb0f36106 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.73 state:D stack:24048 pid:6188 tgid:6187 ppid:5844 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0xe58/0x5ad0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 schedule_timeout+0x244/0x280 kernel/time/sleep_timeout.c:75 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+0x23f3/0x2610 kernel/signal.c:3001 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:329 [inline] irqentry_exit_to_user_mode+0x13f/0x280 kernel/entry/common.c:231 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7fc2122403c0 RSP: 002b:00007fc213209ab8 EFLAGS: 00000206 RAX: 0000000000000000 RBX: 00007fc212535fa0 RCX: 0000000000000005 RDX: 00007fc213209ac0 RSI: 00007fc213209bf0 RDI: 000000000000000b RBP: 00007fc2123f175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc212535fa0 R15: 00007ffc09ac5398 Showing all locks held in the system: 2 locks held by kworker/u8:0/11: 1 lock held by khungtaskd/30: #0: ffffffff8ddbb240 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8ddbb240 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8ddbb240 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6744 4 locks held by kworker/u8:10/3577: 2 locks held by getty/5609: #0: ffff88814d0a60a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fc62f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 2 locks held by udevd/5859: #0: ffff8880b863eb18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:598 #1: ffff8880b8628a88 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2c1/0x8e0 kernel/sched/psi.c:987 1 lock held by syz.1.73/6191: 1 lock held by syz.0.435/7799: 2 locks held by syz.4.445/7831: 5 locks held by syz.4.445/7836: 5 locks held by syz.4.445/7841: 3 locks held by syz.4.474/7976: 2 locks held by syz.0.525/8172: 1 lock held by syz.2.527/8179: 1 lock held by syz.3.529/8188: 1 lock held by syz.3.529/8197: 2 locks held by syz.4.530/8192: 2 locks held by syz.0.531/8196: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-syzkaller-07834-g06afb0f36106 #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+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: 6191 Comm: syz.1.73 Not tainted 6.12.0-syzkaller-07834-g06afb0f36106 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:217 [inline] RIP: 0010:unwind_next_frame+0x1c8/0x20c0 arch/x86/kernel/unwind_orc.c:494 Code: 56 ff 39 d0 0f 83 09 15 00 00 48 ba 00 00 00 00 00 fc ff df 89 c1 48 8d 3c 8d 88 eb 64 91 49 89 f8 49 c1 e8 03 45 0f b6 04 10 <48> 89 fa 83 e2 07 83 c2 03 44 38 c2 7c 2f 45 84 c0 74 2a 48 89 4c RSP: 0018:ffffc900000075a8 EFLAGS: 00000a06 RAX: 00000000000a2014 RBX: 0000000000000001 RCX: 00000000000a2014 RDX: dffffc0000000000 RSI: 00000000000a4001 RDI: ffffffff918d6bd8 RBP: ffffc90000007660 R08: 0000000000000000 R09: ffffffff915d7f90 R10: ffffc90000007618 R11: 00000000000a2014 R12: ffffc90000007668 R13: ffffc90000007618 R14: ffffc9000000764d R15: ffffffff8b2014c9 FS: 00007fc2131e96c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000018ef000 CR3: 000000005d5c4000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x95/0x100 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:319 [inline] __kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:345 kasan_slab_alloc include/linux/kasan.h:247 [inline] slab_post_alloc_hook mm/slub.c:4085 [inline] slab_alloc_node mm/slub.c:4134 [inline] kmem_cache_alloc_node_noprof+0x153/0x310 mm/slub.c:4186 __alloc_skb+0x2b3/0x380 net/core/skbuff.c:668 skb_copy+0x1c9/0x3a0 net/core/skbuff.c:2159 mac80211_hwsim_tx_frame_no_nl.isra.0+0xbab/0x12f0 drivers/net/wireless/virtual/mac80211_hwsim.c:1866 mac80211_hwsim_tx_frame+0x1eb/0x2a0 drivers/net/wireless/virtual/mac80211_hwsim.c:2215 __mac80211_hwsim_beacon_tx drivers/net/wireless/virtual/mac80211_hwsim.c:2232 [inline] mac80211_hwsim_beacon_tx+0x592/0xa00 drivers/net/wireless/virtual/mac80211_hwsim.c:2315 __iterate_interfaces+0x2e5/0x640 net/mac80211/util.c:775 ieee80211_iterate_active_interfaces_atomic+0x71/0x1b0 net/mac80211/util.c:811 mac80211_hwsim_beacon+0x105/0x200 drivers/net/wireless/virtual/mac80211_hwsim.c:2345 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x20a/0xae0 kernel/time/hrtimer.c:1803 hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1820 handle_softirqs+0x213/0x8f0 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:655 irq_exit_rcu+0x9/0x30 kernel/softirq.c:671 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:sha256_transform_rorx+0xd82/0x1120 arch/x86/crypto/sha256-avx2-asm.S:654 Code: f0 e0 02 44 03 5c 3c 10 09 ce 45 31 e6 41 89 c4 21 de 41 21 cc 45 01 ef 45 01 d8 44 09 e6 45 01 f3 45 01 f8 45 01 fb 41 89 d7 43 7b f0 e8 19 c4 43 7b f0 f0 0b 45 31 cf 45 31 f5 c4 43 7b f0 RSP: 0018:ffffc90004847200 EFLAGS: 00000207 RAX: 00000000633b98a1 RBX: 00000000b4182a37 RCX: 0000000085cc42f0 RDX: 00000000f9544004 RSI: 00000000a5180ab1 RDI: 0000000000000040 RBP: ffffc90004847420 R08: 000000005e155644 R09: 00000000fae4e4f5 R10: 0000000017a6a22c R11: 000000002780bf0f R12: 00000000010800a0 R13: 00000000b95a79f4 R14: 0000000073a77a78 R15: 00000000f9544004 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+0x1b3/0x1e0 security/integrity/ima/ima_main.c:462 security_mmap_file+0x8bd/0x990 security/security.c:2977 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:0x7fc21237e819 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:00007fc2131e9038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fc212536080 RCX: 00007fc21237e819 RDX: 00004000000000df RSI: 0001000000000005 RDI: 0000000000000000 RBP: 00007fc2123f175e R08: 00000000000002bc R09: 0000300000000000 R10: 0000000000040eb2 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc212536080 R15: 00007ffc09ac5398