rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3537/2:b..l P1144/1:b..l
(detected by 0, t=10502 jiffies, g=422313, q=25 ncpus=2)
task:kworker/u4:5 state:R running task stack:19584 pid:1144 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:433
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 cf 7e 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:ffffc90005a07a80 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff92000b40f5c RCX: 1ffff92000b40efc
RDX: dffffc0000000000 RSI: ffffffff8aebf7c0 RDI: ffffffff8b3cfa80
RBP: ffffc90005a07be0 R08: dffffc0000000000 R09: fffffbfff2092245
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000b40f58
R13: dffffc0000000000 R14: ffffc90005a07ae0 R15: 0000000000000246
rcu_lock_acquire include/linux/rcupdate.h:306 [inline]
rcu_read_lock include/linux/rcupdate.h:747 [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:306
task:sshd state:R running task stack:22600 pid:3537 ppid:3301 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5245 [inline]
__schedule+0x142d/0x4550 kernel/sched/core.c:6558
preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:6727
preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6751
preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34
__local_bh_enable_ip+0x175/0x1f0 kernel/softirq.c:403
spin_unlock_bh include/linux/spinlock.h:395 [inline]
nf_conntrack_tcp_packet+0x2676/0x5820 net/netfilter/nf_conntrack_proto_tcp.c:1265
nf_conntrack_handle_packet net/netfilter/nf_conntrack_core.c:1943 [inline]
nf_conntrack_in+0xdab/0x1d10 net/netfilter/nf_conntrack_core.c:2034
nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline]
nf_hook_slow+0xae/0x1e0 net/netfilter/core.c:614
nf_hook+0x2c0/0x450 include/linux/netfilter.h:257
__ip_local_out+0x38b/0x4a0 net/ipv4/ip_output.c:115
ip_local_out net/ipv4/ip_output.c:124 [inline]
__ip_queue_xmit+0x10e7/0x1b60 net/ipv4/ip_output.c:532
__tcp_transmit_skb+0x1e33/0x33a0 net/ipv4/tcp_output.c:1403
tcp_transmit_skb net/ipv4/tcp_output.c:1421 [inline]
tcp_write_xmit+0x1a60/0x64c0 net/ipv4/tcp_output.c:2709
__tcp_push_pending_frames+0x97/0x350 net/ipv4/tcp_output.c:2894
tcp_sendmsg_locked+0x37b2/0x4100 net/ipv4/tcp.c:1460
tcp_sendmsg+0x2c/0x40 net/ipv4/tcp.c:1488
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg net/socket.c:730 [inline]
sock_write_iter+0x394/0x4e0 net/socket.c:1143
call_write_iter include/linux/fs.h:2249 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x7ae/0xba0 fs/read_write.c:584
ksys_write+0x19c/0x2c0 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f881d516bf2
RSP: 002b:00007ffd9669ebf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00000000000000b4 RCX: 00007f881d516bf2
RDX: 00000000000000b4 RSI: 00005640e94ca3e0 RDI: 0000000000000004
RBP: 00005640e9493220 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00005640e8d4baa4
R13: 0000000000000a00 R14: 00005640e8d4c3e8 R15: 00007ffd9669ec68
rcu: rcu_preempt kthread starved for 10577 jiffies! g422313 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:25528 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:1935
rcu_gp_fqs_loop+0x2d2/0x1120 kernel/rcu/tree.c:1674
rcu_gp_kthread+0xa3/0x3a0 kernel/rcu/tree.c:1873
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
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: 5364 Comm: udevd Not tainted 6.1.74-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:kasan_mem_to_shadow include/linux/kasan.h:59 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:129 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline]
RIP: 0010:kasan_check_range+0x4a/0x290 mm/kasan/generic.c:189
Code: 48 c1 ed 2f 81 fd ff ff 01 00 0f 82 47 02 00 00 48 89 fb 48 c1 eb 03 49 b8 00 00 00 00 00 fc ff df 4e 8d 0c 03 4c 8d 54 37 ff <49> c1 ea 03 49 bb 01 00 00 00 00 fc ff df 4f 8d 34 1a 4c 89 f5 4c
RSP: 0018:ffffc9000ce3f580 EFLAGS: 00000a02
RAX: ffffffff81cd0501 RBX: 1ffffd40003deea8 RCX: ffffffff81cd0515
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffea0001ef7540
RBP: 000000000001ffff R08: dffffc0000000000 R09: fffff940003deea8
R10: ffffea0001ef7547 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffffd40003deea9 R14: ffffea0001ef7540 R15: ffffea0001ef7548
FS: 00007f5f31a91c80(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055ddfaaedf08 CR3: 000000007d03f000 CR4: 00000000003506e0
Call Trace:
instrument_atomic_read include/linux/instrumented.h:72 [inline]
_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
PageSwapBacked include/linux/page-flags.h:502 [inline]
mm_counter_file+0xd5/0x2c0 include/linux/mm.h:2125
mm_counter include/linux/mm.h:2134 [inline]
zap_pte_range mm/memory.c:1452 [inline]
zap_pmd_range mm/memory.c:1574 [inline]
zap_pud_range mm/memory.c:1603 [inline]
zap_p4d_range mm/memory.c:1624 [inline]
unmap_page_range+0x11ce/0x2740 mm/memory.c:1645
unmap_vmas+0x48b/0x640 mm/memory.c:1730
unmap_region+0x1fc/0x2f0 mm/mmap.c:2329
do_mas_align_munmap+0xec8/0x15f0 mm/mmap.c:2582
do_mas_munmap+0x246/0x2b0 mm/mmap.c:2640
__vm_munmap+0x268/0x370 mm/mmap.c:2917
__do_sys_munmap mm/mmap.c:2942 [inline]
__se_sys_munmap mm/mmap.c:2939 [inline]
__x64_sys_munmap+0x5c/0x70 mm/mmap.c:2939
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f5f3171d817
Code: ff ff 76 10 48 8b 15 10 36 0d 00 f7 d8 64 89 02 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 b8 0b 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e1 35 0d 00 f7 d8 64 89 01 48
RSP: 002b:00007ffdaccb4488 EFLAGS: 00000206 ORIG_RAX: 000000000000000b
RAX: ffffffffffffffda RBX: 000055ddfa7f65b0 RCX: 00007f5f3171d817
RDX: 000000055ddfaad2 RSI: 0000000000906623 RDI: 00007f5f30c00000
RBP: 000055ddfaadaf40 R08: 0000000000000007 R09: 264dbda96870a1a4
R10: 00000000ffffffff R11: 0000000000000206 R12: 000055ddfa7f65e8
R13: 00007ffdaccb4508 R14: 0000000000000001 R15: 000055ddfaac3910