INFO: task syz.3.541:7643 blocked for more than 143 seconds. Not tainted 6.12.0-rc1-syzkaller-00042-gf23aa4c0761a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.541 state:D stack:27328 pid:7643 tgid:7641 ppid:5236 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0xef5/0x5750 kernel/sched/core.c:6675 __schedule_loop kernel/sched/core.c:6752 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6767 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:2902 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:0x7f31dc37dff9 RSP: 002b:00007f31dd09a038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bf RAX: ffffffffffffffda RBX: 00007f31dc536058 RCX: 00007f31dc37dff9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f31dc3f0296 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffba R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f31dc536058 R15: 00007ffecc1403a8 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8ddb7800 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8ddb7800 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8ddb7800 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6720 2 locks held by getty/4997: #0: ffff88814be020a0 (&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 3 locks held by kworker/0:5/5278: #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1212/0x1b30 kernel/workqueue.c:3204 #1: ffffc90003e77d80 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 #2: ffff88806134e240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x1ce/0x3190 drivers/net/netdevsim/fib.c:1488 3 locks held by kworker/u8:18/7326: #0: ffff8880b873ee98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:593 #1: ffffc9000cf77d80 ((work_completion)(&(&kfence_timer)->work)){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 #2: ffffffff8dc5aed0 (cpu_hotplug_lock){++++}-{0:0}, at: static_key_disable+0x12/0x20 kernel/jump_label.c:247 1 lock held by syz.3.541/7642: 3 locks held by kworker/u8:32/8168: #0: ffff8880b873ee98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:593 #1: ffffc9000dd9fd80 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 #2: ffffffff8ddb7800 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #2: ffffffff8ddb7800 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #2: ffffffff8ddb7800 (rcu_read_lock){....}-{1:2}, at: batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] #2: ffffffff8ddb7800 (rcu_read_lock){....}-{1:2}, at: batadv_nc_worker+0x164/0x1060 net/batman-adv/network-coding.c:719 1 lock held by syz-executor/9148: 3 locks held by syz.3.801/9520: 2 locks held by syz.0.802/9531: 1 lock held by syz.1.805/9542: #0: ffff88801ac73118 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:122 [inline] #0: ffff88801ac73118 (&mm->mmap_lock){++++}-{3:3}, at: vm_mmap_pgoff+0x160/0x360 mm/util.c:586 1 lock held by syz.1.805/9543: #0: ffff88801ac73118 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_lock_killable include/linux/mmap_lock.h:153 [inline] #0: ffff88801ac73118 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:6108 [inline] #0: ffff88801ac73118 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x3a9/0x6a0 mm/memory.c:6159 2 locks held by syz.1.805/9545: 1 lock held by syz.0.802/9546: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.12.0-rc1-syzkaller-00042-gf23aa4c0761a #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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 9545 Comm: syz.1.805 Not tainted 6.12.0-rc1-syzkaller-00042-gf23aa4c0761a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:210 Code: 7e 60 e8 a3 ff ff ff 31 c0 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 65 48 8b 15 44 2c 77 7e 65 8b 05 45 2c 77 7e a9 00 01 RSP: 0018:ffffc90003eb6998 EFLAGS: 00000282 RAX: 1ffff110065acf44 RBX: ffffffff8e91ae4f RCX: ffffc90017e9b000 RDX: 000000000000e734 RSI: ffffffff848ec151 RDI: ffff888032d67a20 RBP: ffff888032d6d980 R08: 0000000000000005 R09: 00000000fffffffe R10: 00000000fffffffe R11: ffff888032d60030 R12: dffffc0000000000 R13: 000000000000e734 R14: 0000000000000000 R15: ffff888032d60000 FS: 00007f586b9dc6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffefcd09e40 CR3: 000000006269e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: check_template lib/842/842_compress.c:391 [inline] process_next lib/842/842_compress.c:456 [inline] sw842_compress+0x2731/0x45c0 lib/842/842_compress.c:543 crypto_scomp_decompress include/crypto/internal/scompress.h:97 [inline] scomp_acomp_comp_decomp+0x3f8/0x920 crypto/scompress.c:155 crypto_acomp_compress include/crypto/acompress.h:251 [inline] zswap_compress mm/zswap.c:919 [inline] zswap_store+0x952/0x1fe0 mm/zswap.c:1461 swap_writepage+0x3b6/0x990 mm/page_io.c:271 shmem_writepage+0xf8f/0x14b0 mm/shmem.c:1567 pageout+0x3b2/0xaa0 mm/vmscan.c:688 shrink_folio_list+0x3025/0x42d0 mm/vmscan.c:1366 reclaim_folio_list+0xd8/0x3a0 mm/vmscan.c:2142 reclaim_pages+0x481/0x650 mm/vmscan.c:2178 madvise_cold_or_pageout_pte_range+0x13ae/0x20d0 mm/madvise.c:550 walk_pmd_range mm/pagewalk.c:106 [inline] walk_pud_range mm/pagewalk.c:178 [inline] walk_p4d_range mm/pagewalk.c:211 [inline] walk_pgd_range+0xb8e/0x18d0 mm/pagewalk.c:246 __walk_page_range+0x637/0x770 mm/pagewalk.c:348 walk_page_range+0x55a/0x940 mm/pagewalk.c:474 madvise_pageout_page_range mm/madvise.c:609 [inline] madvise_pageout+0x326/0x820 mm/madvise.c:636 madvise_vma_behavior+0x58c/0x19e0 mm/madvise.c:1045 madvise_walk_vmas+0x1cf/0x2c0 mm/madvise.c:1274 do_madvise+0x2e1/0x760 mm/madvise.c:1461 __do_sys_madvise mm/madvise.c:1477 [inline] __se_sys_madvise mm/madvise.c:1475 [inline] __x64_sys_madvise+0xa9/0x110 mm/madvise.c:1475 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:0x7f586ab7dff9 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:00007f586b9dc038 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007f586ad36058 RCX: 00007f586ab7dff9 RDX: 0000000000000015 RSI: ffffffffffff0001 RDI: 0000000000000000 RBP: 00007f586abf0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f586ad36058 R15: 00007ffefcd09ee8