INFO: task syz.3.826:10813 blocked for more than 143 seconds.
Not tainted 6.11.0-syzkaller-02574-ga430d95c5efa #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.826 state:D stack:28352 pid:10813 tgid:10811 ppid:9832 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
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:1052 [inline]
folio_lock include/linux/pagemap.h:1048 [inline]
__filemap_get_folio+0x6ab/0xae0 mm/filemap.c:1898
filemap_lock_folio include/linux/pagemap.h:692 [inline]
filemap_lock_hugetlb_folio include/linux/hugetlb.h:795 [inline]
hugetlb_fault+0x15f3/0x27e0 mm/hugetlb.c:6531
handle_mm_fault+0x956/0xa60 mm/memory.c:5847
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:ffffc90003307c48 EFLAGS: 00050246
RAX: 0000000000000000 RBX: 0000000000000008 RCX: 0000000000000008
RDX: fffff52000660f98 RSI: ffffc90003307cb8 RDI: 000000002001db48
RBP: 000000002001db48 R08: 0000000000000000 R09: fffff52000660f97
R10: ffffc90003307cbf R11: 0000000000000000 R12: ffffc90003307cb8
R13: 000000002001db50 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+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:0x7ff36e37def9
RSP: 002b:00007ff36ddff038 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00007ff36e535f80 RCX: 00007ff36e37def9
RDX: 0000000000018ff8 RSI: 0000000020019680 RDI: 0000000000000003
RBP: 00007ff36e3f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ff36e535f80 R15: 00007ffcc1ab9a58
INFO: task syz.3.826:10818 blocked for more than 144 seconds.
Not tainted 6.11.0-syzkaller-02574-ga430d95c5efa #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.826 state:D stack:27752 pid:10818 tgid:10811 ppid:9832 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+0x1df8/0x2950 mm/hugetlb.c:6027
hugetlb_fault+0x1f52/0x27e0 mm/hugetlb.c:6579
handle_mm_fault+0x956/0xa60 mm/memory.c:5847
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:ffffc90002effc38 EFLAGS: 00050202
RAX: fffffffffffffff4 RBX: 0000000000000000 RCX: 0000000020000020
RDX: 0000000000040000 RSI: ffffffff8213d109 RDI: ffffffff8bb118a0
RBP: ffffc90002effed0 R08: 0000000000000000 R09: fffffbfff203b333
R10: ffffffff901d999f R11: 0000000000000000 R12: fffffffffffffff4
R13: 0000000000000004 R14: 0000000000010001 R15: ffff88806ca50840
userfaultfd_copy fs/userfaultfd.c:1735 [inline]
userfaultfd_ioctl+0x2f6c/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+0x18d/0x210 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:0x7ff36e37def9
RSP: 002b:00007ff36ddbd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ff36e536130 RCX: 00007ff36e37def9
RDX: 0000000020000000 RSI: 00000000c028aa03 RDI: 0000000000000006
RBP: 00007ff36e3f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ff36e536130 R15: 00007ffcc1ab9a58
Showing all locks held in the system:
1 lock held by rcu_preempt/17:
#0: ffff8880b883eb98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:568 [inline]
#0: ffff8880b883eb98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:553
1 lock held by khungtaskd/31:
#0: ffffffff8ddba6a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline]
#0: ffffffff8ddba6a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline]
#0: ffffffff8ddba6a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6626
2 locks held by getty/4981:
#0: ffff8880308360a0 (&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
3 locks held by kworker/0:7/6911:
#0: ffff8880b883eb98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:568 [inline]
#0: ffff8880b883eb98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:553
#1: ffff8880b8828a48 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:989
#2: ffff8880b882a858 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5d/0x220 kernel/time/timer.c:1051
3 locks held by syz.3.826/10813:
#0: ffff88807c1ec418 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_lock_killable include/linux/mmap_lock.h:153 [inline]
#0: ffff88807c1ec418 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:5895 [inline]
#0: ffff88807c1ec418 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x3a9/0x6a0 mm/memory.c:5946
#1: ffff888021286848 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: hugetlb_fault+0x307/0x27e0 mm/hugetlb.c:6451
#2: ffff88807f3ab0e8 (&resv_map->rw_sema){.+.+}-{3:3}, at: hugetlb_vma_lock_read mm/hugetlb.c:275 [inline]
#2: ffff88807f3ab0e8 (&resv_map->rw_sema){.+.+}-{3:3}, at: hugetlb_vma_lock_read+0x105/0x140 mm/hugetlb.c:266
2 locks held by syz.3.826/10818:
#0: ffff88807c1ec418 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_lock_killable include/linux/mmap_lock.h:153 [inline]
#0: ffff88807c1ec418 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:5895 [inline]
#0: ffff88807c1ec418 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x3a9/0x6a0 mm/memory.c:5946
#1: ffff888021286848 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: hugetlb_wp+0x1df8/0x2950 mm/hugetlb.c:6027
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.11.0-syzkaller-02574-ga430d95c5efa #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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 11311 Comm: kworker/u8:3 Not tainted 6.11.0-syzkaller-02574-ga430d95c5efa #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Workqueue: bat_events batadv_nc_worker
RIP: 0010:rcu_preempt_read_exit kernel/rcu/tree_plugin.h:396 [inline]
RIP: 0010:__rcu_read_unlock+0x70/0x580 kernel/rcu/tree_plugin.h:433
Code: 4c 8b 25 e3 06 91 7e 49 8d bc 24 44 04 00 00 8b 9d 44 04 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 14 02 <48> 89 f8 83 e0 07 83 eb 01 83 c0 03 38 d0 7c 08 84 d2 0f 85 eb 01
RSP: 0018:ffffc9000954faf0 EFLAGS: 00000a03
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffc9000954faa8
RDX: 0000000000000000 RSI: ffffffff8b4cddc0 RDI: ffff888062c15e44
RBP: ffff888062c15a00 R08: 0000000000000000 R09: fffffbfff203b333
R10: ffffffff901d999f R11: 0000000000000000 R12: ffff888062c15a00
R13: ffff88807a81d7e8 R14: 0000000000000066 R15: ffffffff8adc5dd0
FS: 0000000000000000(0000) GS:ffff8880b8800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f304a908178 CR3: 000000000db7c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rcu_read_unlock include/linux/rcupdate.h:871 [inline]
batadv_nc_process_nc_paths.part.0+0x21f/0x3e0 net/batman-adv/network-coding.c:699
batadv_nc_process_nc_paths net/batman-adv/network-coding.c:679 [inline]
batadv_nc_worker+0xcc8/0x1060 net/batman-adv/network-coding.c:728
process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3231
process_scheduled_works kernel/workqueue.c:3312 [inline]
worker_thread+0x6c8/0xf00 kernel/workqueue.c:3393
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
vkms_vblank_simulate: vblank timer overrun