INFO: task syz.4.1203:12354 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.4.1203 state:D stack:25824 pid:12354 tgid:12354 ppid:11997 flags:0x00000004
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+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:0x7efead251629
RSP: 002b:00007ffc4443b900 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000002 RCX: ffffffffff7fffff
RDX: 781b4fabe46a691d RSI: 0000000020800000 RDI: 00005555784003c8
RBP: 00007efead537a80 R08: 00007efead200000 R09: 0000000000000008
R10: 0000000000000000 R11: 0000000000000003 R12: 00000000001148a6
R13: 00007ffc4443ba00 R14: 0000000000000032 R15: fffffffffffffffe
INFO: task syz.4.1203:12355 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.4.1203 state:D stack:27792 pid:12355 tgid:12354 ppid:11997 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: 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:ffffc90003e67c48 EFLAGS: 00050246
RAX: 0000000000000000 RBX: 0000000000000008 RCX: 0000000000000008
RDX: fffff520007ccf98 RSI: ffffc90003e67cb8 RDI: 000000002001d430
RBP: 000000002001d430 R08: 0000000000000000 R09: fffff520007ccf97
R10: ffffc90003e67cbf R11: 0000000000000000 R12: ffffc90003e67cb8
R13: 000000002001d438 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:0x7efead37dff9
RSP: 002b:00007efeae198038 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00007efead535f80 RCX: 00007efead37dff9
RDX: 0000000000018ff8 RSI: 0000000020019680 RDI: 0000000000000004
RBP: 00007efead3f0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007efead535f80 R15: 00007ffc4443b798
Showing all locks held in the system:
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
4 locks held by kworker/u8:2/35:
3 locks held by kworker/u8:4/62:
#0: ffff88801b089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204
#1: ffffc900015d7d80 ((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 getty/4982:
#0: ffff88802e9160a0 (&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
4 locks held by kworker/1:1/9181:
#0: ffff8880b863ee98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:601 [inline]
#0: ffff8880b863ee98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:586
#1: ffff8880b8728a48 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2c1/0x8e0 kernel/sched/psi.c:987
#2: ffffffff8f2739b8 ("ratelimiter_table_lock"){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline]
#2: ffffffff8f2739b8 ("ratelimiter_table_lock"){+.+.}-{2:2}, at: wg_ratelimiter_gc_entries+0xc6/0x520 drivers/net/wireguard/ratelimiter.c:63
#3: ffffffff9aa3c8b8 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x199/0x540 lib/debugobjects.c:708
3 locks held by syz-executor/12197:
#0: ffff88805622cd80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x26/0x90 net/bluetooth/hci_core.c:481
#1: ffff88805622c078 (&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
3 locks held by syz.4.1203/12354:
#0: ffff888060cdd3d0 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:704 [inline]
#0: ffff888060cdd3d0 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x13e/0x980 mm/memory.c:6228
#1: ffff8881432c6458 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: hugetlb_fault+0x307/0x2fa0 mm/hugetlb.c:6326
#2: ffff88806118a0e8 (&resv_map->rw_sema){++++}-{3:3}, at: hugetlb_vma_lock_read mm/hugetlb.c:276 [inline]
#2: ffff88806118a0e8 (&resv_map->rw_sema){++++}-{3:3}, at: hugetlb_vma_lock_read+0x105/0x140 mm/hugetlb.c:267
2 locks held by syz.4.1203/12355:
#0: ffff88806f372798 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_lock_killable include/linux/mmap_lock.h:153 [inline]
#0: ffff88806f372798 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:6108 [inline]
#0: ffff88806f372798 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x3a9/0x6a0 mm/memory.c:6159
#1: ffff8881432c6458 (&hugetlb_fault_mutex_table[i]){+.+.}-{3:3}, at: hugetlb_wp+0x1b4a/0x3320 mm/hugetlb.c:5894
4 locks held by syz-executor/12997:
#0: ffff88804954cd80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x26/0x90 net/bluetooth/hci_core.c:481
#1: ffff88804954c078 (&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
#3: ffffffff8e1c3c38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:329
3 locks held by syz-executor/13246:
#0: ffff88803215cd80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x26/0x90 net/bluetooth/hci_core.c:481
#1: ffff88803215c078 (&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
1 lock held by syz.0.1387/13572:
#0: ffffffff8fee11a8 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline]
#0: ffffffff8fee11a8 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x38/0x230 drivers/net/tun.c:3517
=============================================
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: 6678 Comm: kworker/u8:12 Not tainted 6.12.0-rc2-syzkaller-00006-g87d6aab2389e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: bat_events batadv_nc_worker
RIP: 0010:mark_lock+0x63/0xc60 kernel/locking/lockdep.c:4686
Code: 25 7a 8d 48 c1 e8 03 48 c7 44 24 40 40 50 6a 81 49 89 c7 48 01 d0 c7 00 f1 f1 f1 f1 c7 40 04 00 f2 f2 f2 c7 40 08 00 f2 f2 f2 40 10 00 00 00 f3 c7 40 14 f3 f3 f3 f3 65 48 8b 04 25 28 00 00
RSP: 0018:ffffc90012227960 EFLAGS: 00000082
RAX: fffff52002444f32 RBX: 0000000000000000 RCX: 1ffffffff20bde99
RDX: dffffc0000000000 RSI: ffff888025fc46e0 RDI: ffff888025fc3c00
RBP: ffffc90012227a98 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff905f370f R11: 0000000000000000 R12: ffff888025fc3c00
R13: dffffc0000000000 R14: 0000000000000002 R15: 1ffff92002444f32
FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000563a9a8c7238 CR3: 000000000df7c000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:4321
__trace_hardirqs_on_caller kernel/locking/lockdep.c:4339 [inline]
lockdep_hardirqs_on_prepare+0x137/0x420 kernel/locking/lockdep.c:4406
trace_hardirqs_on+0x36/0x40 kernel/trace/trace_preemptirq.c:61
__local_bh_enable_ip+0xa4/0x120 kernel/softirq.c:387
spin_unlock_bh include/linux/spinlock.h:396 [inline]
batadv_nc_purge_paths+0x1c6/0x390 net/batman-adv/network-coding.c:471
batadv_nc_worker+0x94a/0x1060 net/batman-adv/network-coding.c:722
process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229
process_scheduled_works kernel/workqueue.c:3310 [inline]
worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391
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