rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5831/1:b..l rcu: (detected by 1, t=10503 jiffies, g=19121, q=321 ncpus=2) task:syz-executor state:R running task stack:19632 pid:5831 tgid:5831 ppid:5822 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7078 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 kernel/rcu/tree.c:4770 [inline] RIP: 0010:rcu_lockdep_current_cpu_online+0x4/0x120 kernel/rcu/tree.c:4774 Code: 75 03 e9 53 ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa <41> 57 41 56 53 65 8b 0d 18 5a 7e 7e b0 01 f7 c1 00 00 f0 00 0f 85 RSP: 0018:ffffc90003b579a8 EFLAGS: 00000202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffff88802ab71e00 RDX: 0000000000000000 RSI: ffffffff8c5fb080 RDI: ffffffff8c5fb040 RBP: 0000000000000100 R08: ffffffff82116f7e R09: 1ffffffff2854b10 R10: dffffc0000000000 R11: fffffbfff2854b11 R12: 0000000000042a66 R13: 0000000000000000 R14: ffffffff82116eb0 R15: ffff88801bc00000 rcu_read_lock_held_common kernel/rcu/update.c:113 [inline] rcu_read_lock_held+0x1e/0x50 kernel/rcu/update.c:349 lookup_page_ext mm/page_ext.c:254 [inline] page_ext_get+0x192/0x2a0 mm/page_ext.c:526 __reset_page_owner+0x30/0x430 mm/page_owner.c:290 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1127 [inline] free_unref_page+0xd3f/0x1010 mm/page_alloc.c:2659 __slab_free+0x2c2/0x380 mm/slub.c:4524 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4119 [inline] slab_alloc_node mm/slub.c:4168 [inline] __do_kmalloc_node mm/slub.c:4297 [inline] __kmalloc_noprof+0x236/0x4c0 mm/slub.c:4310 kmalloc_noprof include/linux/slab.h:905 [inline] kzalloc_noprof include/linux/slab.h:1037 [inline] lsm_blob_alloc security/security.c:684 [inline] lsm_sock_alloc security/security.c:4836 [inline] security_sk_alloc+0x53/0x360 security/security.c:4852 sk_prot_alloc+0xfa/0x210 net/core/sock.c:2171 sk_alloc+0x38/0x370 net/core/sock.c:2221 inet_create+0x648/0xea0 net/ipv4/af_inet.c:326 __sock_create+0x4c0/0xa30 net/socket.c:1558 sock_create net/socket.c:1616 [inline] __sys_socket_create net/socket.c:1653 [inline] __sys_socket+0x150/0x3c0 net/socket.c:1700 __do_sys_socket net/socket.c:1714 [inline] __se_sys_socket net/socket.c:1712 [inline] __x64_sys_socket+0x7a/0x90 net/socket.c:1712 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:0x7f04e5787c47 RSP: 002b:00007ffd6c01b3f8 EFLAGS: 00000206 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 00007f04e59452e0 RCX: 00007f04e5787c47 RDX: 0000000000000006 RSI: 0000000000000001 RDI: 0000000000000002 RBP: 00007ffd6c01bb0c R08: 0000000000000000 R09: 00007ffd6c01b827 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000063 R13: 000000000001f82a R14: 0000000000000000 R15: 00000000000000b3 rcu: rcu_preempt kthread starved for 10525 jiffies! g19121 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:25744 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 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 UID: 0 PID: 6117 Comm: kworker/u8:9 Not tainted 6.13.0-rc6-syzkaller-00133-g47e55e4b410f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bat_events batadv_tt_purge RIP: 0010:__this_cpu_preempt_check+0x0/0x20 lib/smp_processor_id.c:65 Code: fd 3d f5 e8 e2 97 40 f5 eb a8 e8 ab e0 ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 48 89 fe 48 c7 c7 a0 b0 5f 8c e9 bd fe ff ff 66 2e 0f RSP: 0018:ffffc90000006e70 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 0000000000000001 RCX: 0000000080000101 RDX: ffff88802f750000 RSI: ffffffff8e937ae0 RDI: ffffffff8c0aaae0 RBP: 0000000000000002 R08: ffffffff8a907150 R09: 1ffff92000000de8 R10: dffffc0000000000 R11: fffff52000000de9 R12: 0000000000000246 R13: ffff88802f750000 R14: 00000000ffffffff R15: ffffffff8e937ae0 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5ebcbebff8 CR3: 0000000058c94000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_finish kernel/locking/lockdep.c:467 [inline] lock_is_held_type+0x101/0x190 kernel/locking/lockdep.c:5922 __rhashtable_lookup include/linux/rhashtable.h:602 [inline] rhashtable_lookup include/linux/rhashtable.h:646 [inline] fdb_find_rcu+0x137/0x7a0 net/bridge/br_fdb.c:216 br_fdb_update+0x142/0x740 net/bridge/br_fdb.c:892 br_handle_frame_finish+0x739/0x1fe0 net/bridge/br_input.c:141 br_nf_hook_thresh+0x472/0x590 br_nf_pre_routing_finish_ipv6+0xaa0/0xdd0 NF_HOOK include/linux/netfilter.h:314 [inline] br_nf_pre_routing_ipv6+0x379/0x770 net/bridge/br_netfilter_ipv6.c:184 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_bridge_pre net/bridge/br_input.c:277 [inline] br_handle_frame+0x9fd/0x1530 net/bridge/br_input.c:424 __netif_receive_skb_core+0x14eb/0x4690 net/core/dev.c:5598 __netif_receive_skb_one_core net/core/dev.c:5702 [inline] __netif_receive_skb+0x12f/0x650 net/core/dev.c:5817 process_backlog+0x662/0x15b0 net/core/dev.c:6149 __napi_poll+0xcb/0x490 net/core/dev.c:6902 napi_poll net/core/dev.c:6971 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:7093 handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561 do_softirq+0x11b/0x1e0 kernel/softirq.c:462 __local_bh_enable_ip+0x1bb/0x200 kernel/softirq.c:389 spin_unlock_bh include/linux/spinlock.h:396 [inline] batadv_tt_local_purge+0x2a0/0x340 net/batman-adv/translation-table.c:1329 batadv_tt_purge+0x35/0xa40 net/batman-adv/translation-table.c:3531 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 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 net_ratelimit: 15710 callbacks suppressed bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0) bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0) bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0) bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0) bridge0: received packet on veth0_to_bridge with own address as source address (addr:a2:2a:c7:12:ab:52, vlan:0) net_ratelimit: 15568 callbacks suppressed bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0) bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0) bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0) bridge0: received packet on veth0_to_bridge with own address as source address (addr:a2:2a:c7:12:ab:52, vlan:0) bridge0: received packet on veth0_to_bridge with own address as source address (addr:a2:2a:c7:12:ab:52, vlan:0) bridge0: received packet on veth0_to_bridge with own address as source address (addr:a2:2a:c7:12:ab:52, vlan:0)