INFO: task syz.1.1064:14618 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.1.1064 state:D stack:25824 pid:14618 tgid:14618 ppid:14025 flags:0x00000004 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_preempt_disabled+0x13/0x30 kernel/sched/core.c:6824 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 hugetlb_wp+0x1b4a/0x3320 mm/hugetlb.c:5894 hugetlb_fault+0x2248/0x2fa0 mm/hugetlb.c:6454 handle_mm_fault+0x930/0xaa0 mm/memory.c:6060 do_user_addr_fault+0x60d/0x13f0 arch/x86/mm/fault.c:1338 handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x5c/0xc0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7f33eb345a98 RSP: 002b:00007fff73f218d8 EFLAGS: 00010246 RAX: 0000000020000640 RBX: 0000000000000004 RCX: 006b6e696c766564 RDX: 0000000000000008 RSI: 006b6e696c766564 RDI: 0000000020000640 RBP: 00007f33eb537a80 R08: 00007f33eb200000 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000009 R12: 00000000001e388d R13: 00007fff73f219e0 R14: 0000000000000032 R15: fffffffffffffffe INFO: task syz.1.1064:14623 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.1.1064 state:D stack:27408 pid:14623 tgid:14618 ppid:14025 flags:0x00004006 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 io_schedule+0xbf/0x130 kernel/sched/core.c:7552 folio_wait_bit_common+0x3d8/0x9b0 mm/filemap.c:1309 __folio_lock mm/filemap.c:1647 [inline] folio_lock include/linux/pagemap.h:1148 [inline] folio_lock include/linux/pagemap.h:1144 [inline] __filemap_get_folio+0x6a4/0xaf0 mm/filemap.c:1900 filemap_lock_folio include/linux/pagemap.h:788 [inline] filemap_lock_hugetlb_folio include/linux/hugetlb.h:795 [inline] hugetlb_fault+0x16ff/0x2fa0 mm/hugetlb.c:6406 handle_mm_fault+0x930/0xaa0 mm/memory.c:6060 do_user_addr_fault+0x7a3/0x13f0 arch/x86/mm/fault.c:1389 handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x5c/0xc0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:__put_user_8+0x11/0x20 arch/x86/lib/putuser.S:107 Code: 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 89 cb 48 c1 fb 3f 48 09 d9 0f 01 cb <48> 89 01 31 c9 0f 01 ca c3 cc cc cc cc 66 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90009a37cf8 EFLAGS: 00050202 RAX: 0000000000800000 RBX: 0000000000000000 RCX: 0000000020000020 RDX: 0000000000040000 RSI: ffffffff8218c53f RDI: ffffffff8bd19d40 RBP: ffffc90009a37ed0 R08: 0000000000000000 R09: fffffbfff20be559 R10: ffffffff905f2acf R11: 0000000000000000 R12: 0000000000800000 R13: 0000000000000003 R14: 0000000000000000 R15: ffff888028435600 userfaultfd_copy fs/userfaultfd.c:1590 [inline] userfaultfd_ioctl+0x1e9b/0x3830 fs/userfaultfd.c:1988 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __x64_sys_ioctl+0x18f/0x220 fs/ioctl.c:893 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:0x7f33eb37dff9 RSP: 002b:00007f33eadde038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f33eb536058 RCX: 00007f33eb37dff9 RDX: 0000000020000000 RSI: 00000000c028aa03 RDI: 0000000000000007 RBP: 00007f33eb3f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f33eb536058 R15: 00007fff73f21778 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6720 4 locks held by kworker/u8:3/52: #0: ffff88801b089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc90000bd7d80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffffffff8fee0aa8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:276 #3: ffffffff8e1c3cb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:329 2 locks held by dhcpcd/4888: #0: ffff888027bd66c8 (nlk_cb_mutex-ROUTE){+.+.}-{3:3}, at: __netlink_dump_start+0x154/0x970 net/netlink/af_netlink.c:2404 #1: ffffffff8fee0aa8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #1: ffffffff8fee0aa8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_dumpit+0x18f/0x1f0 net/core/rtnetlink.c:6505 2 locks held by getty/4979: #0: ffff8880326ba0a0 (&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 4 locks held by kworker/u8:12/6354: #0: ffff88801beeb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc90003447d80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffffffff8fecb110 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xbb/0xb40 net/core/net_namespace.c:580 #3: ffffffff8fee0aa8 (rtnl_mutex){+.+.}-{3:3}, at: wg_destruct+0x22/0x3d0 drivers/net/wireguard/device.c:246 3 locks held by kworker/1:9/8888: #0: ffff88801b080948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc9000411fd80 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffffffff8fee0aa8 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104 3 locks held by kworker/u8:9/11977: #0: ffff8880b863ee98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:601 [inline] #0: ffff8880b863ee98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:586 #1: ffffc90004e9fd80 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: spin_lock_bh include/linux/spinlock.h:356 [inline] #2: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: batadv_nc_purge_paths+0xca/0x390 net/batman-adv/network-coding.c:442 2 locks held by syz.1.1064/14618: #0: ffff88801eb68808 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:704 [inline] #0: ffff88801eb68808 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x13e/0x980 mm/memory.c:6228 #1: ffff8881416ec8d8 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: hugetlb_wp+0x1b4a/0x3320 mm/hugetlb.c:5894 3 locks held by syz.1.1064/14623: #0: ffff88807e6a0b18 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:163 [inline] #0: ffff88807e6a0b18 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:6099 [inline] #0: ffff88807e6a0b18 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x35/0x6a0 mm/memory.c:6159 #1: ffff8881416ec8d8 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: hugetlb_fault+0x307/0x2fa0 mm/hugetlb.c:6326 #2: ffff8880257c8ce8 (&resv_map->rw_sema){++++}-{3:3}, at: hugetlb_vma_lock_read mm/hugetlb.c:276 [inline] #2: ffff8880257c8ce8 (&resv_map->rw_sema){++++}-{3:3}, at: hugetlb_vma_lock_read+0x105/0x140 mm/hugetlb.c:267 1 lock held by syz-executor/15478: #0: ffffffff8fee0aa8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fee0aa8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6643 1 lock held by syz-executor/15508: #0: ffffffff8e1c3cb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:329 1 lock held by syz-executor/15522: #0: ffffffff8fee0aa8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fee0aa8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6643 3 locks held by syz-executor/15704: #0: ffff8880298ecd80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x26/0x90 net/bluetooth/hci_core.c:481 #1: ffff8880298ec078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x346/0x1110 net/bluetooth/hci_sync.c:5183 #2: ffffffff90148ce8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1972 [inline] #2: ffffffff90148ce8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xc4/0x260 net/bluetooth/hci_conn.c:2589 3 locks held by kworker/u8:0/15729: #0: ffff88814c299148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc900039ffd80 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffffffff8fee0aa8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xcf/0x14d0 net/ipv6/addrconf.c:4196 2 locks held by syz.4.1205/15762: #0: ffff88805e018d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x26/0x90 net/bluetooth/hci_core.c:481 #1: ffff88805e018078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x346/0x1110 net/bluetooth/hci_sync.c:5183 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 15508 Comm: syz-executor 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:vfree+0x199/0x890 mm/vmalloc.c:3352 Code: 4c 89 e7 83 c5 01 e8 b6 73 02 00 31 d2 be 22 0d 00 00 48 c7 c7 e0 b3 7a 8b e8 c3 ab 7c ff 2e 2e 2e 31 c0 48 8b 04 24 0f b6 10 <4c> 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 24 06 00 00 44 RSP: 0018:ffffc9000399fa50 EFLAGS: 00000246 RAX: ffffed100f044005 RBX: ffff888078220000 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8b6cd340 RDI: ffff88802c02c670 RBP: 00000000000001f7 R08: 0000000000000000 R09: ffffed10170c89d8 R10: ffff8880b8644ec3 R11: 0000000000000000 R12: ffffea0000c49f00 R13: dffffc0000000000 R14: ffffed100f044004 R15: ffff88807822002c FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000556f521a3a50 CR3: 000000007bf06000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kcov_put kernel/kcov.c:439 [inline] kcov_put+0x2a/0x40 kernel/kcov.c:435 kcov_close+0xd/0x20 kernel/kcov.c:535 __fput+0x3f6/0xb60 fs/file_table.c:431 task_work_run+0x14e/0x250 kernel/task_work.c:228 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0xadd/0x2d70 kernel/exit.c:939 do_group_exit+0xd3/0x2a0 kernel/exit.c:1088 get_signal+0x25fb/0x2770 kernel/signal.c:2917 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:0x7f61d5b7fe8c Code: Unable to access opcode bytes at 0x7f61d5b7fe62. RSP: 002b:00007ffd2e6e7470 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: 000000000000002c RBX: 00007f61d6864620 RCX: 00007f61d5b7fe8c RDX: 000000000000002c RSI: 00007f61d6864670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffd2e6e74c4 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f61d6864670 R15: 0000000000000000