INFO: task syz.5.1663:14439 blocked for more than 143 seconds. Not tainted 6.12.0-syzkaller-10296-gaaf20f870da0 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.5.1663 state:D stack:25408 pid:14439 tgid:14439 ppid:8397 flags:0x00004004 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/0x43e0 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:0x7ff36814827c RSP: 002b:00007fff84c34228 EFLAGS: 00010246 RAX: 00000000200007c0 RBX: 0000000000000004 RCX: 8000000000000010 RDX: 0000000000000010 RSI: 00007ff367c0103d RDI: 00000000200007c0 RBP: 00007ff36834632c R08: 00007ff368000000 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000009 R12: 0000000000000004 R13: 00007ff368346320 R14: 0000000000000003 R15: fffffffffffffffe Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8dfbaf40 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8dfbaf40 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8dfbaf40 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6744 3 locks held by kworker/u8:4/61: #0: ffff88801baed948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x126b/0x1b30 kernel/workqueue.c:3204 #1: ffffc9000212fd80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 #2: ffffffff8fcbf250 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbb/0xb40 net/core/net_namespace.c:586 2 locks held by getty/5607: #0: ffff888034e0a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 2 locks held by kworker/u8:28/7644: #0: ffff88801e79b148 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work+0x126b/0x1b30 kernel/workqueue.c:3204 #1: ffffc9000dc9fd80 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 2 locks held by kworker/u8:33/12116: 1 lock held by syz.8.1374/13116: 1 lock held by syz.5.1663/14440: 3 locks held by syz.0.1762/15191: 2 locks held by syz.3.1764/15204: 3 locks held by syz.4.1775/15266: 1 lock held by syz.4.1775/15267: #0: ffff8880292851a8 (&kcm->tx_mutex){+.+.}-{4:4}, at: kcm_sendmsg+0x1c9/0x2be0 net/kcm/kcmsock.c:758 3 locks held by syz.2.1773/15289: 2 locks held by syz.0.1792/15433: 2 locks held by syz.3.1794/15455: 1 lock held by syz.2.1797/15471: 1 lock held by syz.2.1797/15472: #0: ffff8880226c0ba0 (&mm->mmap_lock){++++}-{4:4}, at: mmap_write_lock_killable include/linux/mmap_lock.h:122 [inline] #0: ffff8880226c0ba0 (&mm->mmap_lock){++++}-{4:4}, at: vm_mmap_pgoff+0x160/0x360 mm/util.c:578 1 lock held by syz.2.1797/15481: #0: ffff8880b863ebd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:606 [inline] #0: ffff8880b863ebd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:591 1 lock held by syz.2.1797/15493: #0: ffff8880226c0ba0 (&mm->mmap_lock){++++}-{4:4}, at: mmap_write_lock_killable include/linux/mmap_lock.h:122 [inline] #0: ffff8880226c0ba0 (&mm->mmap_lock){++++}-{4:4}, at: __do_sys_munlock mm/mlock.c:686 [inline] #0: ffff8880226c0ba0 (&mm->mmap_lock){++++}-{4:4}, at: __se_sys_munlock mm/mlock.c:677 [inline] #0: ffff8880226c0ba0 (&mm->mmap_lock){++++}-{4:4}, at: __x64_sys_munlock+0xc0/0x2b0 mm/mlock.c:677 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-syzkaller-10296-gaaf20f870da0 #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:234 [inline] watchdog+0xf14/0x1240 kernel/hung_task.c:397 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: 14440 Comm: syz.5.1663 Not tainted 6.12.0-syzkaller-10296-gaaf20f870da0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:debug_lockdep_rcu_enabled+0x26/0x40 kernel/rcu/update.c:320 Code: 90 90 90 90 f3 0f 1e fa 8b 05 32 ec 1d 05 85 c0 74 20 8b 05 50 1e 1e 05 85 c0 74 16 65 48 8b 05 b0 69 e3 74 8b 80 dc 0a 00 00 <85> c0 0f 94 c0 0f b6 c0 c3 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 RSP: 0018:ffffc9001d0ff060 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffffc9001d0ff110 RCX: ffffffff8b135c6e RDX: ffff888064f15a00 RSI: ffffffff8b135c7c RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffffc9001d0ff128 R14: ffff88801b7aefb8 R15: 0000000000000002 FS: 00007ff368ee86c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f003833afb8 CR3: 000000007c18a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock_held_common kernel/rcu/update.c:105 [inline] rcu_read_lock_held+0x9/0x50 kernel/rcu/update.c:349 xa_head include/linux/xarray.h:1204 [inline] xas_start+0x241/0x790 lib/xarray.c:190 xas_load+0x22/0x5b0 lib/xarray.c:238 filemap_get_entry+0x10a/0x3c0 mm/filemap.c:1841 __filemap_get_folio+0x59/0xaf0 mm/filemap.c:1886 filemap_lock_folio include/linux/pagemap.h:788 [inline] filemap_lock_hugetlb_folio include/linux/hugetlb.h:789 [inline] hugetlbfs_read_iter+0x3d6/0x8d0 fs/hugetlbfs/inode.c:271 __kernel_read+0x3f1/0xb50 fs/read_write.c:523 integrity_kernel_read+0x7f/0xb0 security/integrity/iint.c:28 ima_calc_file_hash_tfm+0x2c9/0x3e0 security/integrity/ima/ima_crypto.c:480 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:576 ksys_mmap_pgoff+0x1c8/0x5c0 mm/mmap.c:542 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:89 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:82 [inline] __x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:82 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:0x7ff368180809 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:00007ff368ee8058 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007ff368345fa0 RCX: 00007ff368180809 RDX: 00004000000000df RSI: 0000200000000001 RDI: 0000000000000000 RBP: 00007ff3681f393e R08: 0000000000000003 R09: 0000300000000000 R10: 0000000000044eb2 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007ff368345fa0 R15: 00007fff84c340c8