INFO: task syz.3.650:9756 blocked for more than 143 seconds.
Not tainted 6.12.0-rc2-syzkaller-00006-g87d6aab2389e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.650 state:D stack:25824 pid:9756 tgid:9756 ppid:9496 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
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+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: 0033:0x7fdf07e51629
RSP: 002b:00007ffc0c79d750 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000002 RCX: ffffffffff7fffff
RDX: 3344c41238411d4a RSI: 0000000020800000 RDI: 00005555579333c8
RBP: 00007fdf08137a80 R08: 00007fdf07e00000 R09: 0000000000000008
R10: 0000000000000000 R11: 0000000000000003 R12: 00000000000d82a4
R13: 00007ffc0c79d850 R14: 0000000000000032 R15: fffffffffffffffe
INFO: task syz.3.650:9758 blocked for more than 144 seconds.
Not tainted 6.12.0-rc2-syzkaller-00006-g87d6aab2389e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.650 state:D stack:27664 pid:9758 tgid:9756 ppid:9496 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: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: 0000:ffffc90004887c48 EFLAGS: 00050246
RAX: 0000000000000000 RBX: 0000000000000008 RCX: 0000000000000008
RDX: fffff52000910f98 RSI: ffffc90004887cb8 RDI: 000000002002b790
RBP: 000000002002b790 R08: 0000000000000000 R09: fffff52000910f97
R10: ffffc90004887cbf R11: 0000000000000000 R12: ffffc90004887cb8
R13: 000000002002b798 R14: 0000000000000000 R15: 0000000020019680
copy_user_generic arch/x86/include/asm/uaccess_64.h:121 [inline]
raw_copy_to_user arch/x86/include/asm/uaccess_64.h:142 [inline]
_inline_copy_to_user include/linux/uaccess.h:188 [inline]
_copy_to_user+0xac/0xc0 lib/usercopy.c:26
copy_to_user include/linux/uaccess.h:216 [inline]
msr_read+0x14f/0x250 arch/x86/kernel/msr.c:69
vfs_read+0x1ce/0xbd0 fs/read_write.c:567
ksys_read+0x12f/0x260 fs/read_write.c:712
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:0x7fdf07f7dff9
RSP: 002b:00007fdf08d1d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00007fdf08135f80 RCX: 00007fdf07f7dff9
RDX: 0000000000018ff8 RSI: 0000000020019680 RDI: 0000000000000004
RBP: 00007fdf07ff0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fdf08135f80 R15: 00007ffc0c79d5e8
Showing all locks held in the system:
1 lock held by rcu_exp_gp_kthr/19:
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
3 locks held by kworker/u8:4/69:
2 locks held by getty/4982:
#0: ffff8880335aa0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211
3 locks held by kworker/u8:10/5384:
#0: ffff88801b089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204
#1: ffffc90003f6fd80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205
#2: ffffffff8fee11a8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:276
2 locks held by syz.3.650/9756:
#0: ffff88807ed59e18 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_lock_killable include/linux/mmap_lock.h:153 [inline]
#0: ffff88807ed59e18 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:6108 [inline]
#0: ffff88807ed59e18 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x3a9/0x6a0 mm/memory.c:6159
#1: ffff888020eb8728 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: hugetlb_wp+0x1b4a/0x3320 mm/hugetlb.c:5894
3 locks held by syz.3.650/9758:
#0: ffff88807ed59e18 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_lock_killable include/linux/mmap_lock.h:153 [inline]
#0: ffff88807ed59e18 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:6108 [inline]
#0: ffff88807ed59e18 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x3a9/0x6a0 mm/memory.c:6159
#1: ffff888020eb8728 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: hugetlb_fault+0x307/0x2fa0 mm/hugetlb.c:6326
#2: ffff88805de7ece8 (&resv_map->rw_sema){++++}-{3:3}, at: hugetlb_vma_lock_read mm/hugetlb.c:276 [inline]
#2: ffff88805de7ece8 (&resv_map->rw_sema){++++}-{3:3}, at: hugetlb_vma_lock_read+0x105/0x140 mm/hugetlb.c:267
3 locks held by syz.4.678/9917:
#0: ffff88802de5e148 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:704 [inline]
#0: ffff88802de5e148 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x13e/0x980 mm/memory.c:6228
#1: ffff8880664f44b8 (&ctx->map_changing_lock){.+.+}-{3:3}, at: mfill_atomic_hugetlb mm/userfaultfd.c:560 [inline]
#1: ffff8880664f44b8 (&ctx->map_changing_lock){.+.+}-{3:3}, at: mfill_atomic mm/userfaultfd.c:769 [inline]
#1: ffff8880664f44b8 (&ctx->map_changing_lock){.+.+}-{3:3}, at: mfill_atomic_copy+0x1aca/0x1e70 mm/userfaultfd.c:868
#2: ffff888020eb8728 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: mfill_atomic_hugetlb mm/userfaultfd.c:578 [inline]
#2: ffff888020eb8728 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: mfill_atomic mm/userfaultfd.c:769 [inline]
#2: ffff888020eb8728 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: mfill_atomic_copy+0x162c/0x1e70 mm/userfaultfd.c:868
2 locks held by syz.3.716/10132:
#0: ffff88807b2c42f8 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:704 [inline]
#0: ffff88807b2c42f8 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x13e/0x980 mm/memory.c:6228
#1: ffff888020eb8728 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: hugetlb_fault+0x307/0x2fa0 mm/hugetlb.c:6326
2 locks held by syz.1.749/10299:
#0: ffff88802de5e070 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:704 [inline]
#0: ffff88802de5e070 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x13e/0x980 mm/memory.c:6228
#1: ffff888020eb8728 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: hugetlb_fault+0x307/0x2fa0 mm/hugetlb.c:6326
1 lock held by syz-executor/10377:
2 locks held by syz.4.826/10669:
#0: ffff888055552df0 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:704 [inline]
#0: ffff888055552df0 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x13e/0x980 mm/memory.c:6228
#1: ffff888020eb8728 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: hugetlb_fault+0x307/0x2fa0 mm/hugetlb.c:6326
7 locks held by syz-executor/10698:
#0: ffff88802f86c420 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x12f/0x260 fs/read_write.c:736
#1: ffff88805d8e7c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x27b/0x500 fs/kernfs/file.c:325
#2: ffff888026e041e8 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x29e/0x500 fs/kernfs/file.c:326
#3: ffffffff8f47aba8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x187/0x730 drivers/net/netdevsim/bus.c:166
#4: ffff88805dbbd0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline]
#4: ffff88805dbbd0e8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1005
#5: ffff88805dbb9250 (&devlink->lock_key#47){+.+.}-{3:3}, at: nsim_drv_probe+0xd5/0x1490 drivers/net/netdevsim/dev.c:1534
#6: ffffffff8fee11a8 (rtnl_mutex){+.+.}-{3:3}, at: nsim_init_netdevsim drivers/net/netdevsim/netdev.c:678 [inline]
#6: ffffffff8fee11a8 (rtnl_mutex){+.+.}-{3:3}, at: nsim_create+0x4c9/0xb20 drivers/net/netdevsim/netdev.c:750
2 locks held by syz-executor/10731:
#0: ffffffff8fee11a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8fee11a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6643
#1: ffffffff8e1c3c38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:329
3 locks held by kvm-nx-lpage-re/10877:
#0: ffffffff8e20f3c8 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_lock include/linux/cgroup.h:368 [inline]
#0: ffffffff8e20f3c8 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_attach_task_all+0x25/0x130 kernel/cgroup/cgroup-v1.c:67
#1: ffffffff8e05b950 (cpu_hotplug_lock){++++}-{0:0}, at: cgroup_attach_lock+0x12/0x40 kernel/cgroup/cgroup.c:2435
#2: ffffffff8e20f190 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_attach_lock kernel/cgroup/cgroup.c:2437 [inline]
#2: ffffffff8e20f190 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_attach_lock+0x37/0x40 kernel/cgroup/cgroup.c:2433
3 locks held by syz.2.861/10880:
#0: ffff88806dc70d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x26/0x90 net/bluetooth/hci_core.c:481
#1: ffff88806dc70078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x346/0x1110 net/bluetooth/hci_sync.c:5183
#2: ffffffff90149928 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1972 [inline]
#2: ffffffff90149928 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xc4/0x260 net/bluetooth/hci_conn.c:2589
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc2-syzkaller-00006-g87d6aab2389e #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: 10731 Comm: syz-executor Not tainted 6.12.0-rc2-syzkaller-00006-g87d6aab2389e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:in_lock_functions+0x0/0x20 kernel/locking/spinlock.c:408
Code: 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa c3 cc cc cc cc 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 31 c0 48 81 ff 70 3f 24 8b 72 0c 31 c0 48 81 ff 41 6d
RSP: 0018:ffffc90004c2f3c0 EFLAGS: 00000246
RAX: 0000000000000001 RBX: ffffffff813d4e71 RCX: 1ffffffff3504304
RDX: 0000000000000000 RSI: ffffffff81eec3a3 RDI: ffffffff813d4e71
RBP: ffffc90004c2f498 R08: ffffc90004c2f484 R09: ffffffff90f58e6e
R10: ffffc90004c2f450 R11: 0000000000007950 R12: ffffffff81794de0
R13: ffffc90004c2f450 R14: 0000000000000000 R15: ffff888026750000
FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000561ac9179300 CR3: 000000004997a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
get_lock_parent_ip include/linux/ftrace.h:976 [inline]
preempt_latency_start kernel/sched/core.c:5764 [inline]
preempt_latency_start kernel/sched/core.c:5761 [inline]
preempt_count_add+0x76/0x150 kernel/sched/core.c:5789
unwind_next_frame+0xb1/0x20c0 arch/x86/kernel/unwind_orc.c:479
arch_stack_walk+0x95/0x100 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122
kasan_save_stack+0x33/0x60 mm/kasan/common.c:47
__kasan_record_aux_stack+0xba/0xd0 mm/kasan/generic.c:541
slab_free_hook mm/slub.c:2303 [inline]
slab_free mm/slub.c:4579 [inline]
kmem_cache_free+0x305/0x4b0 mm/slub.c:4681
anon_vma_free mm/rmap.c:138 [inline]
__put_anon_vma+0x114/0x3a0 mm/rmap.c:2560
put_anon_vma include/linux/rmap.h:116 [inline]
unlink_anon_vmas+0x58a/0x820 mm/rmap.c:445
free_pgtables+0x12c/0x950 mm/memory.c:388
exit_mmap+0x3d7/0xb30 mm/mmap.c:1875
__mmput+0x12a/0x480 kernel/fork.c:1347
mmput+0x62/0x70 kernel/fork.c:1369
exit_mm kernel/exit.c:571 [inline]
do_exit+0x9bf/0x2d70 kernel/exit.c:926
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:0x7fcaf237fe8c
Code: Unable to access opcode bytes at 0x7fcaf237fe62.
RSP: 002b:00007ffea1db4fd0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: 000000000000006c RBX: 00007fcaf3064620 RCX: 00007fcaf237fe8c
RDX: 000000000000006c RSI: 00007fcaf3064670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffea1db5024 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007fcaf3064670 R15: 0000000000000000