INFO: task syz.1.1133:9923 blocked for more than 143 seconds. Not tainted 6.14.0-rc7-syzkaller-00205-g586de92313fc #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.1133 state:D stack:26928 pid:9923 tgid:9922 ppid:5825 task_flags:0x400740 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5378 [inline] __schedule+0xf43/0x5890 kernel/sched/core.c:6765 __schedule_loop kernel/sched/core.c:6842 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6857 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:419 [inline] do_coredump+0x86f/0x4410 fs/coredump.c:576 get_signal+0x230b/0x26c0 kernel/signal.c:3021 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] __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:0x7fdaa644e750 RSP: 002b:00007fdaa732a3f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000000 RBX: 00007fdaa67a5fa8 RCX: 00007fdaa658d169 RDX: 00007fdaa732a400 RSI: 00007fdaa732a530 RDI: 000000000000000b RBP: 00007fdaa67a5fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdaa67a5fac R13: 0000000000000000 R14: 00007fff0f223350 R15: 00007fff0f223438 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8e1bd140 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e1bd140 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e1bd140 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6746 2 locks held by getty/5582: #0: ffff88803224b0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fe62f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 3 locks held by kworker/u9:7/5831: #0: ffff88807e468948 ((wq_completion)hci6){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3213 #1: ffffc9000303fd18 ((work_completion)(&hdev->power_on)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3214 #2: ffff88807bb24d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_open+0x22/0x90 net/bluetooth/hci_core.c:410 6 locks held by kworker/u8:8/6280: 4 locks held by kworker/u8:12/9222: 1 lock held by syz.2.1738/13432: #0: ffff888077b7a9e0 (&mm->mmap_lock){++++}-{4:4}, at: mmap_write_lock_killable include/linux/mmap_lock.h:152 [inline] #0: ffff888077b7a9e0 (&mm->mmap_lock){++++}-{4:4}, at: vm_mmap_pgoff+0x1d5/0x440 mm/util.c:576 2 locks held by syz.2.1738/13436: 2 locks held by syz.5.1739/13435: #0: ffff888031db51c0 (&tty->legacy_mutex){+.+.}-{4:4}, at: __tty_hangup.part.0+0xb8/0x890 drivers/tty/tty_io.c:584 #1: ffff888031db50a0 (&tty->ldisc_sem){++++}-{0:0}, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:289 [inline] #1: ffff888031db50a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock+0x65/0xb0 drivers/tty/tty_ldisc.c:313 5 locks held by syz.5.1739/13441: #0: ffff88801ee8e1c0 (&tty->legacy_mutex){+.+.}-{4:4}, at: tty_release+0x86/0x1410 drivers/tty/tty_io.c:1736 #1: ffff88807c5761c0 (&tty->legacy_mutex/1){+.+.}-{4:4}, at: __tty_hangup.part.0+0xb8/0x890 drivers/tty/tty_io.c:584 #2: ffff88807c5760a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref drivers/tty/tty_ldisc.c:263 [inline] #2: ffff88807c5760a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_hangup+0x30/0x6a0 drivers/tty/tty_ldisc.c:696 #3: ffff88807c5762e8 (&tty->termios_rwsem/1){++++}-{4:4}, at: n_tty_flush_buffer+0x25/0x1b0 drivers/tty/n_tty.c:358 #4: ffff8880b863ec18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:606 [inline] #4: ffff8880b863ec18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:591 2 locks held by syz.3.1741/13443: 1 lock held by syz.3.1741/13448: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.14.0-rc7-syzkaller-00205-g586de92313fc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 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:236 [inline] watchdog+0xf62/0x12b0 kernel/hung_task.c:399 kthread+0x3af/0x750 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:148 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: 13436 Comm: syz.2.1738 Not tainted 6.14.0-rc7-syzkaller-00205-g586de92313fc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:debug_smp_processor_id+0x0/0x20 lib/smp_processor_id.c:59 Code: e8 75 a7 41 f6 e8 c0 74 f4 ff 90 65 ff 0d 80 3c ac 74 e9 40 ff ff ff 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 48 c7 c6 a0 69 d3 8b 48 c7 c7 e0 69 d3 8b e9 f9 fe ff RSP: 0018:ffffc90003b375c0 EFLAGS: 00000282 RAX: 0000000000000001 RBX: ffffc90003b37780 RCX: ffffc9000e0d9000 RDX: 0000000000000001 RSI: ffffffff81ef92d5 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000005 R12: ffffea0002089d00 R13: 0000000000000aef R14: ffff88805958db80 R15: dffffc0000000000 FS: 00007f55d9fd56c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efe39b78ab8 CR3: 0000000035ea8000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline] rcu_is_watching+0x12/0xc0 kernel/rcu/tree.c:716 rcu_read_lock_held_common kernel/rcu/update.c:109 [inline] rcu_read_lock_held+0x1e/0x50 kernel/rcu/update.c:349 xa_entry include/linux/xarray.h:1220 [inline] xas_next_entry+0x2ba/0x3c0 include/linux/xarray.h:1712 next_uptodate_folio+0x29/0x4a0 mm/filemap.c:3552 filemap_map_pages+0x648/0x16b0 mm/filemap.c:3745 do_fault_around mm/memory.c:5367 [inline] do_read_fault mm/memory.c:5400 [inline] do_fault mm/memory.c:5543 [inline] do_pte_missing+0xdb8/0x3e10 mm/memory.c:4059 handle_pte_fault mm/memory.c:5888 [inline] __handle_mm_fault+0x103c/0x2a40 mm/memory.c:6031 handle_mm_fault+0x3fa/0xaa0 mm/memory.c:6200 faultin_page mm/gup.c:1196 [inline] __get_user_pages+0x773/0x36f0 mm/gup.c:1491 populate_vma_page_range+0x27f/0x3a0 mm/gup.c:1929 __mm_populate+0x1d6/0x380 mm/gup.c:2032 mm_populate include/linux/mm.h:3392 [inline] vm_mmap_pgoff+0x352/0x440 mm/util.c:583 ksys_mmap_pgoff+0x7d/0x5c0 mm/mmap.c:607 __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:0x7f55dc18d169 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:00007f55d9fd5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f55dc3a6080 RCX: 00007f55dc18d169 RDX: b635773f06ebbeef RSI: 0000000000b36000 RDI: 0000200000000000 RBP: 00007f55dc20e2a0 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f55dc3a6080 R15: 00007ffdf8de5358