rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P12265/2:b..l P9/1:b..l (detected by 1, t=10503 jiffies, g=69045, q=26 ncpus=2) task:kworker/u4:0 state:R running task stack:20576 pid:9 ppid:2 flags:0x00004000 Workqueue: bat_events batadv_nc_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 4f ab 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:ffffc900000e7a80 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200001cf5c RCX: 1ffff9200001cefc RDX: dffffc0000000000 RSI: ffffffff8aec13c0 RDI: ffffffff8b3d4660 RBP: ffffc900000e7be0 R08: dffffc0000000000 R09: fffffbfff2093a45 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200001cf58 R13: dffffc0000000000 R14: ffffc900000e7ae0 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:350 [inline] rcu_read_lock include/linux/rcupdate.h:791 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xe8/0x610 net/batman-adv/network-coding.c:719 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:syz-executor.1 state:R running task stack:24512 pid:12265 ppid:11256 flags:0x00004006 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:__sanitizer_cov_trace_switch+0x50/0xe0 kernel/kcov.c:339 Code: 83 9e 00 00 00 4c 8b 16 4d 85 d2 0f 84 92 00 00 00 4c 8b 04 c5 38 0a f0 8a 4c 8b 4c 24 20 65 4c 8b 1d 44 d7 77 7e 31 d2 eb 08 <48> ff c2 49 39 d2 74 71 4c 8b 74 d6 10 65 8b 05 34 d7 77 7e a9 00 RSP: 0018:ffffc900031cf250 EFLAGS: 00000297 RAX: 0000000000000002 RBX: ffff88806365d4c0 RCX: 000000000000008b RDX: 0000000000000000 RSI: ffffffff8e399c40 RDI: 0000000000000006 RBP: 0000000000000006 R08: 0000000000000005 R09: ffffffff89473ec6 R10: 000000000000000b R11: ffff88801bbd0000 R12: ffffc900031cf3c0 R13: ffffc900031cf400 R14: 0000000000000000 R15: 0000000000000006 ipv6_get_saddr_eval+0x66/0xe90 net/ipv6/addrconf.c:1558 __ipv6_dev_get_saddr+0x1d3/0x4a0 net/ipv6/addrconf.c:1712 ipv6_dev_get_saddr+0x413/0xb60 net/ipv6/addrconf.c:1847 ip6_route_get_saddr include/net/ip6_route.h:145 [inline] ip6_dst_lookup_tail+0xcd4/0x11f0 net/ipv6/ip6_output.c:1121 ip6_dst_lookup_flow+0xb5/0x170 net/ipv6/ip6_output.c:1246 sctp_v6_get_dst+0x950/0x1e40 net/sctp/ipv6.c:327 sctp_transport_pmtu+0x121/0x5c0 net/sctp/transport.c:243 sctp_transport_route+0x177/0x2b0 net/sctp/transport.c:462 sctp_assoc_add_peer+0x60a/0x15b0 net/sctp/associola.c:664 sctp_connect_new_asoc+0x30f/0x6a0 net/sctp/socket.c:1097 sctp_sendmsg_new_asoc net/sctp/socket.c:1691 [inline] sctp_sendmsg+0x1cd9/0x3370 net/sctp/socket.c:2002 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] __sys_sendto+0x480/0x600 net/socket.c:2148 __do_sys_sendto net/socket.c:2160 [inline] __se_sys_sendto net/socket.c:2156 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2156 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:0x7fbece47cf29 RSP: 002b:00007fbeccff60c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fbece5b3f80 RCX: 00007fbece47cf29 RDX: 0000000000000001 RSI: 0000000020000100 RDI: 0000000000000003 RBP: 00007fbece4ec074 R08: 0000000020000380 R09: 000000000000001c R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fbece5b3f80 R15: 00007ffe3b93d7c8 rcu: rcu_preempt kthread starved for 10578 jiffies! g69045 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:25368 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: CPU: 1 PID: 12263 Comm: syz-executor.0 Not tainted 6.1.94-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202 Code: b1 bc f5 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 7e 2f d5 f6 48 89 df e8 e6 6c d6 f6 e8 01 f9 fb f6 fb bf 01 00 00 00 56 05 c9 f6 65 8b 05 47 12 6d 75 85 c0 74 02 5b c3 e8 f4 35 6b RSP: 0018:ffffc900031bfd70 EFLAGS: 00000282 RAX: 155ecde3c9ce0900 RBX: ffff888026f75340 RCX: ffffffff91c95103 RDX: dffffc0000000000 RSI: ffffffff8aec0240 RDI: 0000000000000001 RBP: ffffc900031bfe50 R08: dffffc0000000000 R09: ffffed1004deea69 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100377a4dc R13: ffff88801bbd1dc0 R14: 0000000000000000 R15: 1ffff1100377a4db FS: 00007f3a439f66c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3a439f5f00 CR3: 00000000724c6000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: spin_unlock_irq include/linux/spinlock.h:401 [inline] __set_current_blocked+0x2a5/0x2f0 kernel/signal.c:3051 __do_sys_rt_sigreturn+0x181/0x250 arch/x86/kernel/signal.c:673 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:0x7f3a44e40379 Code: 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 90 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 c7 c0 0f 00 00 00 0f 05 <0f> 1f 80 00 00 00 00 48 81 ec 48 01 00 00 49 89 d0 64 48 8b 04 25 RSP: 002b:00007f3a439f5bc0 EFLAGS: 00000202 ORIG_RAX: 000000000000000f RAX: ffffffffffffffda RBX: 00007f3a44fb3f88 RCX: 00007f3a44e40379 RDX: 00007f3a439f5bc0 RSI: 00007f3a439f5cf0 RDI: 0000000000000021 RBP: 00007f3a44fb3f80 R08: 00007f3a439f66c0 R09: 00007f3a439f66c0 R10: 0000000000000000 R11: 0000000000000202 R12: 00007f3a44fb3f8c R13: 000000000000000b R14: 00007ffc9d29b780 R15: 00007ffc9d29b868