INFO: task syz.0.70:5506 blocked for more than 146 seconds.
Not tainted 6.11.0-rc4-syzkaller-00255-gd2bafcf224f3 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.70 state:D stack:25072 pid:5506 tgid:5506 ppid:5218 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
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+0x72a/0x7b0 mm/memory.c:5830
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:0x7f3c95a41101
RSP: 002b:00007ffe233414b0 EFLAGS: 00010246
RAX: 0000000020000340 RBX: 0000000000000004 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00005555599f03c8
RBP: 00007ffe233415b8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000032
R13: 00007ffe233415e0 R14: 00007ffe23341600 R15: fffffffffffffffe
INFO: task syz.0.70:5507 blocked for more than 146 seconds.
Not tainted 6.11.0-rc4-syzkaller-00255-gd2bafcf224f3 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.70 state:D stack:27088 pid:5507 tgid:5506 ppid:5218 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+0x72a/0x7b0 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: 0018:ffffc900039f7c38 EFLAGS: 00050202
RAX: 0000000000800000 RBX: 0000000000000000 RCX: 0000000020000020
RDX: 0000000000040000 RSI: ffffffff820f67ff RDI: ffffffff8bb09880
RBP: ffffc900039f7ed0 R08: 0000000000000000 R09: fffffbfff2025ecb
R10: ffffffff9012f65f R11: 0000000000000000 R12: 0000000000800000
R13: 0000000000000002 R14: 0000000000010001 R15: ffff88807a1c4000
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:0x7f3c95b79e79
RSP: 002b:00007f3c968ea038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f3c95d15f80 RCX: 00007f3c95b79e79
RDX: 0000000020000000 RSI: 00000000c028aa03 RDI: 0000000000000004
RBP: 00007f3c95be793e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f3c95d15f80 R15: 00007ffe23341388
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8ddb5be0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline]
#0: ffffffff8ddb5be0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline]
#0: ffffffff8ddb5be0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6626
2 locks held by kworker/1:2/941:
#0: ffff888015880948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206
#1: ffffc9000369fd80 (free_ipc_work){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207
3 locks held by kworker/u8:8/2549:
#0: ffff888015889148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206
#1: ffffc90008de7d80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207
#2: ffffffff8fa234a8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:276
2 locks held by dhcpcd/4883:
#0: ffff88801c692678 (nlk_cb_mutex-ROUTE){+.+.}-{3:3}, at: __netlink_dump_start+0x154/0x970 net/netlink/af_netlink.c:2404
#1: ffffffff8fa234a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#1: ffffffff8fa234a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_dumpit+0x18f/0x1f0 net/core/rtnetlink.c:6506
2 locks held by getty/4971:
#0: ffff88802b3930a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900031232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2211
2 locks held by syz.0.70/5506:
#0: ffff88807b2ae2f8 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:690 [inline]
#0: ffff88807b2ae2f8 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x1e2/0x8f0 mm/memory.c:5998
#1: ffff888019eae218 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: hugetlb_wp+0x1e16/0x2980 mm/hugetlb.c:6027
3 locks held by syz.0.70/5507:
#0: ffff88802f636098 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:163 [inline]
#0: ffff88802f636098 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:5869 [inline]
#0: ffff88802f636098 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x35/0x6a0 mm/memory.c:5929
#1: ffff888019eae218 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: hugetlb_fault+0x313/0x27f0 mm/hugetlb.c:6451
#2: ffff88807b1628e8 (&resv_map->rw_sema){.+.+}-{3:3}, at: hugetlb_vma_lock_read mm/hugetlb.c:275 [inline]
#2: ffff88807b1628e8 (&resv_map->rw_sema){.+.+}-{3:3}, at: hugetlb_vma_lock_read+0x105/0x140 mm/hugetlb.c:266
8 locks held by syz-executor/6409:
#0: ffff88802f796420 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x12f/0x260 fs/read_write.c:643
#1: ffff8880220f1c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x281/0x500 fs/kernfs/file.c:325
#2: ffff888022c3ba58 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2a4/0x500 fs/kernfs/file.c:326
#3: ffffffff8efbaee8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xd2/0x4b0 drivers/net/netdevsim/bus.c:216
#4: ffff88805d3c00e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline]
#4: ffff88805d3c00e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1094 [inline]
#4: ffff88805d3c00e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1292
#5: ffff888022485250 (&devlink->lock_key#6){+.+.}-{3:3}, at: nsim_drv_remove+0x4a/0x1d0 drivers/net/netdevsim/dev.c:1672
#6: ffffffff8fa234a8 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x6f/0x6a0 drivers/net/netdevsim/netdev.c:773
#7: ffffffff8ddc1378 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:328
1 lock held by syz.4.449/6754:
#0: ffffffff8ddc1378 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:328
3 locks held by syz.2.450/6757:
#0: ffffffff8fac0af0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218
#1: ffffffff8fac0ba8 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:35 [inline]
#1: ffffffff8fac0ba8 (genl_mutex){+.+.}-{3:3}, at: genl_op_lock net/netlink/genetlink.c:60 [inline]
#1: ffffffff8fac0ba8 (genl_mutex){+.+.}-{3:3}, at: genl_op_lock net/netlink/genetlink.c:57 [inline]
#1: ffffffff8fac0ba8 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x580/0x800 net/netlink/genetlink.c:1209
#2: ffffffff8fa234a8 (rtnl_mutex){+.+.}-{3:3}, at: macsec_upd_rxsc+0x21c/0x6a0 drivers/net/macsec.c:2551
1 lock held by syz.1.452/6769:
#0: ffffffff8fa234a8 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline]
#0: ffffffff8fa234a8 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3e/0x230 drivers/net/tun.c:3510
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc4-syzkaller-00255-gd2bafcf224f3 #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: 6757 Comm: syz.2.450 Not tainted 6.11.0-rc4-syzkaller-00255-gd2bafcf224f3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:__kasan_check_read+0x8/0x20 mm/kasan/shadow.c:31
Code: 60 48 c7 c7 a8 6b 54 8d 5b 5d 41 5c e9 11 45 83 ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 0c 24 <89> f6 31 d2 e9 2f f1 ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
RSP: 0018:ffffc900039e71b8 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff81da6a68
RDX: fffff940005c9259 RSI: 0000000000000008 RDI: ffffffff9012f658
RBP: 0000000000000000 R08: 0000000000000000 R09: fffff940005c9258
R10: ffffea0002e492c7 R11: 0000000000000000 R12: 000000000003db0c
R13: dffffc0000000000 R14: ffffc900039e7458 R15: ffffea0002e492c0
FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb7c1aac580 CR3: 000000000db7c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
instrument_atomic_read include/linux/instrumented.h:68 [inline]
_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
cpumask_test_cpu include/linux/cpumask.h:562 [inline]
cpu_online include/linux/cpumask.h:1105 [inline]
trace_mm_page_free+0x38/0x170 include/trace/events/kmem.h:136
free_pages_prepare mm/page_alloc.c:1046 [inline]
free_unref_folios+0x22c/0x1390 mm/page_alloc.c:2660
folios_put_refs+0x560/0x760 mm/swap.c:1039
free_pages_and_swap_cache+0x45f/0x510 mm/swap_state.c:335
__tlb_batch_free_encoded_pages+0xf9/0x290 mm/mmu_gather.c:136
tlb_batch_pages_flush mm/mmu_gather.c:149 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:366 [inline]
tlb_flush_mmu+0xe9/0x590 mm/mmu_gather.c:373
zap_pte_range mm/memory.c:1697 [inline]
zap_pmd_range mm/memory.c:1736 [inline]
zap_pud_range mm/memory.c:1765 [inline]
zap_p4d_range mm/memory.c:1786 [inline]
unmap_page_range+0x1c88/0x3c10 mm/memory.c:1807
unmap_single_vma+0x194/0x2b0 mm/memory.c:1853
unmap_vmas+0x22f/0x490 mm/memory.c:1897
exit_mmap+0x1b8/0xb20 mm/mmap.c:3412
__mmput+0x12a/0x480 kernel/fork.c:1345
mmput+0x62/0x70 kernel/fork.c:1367
exit_mm kernel/exit.c:571 [inline]
do_exit+0x9bf/0x2bb0 kernel/exit.c:869
do_group_exit+0xd3/0x2a0 kernel/exit.c:1031
get_signal+0x25fd/0x2770 kernel/signal.c:2917
arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:310
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:0x7f9a72b79e79
Code: Unable to access opcode bytes at 0x7f9a72b79e4f.
RSP: 002b:00007f9a73886038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: 00000000000024d8 RBX: 00007f9a72d15f80 RCX: 00007f9a72b79e79
RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000005
RBP: 00007f9a72be793e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f9a72d15f80 R15: 00007ffc076129f8