ci2 starts bisection 2023-04-25 08:50:26.850402573 +0000 UTC m=+30582.568301534
bisecting fixing commit since 115472395b0a9ea522ba0e106d6dfd7a73df8ba6
building syzkaller on fbf0499acc828df26995835e51d83c3a0117e716
ensuring issue is reproducible on original commit 115472395b0a9ea522ba0e106d6dfd7a73df8ba6
testing commit 115472395b0a9ea522ba0e106d6dfd7a73df8ba6 gcc
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2
kernel signature: 9045695e87ab7d7c39b7916b0402e2e9ce9cd60e1615794e1b09c63a9c331cd6
run #0: crashed: KASAN: use-after-free Write in pskb_expand_head
run #1: crashed: KASAN: use-after-free Write in pskb_expand_head
run #2: crashed: KASAN: slab-out-of-bounds Write in pskb_expand_head
run #3: crashed: KASAN: slab-out-of-bounds Write in pskb_expand_head
run #4: crashed: INFO: rcu detected stall in rtnl_newlink
run #5: crashed: INFO: rcu detected stall in rtnl_newlink
run #6: crashed: INFO: rcu detected stall in rtnl_newlink
run #7: crashed: INFO: rcu detected stall in rtnl_newlink
run #8: crashed: INFO: rcu detected stall in rtnl_newlink
run #9: crashed: INFO: rcu detected stall in rtnl_newlink
run #10: crashed: INFO: rcu detected stall in rtnl_newlink
run #11: crashed: INFO: rcu detected stall in rtnl_newlink
run #12: crashed: INFO: rcu detected stall in rtnl_newlink
run #13: crashed: INFO: rcu detected stall in rtnl_newlink
run #14: crashed: INFO: rcu detected stall in rtnl_newlink
run #15: crashed: INFO: rcu detected stall in rtnl_newlink
run #16: crashed: INFO: rcu detected stall in rtnl_newlink
run #17: crashed: INFO: rcu detected stall in rtnl_newlink
run #18: crashed: INFO: rcu detected stall in rtnl_newlink
run #19: crashed: INFO: rcu detected stall in rtnl_newlink
testing current HEAD 3299fb36854fdc288bddc2c4d265f8a2e5105944
testing commit 3299fb36854fdc288bddc2c4d265f8a2e5105944 gcc
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2
kernel signature: b13ec3aa25af6038aad3189ccbb9b2ab8fb22539ea1b141deddffbfebbedbb77
all runs: crashed: INFO: rcu detected stall in rtnl_newlink
revisions tested: 2, total time: 40m50.172813585s (build: 30m25.838647133s, test: 9m49.707305657s)
the crash still happens on HEAD
commit msg: Linux 5.15.108
crash: INFO: rcu detected stall in rtnl_newlink
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 0-...!: (1 GPs behind) idle=84b/1/0x4000000000000000 softirq=6560/6562 fqs=24
(t=10502 jiffies g=5541 q=142)
rcu: rcu_preempt kthread timer wakeup didn't happen for 10454 jiffies! g5541 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: Possible timer handling issue on cpu=1 timer-softirq=4012
rcu: rcu_preempt kthread starved for 10457 jiffies! g5541 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:26936 pid: 15 ppid: 2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5026 [inline]
__schedule+0x12af/0x4550 kernel/sched/core.c:6372
schedule+0x11b/0x1f0 kernel/sched/core.c:6455
schedule_timeout+0x19a/0x2c0 kernel/time/timer.c:1884
rcu_gp_fqs_loop+0x2af/0xf70 kernel/rcu/tree.c:1958
rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2131
kthread+0x3a8/0x480 kernel/kthread.c:319
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
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: 445 Comm: kworker/u4:3 Not tainted 5.15.108-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet
RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline]
RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline]
RIP: 0010:kvm_wait+0x1b4/0x200 arch/x86/kernel/kvm.c:918
Code: e0 48 c1 e8 03 42 0f b6 04 28 84 c0 75 42 45 0f b6 34 24 e8 7e 0c 47 00 44 3a 74 24 1c 75 10 66 90 0f 00 2d be da 57 08 fb f4 c8 fe ff ff fb e9 c2 fe ff ff 44 89 e1 80 e1 07 38 c1 0f 8c 54
RSP: 0018:ffffc90002f3f760 EFLAGS: 00000246
RAX: 1269d5000d9be600 RBX: 1ffff920005e7ef0 RCX: ffffffff8158a108
RDX: dffffc0000000000 RSI: ffffffff898aae40 RDI: ffffffff89d73040
RBP: ffffc90002f3f830 R08: dffffc0000000000 R09: fffffbfff1d2a632
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888074a85328
R13: dffffc0000000000 R14: 0000000000000003 R15: ffffc90002f3f7a0
FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000564e74ec9131 CR3: 0000000072cfa000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
pv_wait arch/x86/include/asm/paravirt.h:597 [inline]
pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline]
__pv_queued_spin_lock_slowpath+0x6bc/0xc40 kernel/locking/qspinlock.c:508
pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline]
queued_spin_lock_slowpath+0x42/0x50 arch/x86/include/asm/qspinlock.h:51
queued_spin_lock include/asm-generic/qspinlock.h:85 [inline]
do_raw_spin_lock+0x269/0x370 kernel/locking/spinlock_debug.c:115
spin_lock_bh include/linux/spinlock.h:368 [inline]
batadv_tt_local_commit_changes+0x15/0x30 net/batman-adv/translation-table.c:3718
batadv_iv_ogm_schedule_buff net/batman-adv/bat_iv_ogm.c:812 [inline]
batadv_iv_ogm_schedule+0x1bd/0xd20 net/batman-adv/bat_iv_ogm.c:869
batadv_iv_send_outstanding_bat_ogm_packet+0x604/0x700 net/batman-adv/bat_iv_ogm.c:1713
process_one_work+0x799/0xe10 kernel/workqueue.c:2306
worker_thread+0x8f2/0xfb0 kernel/workqueue.c:2453
kthread+0x3a8/0x480 kernel/kthread.c:319
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
NMI backtrace for cpu 0
CPU: 0 PID: 3967 Comm: syz-executor.0 Not tainted 5.15.108-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x163/0x213 lib/dump_stack.c:106
nmi_cpu_backtrace+0x347/0x380 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0xf6/0x1a0 lib/nmi_backtrace.c:62
trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline]
rcu_dump_cpu_stacks+0x223/0x390 kernel/rcu/tree_stall.h:343
print_cpu_stall kernel/rcu/tree_stall.h:627 [inline]
check_cpu_stall kernel/rcu/tree_stall.h:711 [inline]
rcu_pending kernel/rcu/tree.c:3887 [inline]
rcu_sched_clock_irq+0xf26/0x1770 kernel/rcu/tree.c:2605
update_process_times+0x150/0x190 kernel/time/timer.c:1788
tick_sched_handle kernel/time/tick-sched.c:226 [inline]
tick_sched_timer+0x177/0x300 kernel/time/tick-sched.c:1420
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x49a/0xa60 kernel/time/hrtimer.c:1749
hrtimer_interrupt+0x367/0x8c0 kernel/time/hrtimer.c:1811
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline]
__sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1103
sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:lock_acquire+0x252/0x4f0 kernel/locking/lockdep.c:5626
Code: 2b 00 74 08 4c 89 f7 e8 4c 1f 57 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:ffffc90002b1ea80 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff92000563d5c RCX: ffffffff8158ecd2
RDX: dffffc0000000000 RSI: ffffffff898ac0e0 RDI: ffffffff89d73040
RBP: ffffc90002b1ebc8 R08: dffffc0000000000 R09: fffffbfff1d2a630
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000563d58
R13: dffffc0000000000 R14: ffffc90002b1eae0 R15: 0000000000000246
__raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline]
_raw_spin_lock_bh+0x31/0x40 kernel/locking/spinlock.c:178
spin_lock_bh include/linux/spinlock.h:368 [inline]
batadv_tt_local_purge_pending_clients+0xe5/0x310 net/batman-adv/translation-table.c:3655
batadv_tt_local_resize_to_mtu+0x94/0xf0 net/batman-adv/translation-table.c:3958
batadv_update_min_mtu net/batman-adv/hard-interface.c:635 [inline]
batadv_hardif_activate_interface+0x181/0x2e0 net/batman-adv/hard-interface.c:662
batadv_hardif_enable_interface+0x566/0x7d0 net/batman-adv/hard-interface.c:745
batadv_softif_slave_add+0x53/0xb0 net/batman-adv/soft-interface.c:839
do_set_master net/core/rtnetlink.c:2523 [inline]
__rtnl_newlink net/core/rtnetlink.c:3479 [inline]
rtnl_newlink+0x16db/0x1b50 net/core/rtnetlink.c:3510
rtnetlink_rcv_msg+0x542/0xbb0 net/core/rtnetlink.c:5587
netlink_rcv_skb+0x1c7/0x3c0 net/netlink/af_netlink.c:2533
netlink_unicast_kernel net/netlink/af_netlink.c:1330 [inline]
netlink_unicast+0x5c6/0x820 net/netlink/af_netlink.c:1356
netlink_sendmsg+0x7a2/0xb50 net/netlink/af_netlink.c:1952
sock_sendmsg_nosec net/socket.c:704 [inline]
sock_sendmsg net/socket.c:724 [inline]
____sys_sendmsg+0x492/0x790 net/socket.c:2412
___sys_sendmsg+0x215/0x2a0 net/socket.c:2466
__sys_sendmsg net/socket.c:2495 [inline]
__do_sys_sendmsg net/socket.c:2504 [inline]
__se_sys_sendmsg+0x162/0x1f0 net/socket.c:2502
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7fba3c6e90f9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fba3ba5b168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fba3c808f80 RCX: 00007fba3c6e90f9
RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000005
RBP: 00007fba3c744b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff5e32421f R14: 00007fba3ba5b300 R15: 0000000000022000