rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P10512/2:b..l rcu: (detected by 1, t=10503 jiffies, g=47681, q=273 ncpus=2) task:syz-executor.0 state:R running task stack:24144 pid:10512 tgid:10505 ppid:7108 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x1796/0x49d0 kernel/sched/core.c:6745 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7067 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:debug_lockdep_rcu_enabled+0xf/0x40 kernel/rcu/update.c:320 Code: 0f 0b 90 90 90 eb c6 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 31 c0 83 3d 57 0c 2f 04 00 74 1e <83> 3d 96 3d 2f 04 00 74 15 65 48 8b 0c 25 80 d4 03 00 31 c0 83 b9 RSP: 0018:ffffc9000c20f138 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888026c93c00 RDX: ffff888026c93c00 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff8b781e67 R09: ffffffff8b7897bb R10: 0000000000000002 R11: ffff888026c93c00 R12: ffffc9000c20f460 R13: ffff88823bdac002 R14: ffffc9000c20f478 R15: 1ffff92001841e8f rcu_read_lock_held_common kernel/rcu/update.c:105 [inline] rcu_read_lock_held+0xa/0x50 kernel/rcu/update.c:349 xa_head include/linux/xarray.h:1204 [inline] xas_start+0x2d7/0x7b0 lib/xarray.c:190 xas_load+0x2c/0x5c0 lib/xarray.c:238 xas_find+0x13f/0x960 lib/xarray.c:1266 next_uptodate_folio+0x33/0xb10 mm/filemap.c:3463 filemap_map_pages+0x302/0x1e70 mm/filemap.c:3615 do_fault_around mm/memory.c:4878 [inline] do_read_fault mm/memory.c:4911 [inline] do_fault mm/memory.c:5050 [inline] do_pte_missing mm/memory.c:3897 [inline] handle_pte_fault+0x3b9b/0x7090 mm/memory.c:5380 __handle_mm_fault mm/memory.c:5523 [inline] handle_mm_fault+0xfb0/0x19d0 mm/memory.c:5688 faultin_page mm/gup.c:1290 [inline] __get_user_pages+0x6ef/0x1590 mm/gup.c:1589 populate_vma_page_range+0x264/0x330 mm/gup.c:2029 __mm_populate+0x27a/0x460 mm/gup.c:2132 mm_populate include/linux/mm.h:3464 [inline] vm_mmap_pgoff+0x2c3/0x3d0 mm/util.c:578 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:0x7f6459e7d0a9 RSP: 002b:00007f645ab730c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f6459fb4120 RCX: 00007f6459e7d0a9 RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007f6459eec074 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f6459fb4120 R15: 00007fff9db9ffc8 rcu: rcu_preempt kthread starved for 10549 jiffies! g47681 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0 rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior. rcu: RCU grace-period kthread stack dump: task:rcu_preempt state:R running task stack:24912 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x1796/0x49d0 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2000 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202 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 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5118 Comm: kworker/u9:9 Not tainted 6.10.0-rc4-syzkaller-00164-g66cc544fd75c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: hci4 hci_cmd_sync_work RIP: 0010:switch_mm_irqs_off+0x1a5/0xae0 arch/x86/mm/tlb.c:507 Code: 83 52 07 00 00 41 f7 c7 00 08 00 00 48 8b 74 24 18 0f 85 4d 07 00 00 41 8d 4f 01 0f b7 c9 48 09 c8 49 39 c4 0f 85 54 08 00 00 <80> 7c 24 20 00 74 08 65 c6 05 2c 80 c1 7e 00 4c 39 74 24 30 0f 84 RSP: 0018:ffffc90003ea72e0 EFLAGS: 00000046 RAX: 000000005fc98000 RBX: ffff8880252d1e00 RCX: ffff8880645d3c00 RDX: 0000000040000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90003ea73d0 R08: ffffffff81424bac R09: 1ffff1100c8baa2d R10: dffffc0000000000 R11: ffffed100c8baa2e R12: 000000005fc98000 R13: 0000000000000000 R14: ffff888057a26880 R15: 1ffff1100c8b0000 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f94821d3f80 CR3: 000000005fc98000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: context_switch kernel/sched/core.c:5392 [inline] __schedule+0x1066/0x49d0 kernel/sched/core.c:6745 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7067 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:preempt_count_add+0x0/0x190 kernel/sched/core.c:5860 Code: c1 03 38 c1 7c 97 48 8b 3c 24 e8 8b ef 92 00 eb 8c e9 ee fe ff ff 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 41 57 41 56 53 89 fb 48 c7 c0 e0 66 76 94 48 c1 e8 03 RSP: 0018:ffffc90003ea7760 EFLAGS: 00000202 RAX: 0000000000000001 RBX: 1ffff1100c8ba780 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8bcabb80 RDI: 0000000000000001 RBP: ffff8880645d3c00 R08: ffffffff92f6e657 R09: 1ffffffff25edcca R10: dffffc0000000000 R11: fffffbfff25edccb R12: dffffc0000000000 R13: 1ffff920007d4ef4 R14: ffffffff8b8644b0 R15: ffff8880645d4e78 __schedule_loop kernel/sched/core.c:6821 [inline] schedule+0x144/0x320 kernel/sched/core.c:6837 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 __hci_cmd_sync_sk+0x8df/0x1130 net/bluetooth/hci_sync.c:171 __hci_cmd_sync_status_sk net/bluetooth/hci_sync.c:252 [inline] hci_acl_create_conn_sync+0x5fa/0x9a0 net/bluetooth/hci_sync.c:6648 hci_cmd_sync_work+0x22b/0x400 net/bluetooth/hci_sync.c:310 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd70 kernel/workqueue.c:3393 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