INFO: task syz.0.392:7163 blocked for more than 143 seconds. Not tainted 6.12.0-rc5-syzkaller-00219-g5f897f30f596 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.392 state:D stack:25872 pid:7163 tgid:7160 ppid:5848 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x18af/0x4bd0 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6782 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6839 rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1d7/0x220 kernel/locking/rwsem.c:1578 mmap_write_lock include/linux/mmap_lock.h:106 [inline] exit_mmap+0x2bd/0xc40 mm/mmap.c:1920 __mmput+0x115/0x390 kernel/fork.c:1347 exit_mm+0x220/0x310 kernel/exit.c:571 do_exit+0x9b2/0x28e0 kernel/exit.c:926 do_group_exit+0x207/0x2c0 kernel/exit.c:1088 get_signal+0x16a3/0x1740 kernel/signal.c:2917 arch_do_signal_or_restart+0x96/0x860 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+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f949a37e719 RSP: 002b:00007f949b133038 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffff91 RBX: 00007f949a535f80 RCX: 00007f949a37e719 RDX: 0000000000000010 RSI: 0000000020000080 RDI: 000000000000000b RBP: 00007f949a3f139e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f949a535f80 R15: 00007fffa89cb958 INFO: task syz.2.396:7179 blocked for more than 143 seconds. Not tainted 6.12.0-rc5-syzkaller-00219-g5f897f30f596 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.396 state:D stack:21968 pid:7179 tgid:7178 ppid:5858 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x18af/0x4bd0 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6782 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6839 rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1d7/0x220 kernel/locking/rwsem.c:1578 mmap_write_lock include/linux/mmap_lock.h:106 [inline] exit_mmap+0x2bd/0xc40 mm/mmap.c:1920 __mmput+0x115/0x390 kernel/fork.c:1347 exit_mm+0x220/0x310 kernel/exit.c:571 do_exit+0x9b2/0x28e0 kernel/exit.c:926 do_group_exit+0x207/0x2c0 kernel/exit.c:1088 get_signal+0x16a3/0x1740 kernel/signal.c:2917 arch_do_signal_or_restart+0x96/0x860 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+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f12ae97e719 RSP: 002b:00007f12af736038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: fffffffffffffffc RBX: 00007f12aeb35f80 RCX: 00007f12ae97e719 RDX: 0000000000000000 RSI: 0000000000002000 RDI: 0000000020001000 RBP: 00007f12ae9f139e R08: 000000000000000a R09: 0000000000000000 R10: 0000000000000012 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f12aeb35f80 R15: 00007ffd4c8730c8 INFO: task syz.1.397:7180 blocked for more than 144 seconds. Not tainted 6.12.0-rc5-syzkaller-00219-g5f897f30f596 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.397 state:D stack:23512 pid:7180 tgid:7180 ppid:5842 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x18af/0x4bd0 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6782 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6839 rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1d7/0x220 kernel/locking/rwsem.c:1578 mmap_write_lock include/linux/mmap_lock.h:106 [inline] exit_mmap+0x2bd/0xc40 mm/mmap.c:1920 __mmput+0x115/0x390 kernel/fork.c:1347 exit_mm+0x220/0x310 kernel/exit.c:571 do_exit+0x9b2/0x28e0 kernel/exit.c:926 do_group_exit+0x207/0x2c0 kernel/exit.c:1088 get_signal+0x16a3/0x1740 kernel/signal.c:2917 arch_do_signal_or_restart+0x96/0x860 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+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7a4bf7e753 RSP: 002b:00007fff7dcf6498 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: fffffffffffffffc RBX: 00007f7a4a2006c0 RCX: 00007f7a4bf7e753 RDX: 0000000000000000 RSI: 0000000000021000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000020022 R11: 0000000000000246 R12: 00007fff7dcf65f0 R13: ffffffffffffffc0 R14: 0000000000001000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720 1 lock held by klogd/5203: #0: ffff8880b863ea98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:598 2 locks held by udevd/5214: #0: ffffffff8e9eb590 (dup_mmap_sem){.+.+}-{0:0}, at: dup_mmap kernel/fork.c:636 [inline] #0: ffffffff8e9eb590 (dup_mmap_sem){.+.+}-{0:0}, at: dup_mm kernel/fork.c:1674 [inline] #0: ffffffff8e9eb590 (dup_mmap_sem){.+.+}-{0:0}, at: copy_mm+0x27c/0x1e80 kernel/fork.c:1723 #1: ffff88807acd4418 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:122 [inline] #1: ffff88807acd4418 (&mm->mmap_lock){++++}-{3:3}, at: dup_mmap kernel/fork.c:637 [inline] #1: ffff88807acd4418 (&mm->mmap_lock){++++}-{3:3}, at: dup_mm kernel/fork.c:1674 [inline] #1: ffff88807acd4418 (&mm->mmap_lock){++++}-{3:3}, at: copy_mm+0x29a/0x1e80 kernel/fork.c:1723 2 locks held by getty/5598: #0: ffff8880353220a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 1 lock held by syz-executor/5832: #0: ffff888034443118 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:122 [inline] #0: ffff888034443118 (&mm->mmap_lock){++++}-{3:3}, at: vm_mmap_pgoff+0x17c/0x3d0 mm/util.c:586 1 lock held by udevd/5843: #0: ffff88803454d718 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:122 [inline] #0: ffff88803454d718 (&mm->mmap_lock){++++}-{3:3}, at: __vm_munmap+0x1fe/0x480 mm/mmap.c:1609 2 locks held by syz-executor/5847: #0: ffffffff8e9eb590 (dup_mmap_sem){.+.+}-{0:0}, at: dup_mmap kernel/fork.c:636 [inline] #0: ffffffff8e9eb590 (dup_mmap_sem){.+.+}-{0:0}, at: dup_mm kernel/fork.c:1674 [inline] #0: ffffffff8e9eb590 (dup_mmap_sem){.+.+}-{0:0}, at: copy_mm+0x27c/0x1e80 kernel/fork.c:1723 #1: ffff888034445718 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:122 [inline] #1: ffff888034445718 (&mm->mmap_lock){++++}-{3:3}, at: dup_mmap kernel/fork.c:637 [inline] #1: ffff888034445718 (&mm->mmap_lock){++++}-{3:3}, at: dup_mm kernel/fork.c:1674 [inline] #1: ffff888034445718 (&mm->mmap_lock){++++}-{3:3}, at: copy_mm+0x29a/0x1e80 kernel/fork.c:1723 1 lock held by syz-executor/5848: #0: ffff888034446098 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock include/linux/mmap_lock.h:106 [inline] #0: ffff888034446098 (&mm->mmap_lock){++++}-{3:3}, at: exit_mmap+0x2bd/0xc40 mm/mmap.c:1920 2 locks held by syz-executor/5856: #0: ffffffff8e9eb590 (dup_mmap_sem){.+.+}-{0:0}, at: dup_mmap kernel/fork.c:636 [inline] #0: ffffffff8e9eb590 (dup_mmap_sem){.+.+}-{0:0}, at: dup_mm kernel/fork.c:1674 [inline] #0: ffffffff8e9eb590 (dup_mmap_sem){.+.+}-{0:0}, at: copy_mm+0x27c/0x1e80 kernel/fork.c:1723 #1: ffff88803454e098 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:122 [inline] #1: ffff88803454e098 (&mm->mmap_lock){++++}-{3:3}, at: dup_mmap kernel/fork.c:637 [inline] #1: ffff88803454e098 (&mm->mmap_lock){++++}-{3:3}, at: dup_mm kernel/fork.c:1674 [inline] #1: ffff88803454e098 (&mm->mmap_lock){++++}-{3:3}, at: copy_mm+0x29a/0x1e80 kernel/fork.c:1723 1 lock held by syz.0.392/7163: #0: ffff8880327eba98 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock include/linux/mmap_lock.h:106 [inline] #0: ffff8880327eba98 (&mm->mmap_lock){++++}-{3:3}, at: exit_mmap+0x2bd/0xc40 mm/mmap.c:1920 1 lock held by syz.2.396/7179: #0: ffff8880327e9498 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock include/linux/mmap_lock.h:106 [inline] #0: ffff8880327e9498 (&mm->mmap_lock){++++}-{3:3}, at: exit_mmap+0x2bd/0xc40 mm/mmap.c:1920 1 lock held by syz.1.397/7180: #0: ffff888012370b18 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock include/linux/mmap_lock.h:106 [inline] #0: ffff888012370b18 (&mm->mmap_lock){++++}-{3:3}, at: exit_mmap+0x2bd/0xc40 mm/mmap.c:1920 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc5-syzkaller-00219-g5f897f30f596 #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+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 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+0xff4/0x1040 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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: 6765 Comm: kworker/u8:14 Not tainted 6.12.0-rc5-syzkaller-00219-g5f897f30f596 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound cfg80211_wiphy_work RIP: 0010:match_held_lock+0x1/0xb0 kernel/locking/lockdep.c:5270 Code: 83 c4 10 5b 41 5e 41 5f c3 cc cc cc cc e8 07 f9 ff ff 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 <53> bd 01 00 00 00 48 39 77 10 74 67 48 89 fb 81 7f 20 00 00 20 00 RSP: 0018:ffffc900032df930 EFLAGS: 00000097 RAX: 0000000000000000 RBX: ffff88801cf764e0 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: ffff8880b873ea98 RDI: ffff88801cf764e0 RBP: ffffc900032dfa10 R08: ffffffff901d042f R09: 1ffffffff203a085 R10: dffffc0000000000 R11: fffffbfff203a086 R12: ffff88801cf76504 R13: 1ffff110039eec9b R14: 0000000000000000 R15: ffff88801cf764d8 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000562335476600 CR3: 000000000e734000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_unpin_lock kernel/locking/lockdep.c:5636 [inline] lock_unpin_lock+0x1da/0x4f0 kernel/locking/lockdep.c:5954 rq_unpin_lock kernel/sched/sched.h:1741 [inline] rq_unlock kernel/sched/sched.h:1825 [inline] ttwu_queue kernel/sched/core.c:3954 [inline] try_to_wake_up+0x927/0x14b0 kernel/sched/core.c:4281 kick_pool+0x45c/0x620 kernel/workqueue.c:1279 process_one_work kernel/workqueue.c:3187 [inline] process_scheduled_works+0x756/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244