rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P46/1:b..l P1147/1:b..l (detected by 0, t=10502 jiffies, g=27597, q=29 ncpus=2) task:kworker/1:2 state:R running task stack:23576 pid:1147 ppid:2 flags:0x00004000 Workqueue: events_power_efficient gc_worker Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:lock_acquire+0x26f/0x5a0 kernel/locking/lockdep.c:5666 Code: 2b 00 74 08 4c 89 f7 e8 1f ae 77 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc90004c179a0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000982f40 RCX: 1ffff92000982ee0 RDX: dffffc0000000000 RSI: ffffffff8aec13c0 RDI: ffffffff8b3d4760 RBP: ffffc90004c17ae8 R08: dffffc0000000000 R09: fffffbfff2093845 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000982f3c R13: dffffc0000000000 R14: ffffc90004c17a00 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:350 [inline] rcu_read_lock include/linux/rcupdate.h:791 [inline] gc_worker+0x29b/0x1530 net/netfilter/nf_conntrack_core.c:1501 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 task:kworker/u4:3 state:R running task stack:21016 pid:46 ppid:2 flags:0x00004000 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_reschedule_ipi+0x16/0x20 arch/x86/include/asm/idtentry.h:658 RIP: 0010:lock_acquire+0x26f/0x5a0 kernel/locking/lockdep.c:5666 Code: 2b 00 74 08 4c 89 f7 e8 1f ae 77 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0000:ffffc90000b77900 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200016ef2c RCX: 1ffff9200016eecc RDX: dffffc0000000000 RSI: ffffffff8aec13c0 RDI: ffffffff8b3d4760 RBP: ffffc90000b77a48 R08: dffffc0000000000 R09: fffffbfff2093845 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200016ef28 R13: dffffc0000000000 R14: ffffc90000b77960 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:350 [inline] rcu_read_lock include/linux/rcupdate.h:791 [inline] batadv_iv_ogm_slide_own_bcast_window net/batman-adv/bat_iv_ogm.c:755 [inline] batadv_iv_ogm_schedule_buff net/batman-adv/bat_iv_ogm.c:826 [inline] batadv_iv_ogm_schedule+0x43b/0x1090 net/batman-adv/bat_iv_ogm.c:869 batadv_iv_send_outstanding_bat_ogm_packet+0x6fa/0x800 net/batman-adv/bat_iv_ogm.c:1713 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: rcu_preempt kthread starved for 10480 jiffies! g27597 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1 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:26712 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 6274 Comm: syz.1.777 Not tainted 6.1.97-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:memset+0x1/0x40 mm/kasan/shadow.c:43 Code: 0d a7 08 31 db eb d7 cc cc 89 f6 48 8b 0c 24 31 d2 e9 d3 ec ff ff 0f 1f 00 89 f6 48 8b 0c 24 ba 01 00 00 00 e9 c0 ec ff ff 55 <41> 56 53 48 89 d3 41 89 f6 48 89 fd 48 8b 4c 24 18 48 89 d6 ba 01 RSP: 0018:ffffc9000a65fd90 EFLAGS: 00000246 RAX: ffffffff8157ab46 RBX: 00007faf61fe8ad0 RCX: 0000000000040000 RDX: 0000000000000018 RSI: 0000000000000000 RDI: ffffc9000a65fdc0 RBP: ffffc9000a65fe50 R08: ffffffff815bccb6 R09: ffffed10024e5981 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff920014cbfb4 R14: ffffc9000a65fdc0 R15: 0000000000000000 FS: 00007faf61fe96c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb2952abfc8 CR3: 000000006466c000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: restore_altstack+0x85/0x150 kernel/signal.c:4247 __do_sys_rt_sigreturn+0x19d/0x250 arch/x86/kernel/signal.c:678 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7faf61175bd7 Code: ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 <0f> 05 48 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 RSP: 002b:00007faf61fe9048 EFLAGS: 00000246 RAX: 00000000000000ca RBX: 00007faf61303f60 RCX: 00007faf61175bd9 RDX: 0000000000000000 RSI: 0000800000000006 RDI: 0000000020001300 RBP: 00007faf611e4e60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007faf61303f60 R15: 00007ffe34a36b68 BUG: workqueue lockup - pool cpus=1 node=0 flags=0x0 nice=0 stuck for 245s! BUG: workqueue lockup - pool cpus=0-1 flags=0x4 nice=0 stuck for 245s! Showing busy workqueues and worker pools: workqueue events: flags=0x0 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=9/256 refcnt=10 pending: nfc_urelease_event_work, nfc_urelease_event_work, psi_avgs_work, ovs_dp_masks_rebalance, ovs_dp_masks_rebalance, nsim_dev_hwstats_traffic_work, nsim_dev_hwstats_traffic_work, nsim_dev_trap_report_work, nfc_urelease_event_work pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=23/256 refcnt=24 pending: nsim_dev_trap_report_work, nsim_dev_trap_report_work, nsim_dev_hwstats_traffic_work, nsim_dev_hwstats_traffic_work, nsim_dev_trap_report_work, nsim_dev_hwstats_traffic_work, nsim_dev_trap_report_work, ovs_dp_masks_rebalance, psi_avgs_work, psi_avgs_work, psi_avgs_work, kfree_rcu_monitor, ovs_dp_masks_rebalance, ovs_dp_masks_rebalance, ovs_dp_masks_rebalance, rt6_probe_deferred, ima_keys_handler, switchdev_deferred_process_work, rht_deferred_worker, rht_deferred_worker, rht_deferred_worker, rht_deferred_worker, vmstat_shepherd workqueue events_long: flags=0x0 pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=15/256 refcnt=16 pending: defense_work_handler, defense_work_handler, delayed_sync_fs, br_multicast_gc_work, br_multicast_gc_work, br_multicast_gc_work, br_fdb_cleanup, br_fdb_cleanup, br_fdb_cleanup, br_multicast_gc_work, br_fdb_cleanup, br_fdb_cleanup, br_fdb_cleanup, br_fdb_cleanup, br_fdb_cleanup workqueue events_unbound: flags=0x2 pwq 4: cpus=0-1 flags=0x4 nice=0 active=5/512 refcnt=8 in-flight: 102:flush_to_ldisc, 3709:call_usermodehelper_exec_work pending: toggle_allocation_gate, flush_to_ldisc, flush_memcg_stats_dwork workqueue events_freezable: flags=0x4 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: update_balloon_stats_func workqueue events_power_efficient: flags=0x80 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=2/256 refcnt=3 in-flight: 1147:gc_worker pending: fb_flashcursor pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=4/256 refcnt=5 pending: reg_check_chans_work, check_lifetime, neigh_managed_work, neigh_periodic_work workqueue rcu_gp: flags=0x8 pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 in-flight: 3596:wait_rcu_exp_gp workqueue mm_percpu_wq: flags=0x8 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: vmstat_update pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: vmstat_update workqueue writeback: flags=0x4a pwq 4: cpus=0-1 flags=0x4 nice=0 active=2/256 refcnt=5 pending: wb_workfn, wb_workfn workqueue kblockd: flags=0x18 pwq 1: cpus=0 node=0 flags=0x0 nice=-20 active=1/256 refcnt=2 in-flight: 120:blk_mq_timeout_work workqueue usb_hub_wq: flags=0x4 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=2/256 refcnt=3 in-flight: 3594:hub_event hub_event workqueue dm_bufio_cache: flags=0x8 pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: work_fn workqueue mld: flags=0x40008 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/1 refcnt=3 pending: mld_query_work inactive: mld_query_work pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/1 refcnt=13 pending: mld_mca_work inactive: mld_ifc_work, mld_mca_work, mld_mca_work, mld_mca_work, mld_mca_work, mld_mca_work, mld_mca_work, mld_mca_work, mld_mca_work, mld_mca_work, mld_mca_work workqueue ipv6_addrconf: flags=0x40008 pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/1 refcnt=3 pending: addrconf_dad_work inactive: addrconf_verify_work workqueue krxrpcd: flags=0x0 pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/1 refcnt=5 in-flight: 4189:rxrpc_peer_keepalive_worker inactive: rxrpc_peer_keepalive_worker, rxrpc_peer_keepalive_worker, rxrpc_peer_keepalive_worker workqueue krdsd: flags=0xe000a pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/1 refcnt=5 pending: rds_connect_worker inactive: rds_connect_worker workqueue bat_events: flags=0xe000a pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/1 refcnt=40 in-flight: 46:batadv_iv_send_outstanding_bat_ogm_packet inactive: batadv_iv_send_outstanding_bat_ogm_packet, batadv_iv_send_outstanding_bat_ogm_packet, batadv_purge_orig, batadv_purge_orig, batadv_purge_orig, batadv_nc_worker, batadv_nc_worker, batadv_nc_worker, batadv_nc_worker, batadv_nc_worker, batadv_mcast_mla_update, batadv_mcast_mla_update, batadv_mcast_mla_update, batadv_mcast_mla_update, batadv_mcast_mla_update, batadv_tt_purge, batadv_tt_purge, batadv_tt_purge, batadv_iv_send_outstanding_bat_ogm_packet, batadv_iv_send_outstanding_bat_ogm_packet, batadv_iv_send_outstanding_bat_ogm_packet, batadv_iv_send_outstanding_bat_ogm_packet, batadv_iv_send_outstanding_bat_ogm_packet, batadv_iv_send_outstanding_bat_ogm_packet, batadv_iv_send_outstanding_bat_ogm_packet, batadv_purge_orig, batadv_purge_orig, batadv_iv_send_outstanding_bat_ogm_packet, batadv_iv_send_outstanding_bat_ogm_packet, batadv_iv_send_outstanding_bat_ogm_packet, batadv_iv_send_outstanding_bat_ogm_packet , batadv_iv_send_outstanding_bat_ogm_packet, batadv_tt_purge, batadv_tt_purge, batadv_bla_periodic_work, batadv_dat_purge workqueue hci2: flags=0xa0012 pwq 5: cpus=0-1 node=0 flags=0x4 nice=-20 active=1/1 refcnt=4 in-flight: 3561:hci_error_reset workqueue wg-kex-wg0: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=4 pending: wg_packet_handshake_send_worker workqueue wg-kex-wg1: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=4 pending: wg_packet_handshake_send_worker workqueue wg-kex-wg2: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=2/256 refcnt=5 pending: wg_packet_handshake_send_worker, wg_packet_handshake_send_worker workqueue wg-kex-wg0: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=4 pending: wg_packet_handshake_send_worker workqueue wg-kex-wg1: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=2/256 refcnt=5 pending: wg_packet_handshake_send_worker, wg_packet_handshake_send_worker workqueue wg-kex-wg2: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=4 pending: wg_packet_handshake_send_worker workqueue wg-kex-wg0: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=4 pending: wg_packet_handshake_send_worker workqueue wg-kex-wg1: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=2/256 refcnt=5 pending: wg_packet_handshake_send_worker, wg_packet_handshake_send_worker workqueue wg-kex-wg2: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=4 pending: wg_packet_handshake_send_worker workqueue phy4: flags=0xa0002 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/1 refcnt=4 pending: ieee80211_iface_work workqueue phy7: flags=0xa0002 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/1 refcnt=4 pending: ieee80211_iface_work workqueue phy8: flags=0xa0002 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/1 refcnt=4 pending: ieee80211_iface_work workqueue phy11: flags=0xa0002 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/1 refcnt=4 pending: ieee80211_iface_work workqueue phy12: flags=0xa0002 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/1 refcnt=4 pending: ieee80211_iface_work workqueue hci5: flags=0xa0012 pwq 5: cpus=0-1 node=0 flags=0x4 nice=-20 active=1/1 refcnt=4 pending: hci_conn_timeout workqueue wg-kex-wg0: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=4 pending: wg_packet_handshake_send_worker workqueue wg-kex-wg1: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=2/256 refcnt=5 pending: wg_packet_handshake_send_worker, wg_packet_handshake_send_worker workqueue wg-kex-wg2: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=2/256 refcnt=5 pending: wg_packet_handshake_send_worker, wg_packet_handshake_send_worker workqueue phy13: flags=0xa0002 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/1 refcnt=4 pending: ieee80211_iface_work workqueue phy14: flags=0xa0002 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/1 refcnt=4 pending: ieee80211_iface_work workqueue wg-kex-wg0: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=4 pending: wg_packet_handshake_send_worker workqueue wg-kex-wg1: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=2/256 refcnt=5 pending: wg_packet_handshake_send_worker, wg_packet_handshake_send_worker workqueue wg-kex-wg2: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=2/256 refcnt=5 pending: wg_packet_handshake_send_worker, wg_packet_handshake_send_worker workqueue phy15: flags=0xa0002 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/1 refcnt=4 pending: ieee80211_iface_work workqueue phy16: flags=0xa0002 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/1 refcnt=4 pending: ieee80211_iface_work pool 0: cpus=0 node=0 flags=0x0 nice=0 hung=0s workers=12 idle: 3593 14 7 4190 4188 3592 3538 3598 153 3599 pool 1: cpus=0 node=0 flags=0x0 nice=-20 hung=0s workers=2 idle: 8 pool 2: cpus=1 node=0 flags=0x0 nice=0 hung=245s workers=8 idle: 41 3597 3607 22 3595 3627 pool 4: cpus=0-1 flags=0x4 nice=0 hung=245s workers=15 idle: 3685 3707 3944 3819 3638 40 3646 9 11 3649 3687 3633 pool 5: cpus=0-1 node=0 flags=0x4 nice=-20 hung=0s workers=9 idle: 3562 3555 3564 3558 3557 3563 3550 48