INFO: task syz.2.192:6154 blocked for more than 143 seconds.
Not tainted 6.11.0-rc2-syzkaller-00111-gee9a43b7cfe2 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.192 state:D stack:24672 pid:6154 tgid:6154 ppid:5228 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5188 [inline]
__schedule+0x17ae/0x4a10 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 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+0x6a4/0xd70 kernel/locking/mutex.c:752
hugetlb_wp+0x104d/0x3a90 mm/hugetlb.c:6027
hugetlb_fault+0x26de/0x3780 mm/hugetlb.c:6579
handle_mm_fault+0x16a5/0x1880 mm/memory.c:5831
do_user_addr_fault arch/x86/mm/fault.c:1338 [inline]
handle_page_fault arch/x86/mm/fault.c:1481 [inline]
exc_page_fault+0x459/0x8c0 arch/x86/mm/fault.c:1539
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623
RIP: 0033:0x7f274dc4b1d0
RSP: 002b:00007fff98100c70 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000002 RCX: ffffffffff7fffff
RDX: 11f88e02f711cb9d RSI: 0000000020800000 RDI: 0000555556be53c8
RBP: 00007fff98100d40 R08: 00007f274dc00000 R09: 0000000000000008
R10: 0000000000000000 R11: 0000000000000003 R12: 0000000000000032
R13: 00007fff98100d60 R14: 00007fff98100d80 R15: fffffffffffffffe
INFO: task syz.2.192:6155 blocked for more than 144 seconds.
Not tainted 6.11.0-rc2-syzkaller-00111-gee9a43b7cfe2 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.192 state:D stack:26768 pid:6155 tgid:6154 ppid:5228 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5188 [inline]
__schedule+0x17ae/0x4a10 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
io_schedule+0x8d/0x110 kernel/sched/core.c:7401
folio_wait_bit_common+0x882/0x12b0 mm/filemap.c:1307
__filemap_get_folio+0xb7/0xc10 mm/filemap.c:1898
hugetlb_fault+0x1b10/0x3780 mm/hugetlb.c:6531
handle_mm_fault+0x16a5/0x1880 mm/memory.c:5831
do_user_addr_fault arch/x86/mm/fault.c:1389 [inline]
handle_page_fault arch/x86/mm/fault.c:1481 [inline]
exc_page_fault+0x2b9/0x8c0 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:ffffc90004ae7bb0 EFLAGS: 00050246
RAX: 0000000000000000 RBX: 000000002001ed00 RCX: 0000000000000008
RDX: 0000000000000000 RSI: ffffc90004ae7c20 RDI: 000000002001ecf8
RBP: ffffc90004ae7c90 R08: ffffc90004ae7c27 R09: 1ffff9200095cf84
R10: dffffc0000000000 R11: fffff5200095cf85 R12: 0000000000000008
R13: 0000000000018ff0 R14: 000000002001ecf8 R15: ffffc90004ae7c20
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+0x86/0xb0 lib/usercopy.c:26
copy_to_user include/linux/uaccess.h:209 [inline]
msr_read+0x187/0x260 arch/x86/kernel/msr.c:69
vfs_read+0x204/0xbc0 fs/read_write.c:474
ksys_read+0x1a0/0x2c0 fs/read_write.c:619
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f274dd779f9
RSP: 002b:00007f274ea8a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00007f274df05f80 RCX: 00007f274dd779f9
RDX: 0000000000018ff8 RSI: 0000000020019680 RDI: 0000000000000003
RBP: 00007f274dde58ee R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f274df05f80 R15: 00007fff98100b08
INFO: task syz.3.194:6165 blocked for more than 144 seconds.
Not tainted 6.11.0-rc2-syzkaller-00111-gee9a43b7cfe2 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.194 state:D stack:23680 pid:6165 tgid:6161 ppid:5221 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5188 [inline]
__schedule+0x17ae/0x4a10 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 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+0x6a4/0xd70 kernel/locking/mutex.c:752
mfill_atomic_hugetlb mm/userfaultfd.c:578 [inline]
mfill_atomic mm/userfaultfd.c:769 [inline]
mfill_atomic_copy+0x12ed/0x1a50 mm/userfaultfd.c:865
userfaultfd_copy fs/userfaultfd.c:1729 [inline]
userfaultfd_ioctl+0x2896/0x70a0 fs/userfaultfd.c:2133
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:907 [inline]
__se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9623d779f9
RSP: 002b:00007f9624b2d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f9623f06058 RCX: 00007f9623d779f9
RDX: 0000000020000000 RSI: 00000000c028aa03 RDI: 0000000000000006
RBP: 00007f9623de58ee R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f9623f06058 R15: 00007ffe621734b8
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8e7382a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline]
#0: ffffffff8e7382a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline]
#0: ffffffff8e7382a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6626
3 locks held by kworker/u8:2/35:
#0: ffff8880b923e9d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xb0/0x140 kernel/sched/core.c:568
#1: ffffc90000ab7d00 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline]
#1: ffffc90000ab7d00 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312
#2: ffffffff8e7382a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline]
#2: ffffffff8e7382a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline]
#2: ffffffff8e7382a0 (rcu_read_lock){....}-{1:2}, at: batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline]
#2: ffffffff8e7382a0 (rcu_read_lock){....}-{1:2}, at: batadv_nc_worker+0xcb/0x610 net/batman-adv/network-coding.c:719
2 locks held by getty/4973:
#0: ffff88802ae0d0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc9000312b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ac/0x1e00 drivers/tty/n_tty.c:2211
2 locks held by syz.2.192/6154:
#0: ffff88802e338220 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:690 [inline]
#0: ffff88802e338220 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x2f9/0x6e0 mm/memory.c:5999
#1: ffff88801aafa338 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: hugetlb_wp+0x104d/0x3a90 mm/hugetlb.c:6027
3 locks held by syz.2.192/6155:
#0: ffff88807aa2c418 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_lock_killable+0x1d/0x70 include/linux/mmap_lock.h:153
#1: ffff88801aafa338 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: hugetlb_fault+0x575/0x3780 mm/hugetlb.c:6451
#2: ffff88802e58f8e8 (&resv_map->rw_sema){++++}-{3:3}, at: hugetlb_fault+0x67b/0x3780 mm/hugetlb.c:6458
3 locks held by syz.3.194/6165:
#0: ffff88802bed4580 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:690 [inline]
#0: ffff88802bed4580 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x2f9/0x6e0 mm/memory.c:5999
#1: ffff88807a0004b8 (&ctx->map_changing_lock){.+.+}-{3:3}, at: mfill_atomic mm/userfaultfd.c:744 [inline]
#1: ffff88807a0004b8 (&ctx->map_changing_lock){.+.+}-{3:3}, at: mfill_atomic_copy+0x27c/0x1a50 mm/userfaultfd.c:865
#2: ffff88801aafa338 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: mfill_atomic_hugetlb mm/userfaultfd.c:578 [inline]
#2: ffff88801aafa338 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: mfill_atomic mm/userfaultfd.c:769 [inline]
#2: ffff88801aafa338 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: mfill_atomic_copy+0x12ed/0x1a50 mm/userfaultfd.c:865
3 locks held by syz.2.273/6539:
#0: ffff888015b7c420 (sb_writers#13){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2876 [inline]
#0: ffff888015b7c420 (sb_writers#13){.+.+}-{0:0}, at: vfs_fallocate+0x4ea/0x6c0 fs/open.c:333
#1: ffff88805901d078 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:799 [inline]
#1: ffff88805901d078 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: hugetlbfs_fallocate+0x2a7/0x10e0 fs/hugetlbfs/inode.c:828
#2: ffff88801aafa338 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: hugetlbfs_fallocate+0x867/0x10e0 fs/hugetlbfs/inode.c:872
2 locks held by syz.0.299/6641:
#0: ffff88802c18f8e0 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:690 [inline]
#0: ffff88802c18f8e0 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x2f9/0x6e0 mm/memory.c:5999
#1: ffff88801aafa338 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: hugetlb_fault+0x575/0x3780 mm/hugetlb.c:6451
3 locks held by syz.2.374/6989:
#0: ffff888015b7c420 (sb_writers#13){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2876 [inline]
#0: ffff888015b7c420 (sb_writers#13){.+.+}-{0:0}, at: vfs_fallocate+0x4ea/0x6c0 fs/open.c:333
#1: ffff88807a0d5a98 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:799 [inline]
#1: ffff88807a0d5a98 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: hugetlbfs_fallocate+0x2a7/0x10e0 fs/hugetlbfs/inode.c:828
#2: ffff88801aafa338 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: hugetlbfs_fallocate+0x867/0x10e0 fs/hugetlbfs/inode.c:872
1 lock held by syz.0.464/7391:
#0: ffff8880b923e9d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xb0/0x140 kernel/sched/core.c:568
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc2-syzkaller-00111-gee9a43b7cfe2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 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+0xfee/0x1030 kernel/hung_task.c:379
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/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: 2951 Comm: kworker/u8:8 Not tainted 6.11.0-rc2-syzkaller-00111-gee9a43b7cfe2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet
RIP: 0010:__lock_acquire+0xe6e/0x2040
Code: 7c de 4c 89 ef e8 a2 c7 87 00 eb d4 49 89 ff 48 c7 c7 60 51 60 8e 48 89 ee e8 2e d1 71 03 4c 89 ff eb 8f 89 d8 25 ff 1f 00 00 eb 03 81 e3 00 60 00 00 09 c3 4c 89 f0 48 c1 e8 20 29 c3 89 c1
RSP: 0018:ffffc90009b0f770 EFLAGS: 00000006
RAX: 0000000000000021 RBX: 0000000000020021 RCX: ffff88802bc6a8e0
RDX: 0000000000000000 RSI: 0000000000000008 RDI: dffffc0000000000
RBP: ffff88802bc6a958 R08: ffffffff934ee807 R09: 1ffffffff269dd00
R10: dffffc0000000000 R11: fffffbfff269dd01 R12: 0000000000000000
R13: ffff88802bc6a8d8 R14: d3e8d630b159c6ed R15: ffff88802bc6a978
FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2fc0fff8 CR3: 0000000024c00000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5759
rcu_lock_acquire include/linux/rcupdate.h:326 [inline]
rcu_read_lock include/linux/rcupdate.h:838 [inline]
batadv_iv_ogm_slide_own_bcast_window net/batman-adv/bat_iv_ogm.c:754 [inline]
batadv_iv_ogm_schedule_buff net/batman-adv/bat_iv_ogm.c:825 [inline]
batadv_iv_ogm_schedule+0x43f/0x1090 net/batman-adv/bat_iv_ogm.c:868
batadv_iv_send_outstanding_bat_ogm_packet+0x6fe/0x810 net/batman-adv/bat_iv_ogm.c:1712
process_one_work kernel/workqueue.c:3231 [inline]
process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312
worker_thread+0x86d/0xd40 kernel/workqueue.c:3390
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244