INFO: task syz.1.192:6579 blocked for more than 143 seconds. Not tainted 6.11.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.192 state:D stack:27976 pid:6579 tgid:6577 ppid:5235 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 hugetlb_wp+0x1e16/0x2980 mm/hugetlb.c:6027 hugetlb_fault+0x1f64/0x27f0 mm/hugetlb.c:6579 handle_mm_fault+0x956/0xa60 mm/memory.c:5830 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:rep_movs_alternative+0x33/0x70 arch/x86/lib/copy_user_64.S:58 Code: 40 83 f9 08 73 21 85 c9 74 0f 8a 06 88 07 48 ff c7 48 ff c6 48 ff c9 75 f1 c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 48 8b 06 <48> 89 07 48 83 c6 08 48 83 c7 08 83 e9 08 74 df 83 f9 08 73 e8 eb RSP: 0018:ffffc9000365fc48 EFLAGS: 00050246 RAX: 0000000000000000 RBX: 0000000000000008 RCX: 0000000000000008 RDX: fffff520006cbf98 RSI: ffffc9000365fcb8 RDI: 0000000020020508 RBP: 0000000020020508 R08: 0000000000000000 R09: fffff520006cbf97 R10: ffffc9000365fcbf R11: 0000000000000000 R12: ffffc9000365fcb8 R13: 0000000020020510 R14: 0000000000000000 R15: 0000000020019680 copy_user_generic arch/x86/include/asm/uaccess_64.h:110 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:131 [inline] _inline_copy_to_user include/linux/uaccess.h:181 [inline] _copy_to_user+0xac/0xc0 lib/usercopy.c:26 copy_to_user include/linux/uaccess.h:209 [inline] msr_read+0x155/0x250 arch/x86/kernel/msr.c:69 vfs_read+0x1d4/0xbd0 fs/read_write.c:474 ksys_read+0x12f/0x260 fs/read_write.c:619 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:0x7f4f0737cef9 RSP: 002b:00007f4f080c6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007f4f07535f80 RCX: 00007f4f0737cef9 RDX: 0000000000018ff8 RSI: 0000000020019680 RDI: 0000000000000004 RBP: 00007f4f073ef046 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f4f07535f80 R15: 00007ffedcbdae08 INFO: task syz.1.192:6583 blocked for more than 144 seconds. Not tainted 6.11.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.192 state:D stack:28176 pid:6583 tgid:6577 ppid:5235 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6621 io_schedule+0xbf/0x130 kernel/sched/core.c:7401 folio_wait_bit_common+0x3d8/0x9b0 mm/filemap.c:1307 __folio_lock mm/filemap.c:1645 [inline] folio_lock include/linux/pagemap.h:1050 [inline] folio_lock include/linux/pagemap.h:1046 [inline] __filemap_get_folio+0x6ab/0xae0 mm/filemap.c:1898 filemap_lock_folio include/linux/pagemap.h:690 [inline] filemap_lock_hugetlb_folio include/linux/hugetlb.h:795 [inline] hugetlb_fault+0x1605/0x27f0 mm/hugetlb.c:6531 handle_mm_fault+0x956/0xa60 mm/memory.c:5830 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: 0000:ffffc9000417fc38 EFLAGS: 00050202 RAX: fffffffffffffff4 RBX: 0000000000000000 RCX: 0000000020000020 RDX: 0000000000040000 RSI: ffffffff8213b26f RDI: ffffffff8bb0fb40 RBP: ffffc9000417fed0 R08: 0000000000000000 R09: fffffbfff2028983 R10: ffffffff90144c1f R11: 0000000000000000 R12: fffffffffffffff4 R13: 0000000000000004 R14: 0000000000010001 R15: ffff88807e22c000 userfaultfd_copy fs/userfaultfd.c:1735 [inline] userfaultfd_ioctl+0x2f72/0x5f20 fs/userfaultfd.c:2133 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+0x193/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:0x7f4f0737cef9 RSP: 002b:00007f4f06dff038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f4f07536130 RCX: 00007f4f0737cef9 RDX: 0000000020000000 RSI: 00000000c028aa03 RDI: 0000000000000007 RBP: 00007f4f073ef046 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f4f07536130 R15: 00007ffedcbdae08 Showing all locks held in the system: 3 locks held by kworker/u8:1/12: #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206 #1: ffffc90000117d80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207 #2: ffffffff8fa35ba8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:276 1 lock held by khungtaskd/30: #0: ffffffff8ddb9fe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] #0: ffffffff8ddb9fe0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffffffff8ddb9fe0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6626 2 locks held by dhcpcd/4891: #0: ffff88802583d678 (nlk_cb_mutex-ROUTE){+.+.}-{3:3}, at: netlink_dump+0x9fe/0xcc0 net/netlink/af_netlink.c:2271 #1: ffffffff8fa35ba8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #1: ffffffff8fa35ba8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_dumpit+0x18f/0x1f0 net/core/rtnetlink.c:6506 2 locks held by getty/4979: #0: ffff888035e080a0 (&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+0xfc8/0x1490 drivers/tty/n_tty.c:2211 2 locks held by kworker/1:6/5315: #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206 #1: ffffc9000409fd80 (free_ipc_work){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207 5 locks held by kworker/0:7/5764: 4 locks held by syz-executor/6425: #0: ffff888025434d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x26/0x90 net/bluetooth/hci_core.c:481 #1: ffff888025434078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x346/0x1110 net/bluetooth/hci_sync.c:5183 #2: ffffffff8fc9ca68 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1972 [inline] #2: ffffffff8fc9ca68 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xc4/0x260 net/bluetooth/hci_conn.c:2592 #3: ffffffff8ddc5778 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:328 2 locks held by syz.1.192/6579: #0: ffff888024a3d718 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_lock_killable include/linux/mmap_lock.h:153 [inline] #0: ffff888024a3d718 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:5878 [inline] #0: ffff888024a3d718 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x3a9/0x6a0 mm/memory.c:5929 #1: ffff88801f2da458 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: hugetlb_wp+0x1e16/0x2980 mm/hugetlb.c:6027 3 locks held by syz.1.192/6583: #0: ffff888024a3d718 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:163 [inline] #0: ffff888024a3d718 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:5869 [inline] #0: ffff888024a3d718 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x35/0x6a0 mm/memory.c:5929 #1: ffff88801f2da458 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: hugetlb_fault+0x313/0x27f0 mm/hugetlb.c:6451 #2: ffff888035f37ce8 (&resv_map->rw_sema){++++}-{3:3}, at: hugetlb_vma_lock_read mm/hugetlb.c:275 [inline] #2: ffff888035f37ce8 (&resv_map->rw_sema){++++}-{3:3}, at: hugetlb_vma_lock_read+0x105/0x140 mm/hugetlb.c:266 4 locks held by kworker/u8:12/7125: #0: ffff88801bae3148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206 #1: ffffc90002ecfd80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207 #2: ffffffff8fa20190 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xbb/0xbb0 net/core/net_namespace.c:594 #3: ffff8880129220e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #3: ffff8880129220e8 (&dev->mutex){....}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:108 [inline] #3: ffff8880129220e8 (&dev->mutex){....}-{3:3}, at: devlink_pernet_pre_exit+0x12d/0x2b0 net/devlink/core.c:506 4 locks held by syz-executor/7326: #0: ffff888035d78420 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x12f/0x260 fs/read_write.c:643 #1: ffff88807db42888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x281/0x500 fs/kernfs/file.c:325 #2: ffff888022fe00f8 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2a4/0x500 fs/kernfs/file.c:326 #3: ffffffff8efcaca8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xd2/0x4b0 drivers/net/netdevsim/bus.c:216 7 locks held by syz-executor/7329: #0: ffff888035d78420 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x12f/0x260 fs/read_write.c:643 #1: ffff888031c83888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x281/0x500 fs/kernfs/file.c:325 #2: ffff888022fe00f8 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2a4/0x500 fs/kernfs/file.c:326 #3: ffffffff8efcaca8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xd2/0x4b0 drivers/net/netdevsim/bus.c:216 #4: ffff8880129220e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #4: ffff8880129220e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1094 [inline] #4: ffff8880129220e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1292 #5: ffff888012924250 (&devlink->lock_key#14){+.+.}-{3:3}, at: nsim_drv_remove+0x4a/0x1d0 drivers/net/netdevsim/dev.c:1672 #6: ffffffff8fa35ba8 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x6f/0x6a0 drivers/net/netdevsim/netdev.c:773 1 lock held by syz-executor/7366: #0: ffffffff8fa35ba8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fa35ba8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6644 3 locks held by syz.1.333/7586: #0: ffff888021f4cd80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x26/0x90 net/bluetooth/hci_core.c:481 #1: ffff888021f4c078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x346/0x1110 net/bluetooth/hci_sync.c:5183 #2: ffffffff8fc9ca68 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1972 [inline] #2: ffffffff8fc9ca68 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xc4/0x260 net/bluetooth/hci_conn.c:2592 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:119 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: 4666 Comm: klogd Not tainted 6.11.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:__rq_lockp kernel/sched/sched.h:1287 [inline] RIP: 0010:lockdep_assert_rq_held kernel/sched/sched.h:1406 [inline] RIP: 0010:update_rq_clock+0x394/0xa70 kernel/sched/core.c:755 Code: 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc 48 8d bb 88 0d 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 fa 04 00 00 48 8b bb 88 0d 00 00 e9 e7 fc ff ff 48 8d 93 58 RSP: 0018:ffffc9000471f9b8 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffff8880b893edc0 RCX: ffffffff81325d1e RDX: 1ffff11017127f69 RSI: ffffffff8b4cda20 RDI: ffff8880b893fb48 RBP: ffff88807c149e00 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000000 R12: ffffffff90147f18 R13: ffff88807c149e14 R14: ffff88807c14a800 R15: ffffc9000471fa48 FS: 00007f9ab0969380(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f248b1a5f0 CR3: 000000003324c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ttwu_queue kernel/sched/core.c:3845 [inline] try_to_wake_up+0x56a/0x13e0 kernel/sched/core.c:4167 autoremove_wake_function+0x16/0x150 kernel/sched/wait.c:384 receiver_wake_function+0x53/0x80 net/core/datagram.c:82 __wake_up_common+0x131/0x1e0 kernel/sched/wait.c:89 __wake_up_common_lock kernel/sched/wait.c:106 [inline] __wake_up_sync_key+0x36/0x50 kernel/sched/wait.c:173 sock_def_readable+0x160/0x610 net/core/sock.c:3374 unix_dgram_sendmsg+0xfa9/0x19e0 net/unix/af_unix.c:2170 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] __sys_sendto+0x47f/0x4e0 net/socket.c:2204 __do_sys_sendto net/socket.c:2216 [inline] __se_sys_sendto net/socket.c:2212 [inline] __x64_sys_sendto+0xe0/0x1c0 net/socket.c:2212 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:0x7f9ab0acb9b5 Code: 8b 44 24 08 48 83 c4 28 48 98 c3 48 98 c3 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 26 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 7a 48 8b 15 44 c4 0c 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffcf2db89e8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9ab0acb9b5 RDX: 000000000000005c RSI: 000055e55af08e70 RDI: 0000000000000003 RBP: 000055e55af012c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000013 R13: 00007f9ab0c59212 R14: 00007ffcf2db8ae8 R15: 0000000000000000