[syzbot] [bpf?] [trace?] BUG: stack guard page was hit in br_handle_frame

0 views
Skip to first unread message

syzbot

unread,
4:33 AMĀ (11 hours ago)Ā 4:33 AM
to and...@kernel.org, a...@kernel.org, b...@vger.kernel.org, dan...@iogearbox.net, edd...@gmail.com, hao...@google.com, john.fa...@gmail.com, jo...@kernel.org, kps...@kernel.org, linux-...@vger.kernel.org, linux-tra...@vger.kernel.org, marti...@linux.dev, mathieu....@efficios.com, mattbo...@google.com, mhir...@kernel.org, net...@vger.kernel.org, ros...@goodmis.org, s...@fomichev.me, so...@kernel.org, syzkall...@googlegroups.com, yongho...@linux.dev
Hello,

syzbot found the following issue on:

HEAD commit: 0db4941d9dae bpf: Use rcu_read_lock_dont_migrate in bpf_sk..
git tree: bpf-next
console output: https://syzkaller.appspot.com/x/log.txt?x=107ef92f980000
kernel config: https://syzkaller.appspot.com/x/.config?x=1e0e0bf7e51565cd
dashboard link: https://syzkaller.appspot.com/bug?extid=593efacb260a29c44abc
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/692372caac28/disk-0db4941d.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/5518b9303204/vmlinux-0db4941d.xz
kernel image: https://storage.googleapis.com/syzbot-assets/606bc80ec5b8/bzImage-0db4941d.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+593efa...@syzkaller.appspotmail.com

bridge0: received packet on team0 with own address as source address (addr:aa:aa:aa:aa:aa:17, vlan:0)
bridge0: received packet on team0 with own address as source address (addr:aa:aa:aa:aa:aa:17, vlan:0)
bridge0: received packet on team0 with own address as source address (addr:aa:aa:aa:aa:aa:17, vlan:0)
BUG: IRQ stack guard page was hit at ffffc90000a00ff8 (stack is ffffc90000a01000..ffffc90000a09000)
Oops: stack guard page: 0000 [#1] SMP KASAN PTI
CPU: 1 UID: 0 PID: 12957 Comm: syz.8.2194 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:strlen+0xa/0x70 lib/string.c:417
Code: 07 38 c1 7c db e8 b6 ea e1 f6 eb d4 90 0f 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 41 57 41 56 41 54 <53> 48 c7 c0 ff ff ff ff 49 be 00 00 00 00 00 fc ff df 48 89 fb 49
RSP: 0018:ffffc90000a01000 EFLAGS: 00010082
RAX: ffffffff8b6bd780 RBX: ffffffff8e13b278 RCX: ffff88805b39dac0
RDX: ffffffff81ca8977 RSI: ffffffff8e13b260 RDI: ffffffff8b6bd780
RBP: ffffc90000a01108 R08: ffffc90000a0122f R09: 0000000000000000
R10: ffffc90000a01220 R11: ffffffffa02017d4 R12: 1ffff9200014020c
R13: ffffffff81ca8977 R14: ffffffff8e00a0c0 R15: dffffc0000000000
FS: 000055556b813500(0000) GS:ffff888125e27000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90000a00ff8 CR3: 000000003c5ce000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
<IRQ>
__fortify_strlen include/linux/fortify-string.h:268 [inline]
trace_event_get_offsets_lock include/trace/events/lock.h:50 [inline]
do_perf_trace_lock include/trace/events/lock.h:50 [inline]
perf_trace_lock+0xc2/0x3b0 include/trace/events/lock.h:50
__do_trace_lock_release include/trace/events/lock.h:69 [inline]
trace_lock_release include/trace/events/lock.h:69 [inline]
lock_release+0x3b2/0x3e0 kernel/locking/lockdep.c:5879
rcu_lock_release include/linux/rcupdate.h:341 [inline]
rcu_read_unlock include/linux/rcupdate.h:871 [inline]
trace_call_bpf+0x79e/0xb50 kernel/trace/bpf_trace.c:147
perf_trace_run_bpf_submit+0x78/0x170 kernel/events/core.c:10931
do_perf_trace_preemptirq_template include/trace/events/preemptirq.h:14 [inline]
perf_trace_preemptirq_template+0x280/0x340 include/trace/events/preemptirq.h:14
__do_trace_irq_enable include/trace/events/preemptirq.h:40 [inline]
trace_irq_enable+0xee/0x110 include/trace/events/preemptirq.h:40
trace_hardirqs_on+0x18/0x40 kernel/trace/trace_preemptirq.c:73
__local_bh_enable_ip+0x12d/0x1c0 kernel/softirq.c:455
local_bh_enable include/linux/bottom_half.h:33 [inline]
ipt_do_table+0x13dd/0x1640 net/ipv4/netfilter/ip_tables.c:357
nf_hook_entry_hookfn include/linux/netfilter.h:158 [inline]
nf_hook_slow+0xc5/0x220 net/netfilter/core.c:623
nf_hook include/linux/netfilter.h:273 [inline]
NF_HOOK+0x53e/0x6b0 include/linux/netfilter.h:316
br_nf_post_routing+0xb66/0xfe0 net/bridge/br_netfilter_hooks.c:966
nf_hook_entry_hookfn include/linux/netfilter.h:158 [inline]
nf_hook_slow+0xc5/0x220 net/netfilter/core.c:623
nf_hook include/linux/netfilter.h:273 [inline]
NF_HOOK+0x215/0x3c0 include/linux/netfilter.h:316
br_forward_finish+0xd3/0x130 net/bridge/br_forward.c:66
br_nf_hook_thresh net/bridge/br_netfilter_hooks.c:-1 [inline]
br_nf_forward_finish+0xa40/0xe60 net/bridge/br_netfilter_hooks.c:662
NF_HOOK+0x61b/0x6b0 include/linux/netfilter.h:318
br_nf_forward_ip+0x647/0x7e0 net/bridge/br_netfilter_hooks.c:716
nf_hook_entry_hookfn include/linux/netfilter.h:158 [inline]
nf_hook_slow+0xc5/0x220 net/netfilter/core.c:623
nf_hook include/linux/netfilter.h:273 [inline]
NF_HOOK+0x215/0x3c0 include/linux/netfilter.h:316
__br_forward+0x41e/0x600 net/bridge/br_forward.c:115
deliver_clone net/bridge/br_forward.c:131 [inline]
maybe_deliver+0xb5/0x160 net/bridge/br_forward.c:191
br_flood+0x31a/0x6a0 net/bridge/br_forward.c:238
br_handle_frame_finish+0x15a3/0x1c50 net/bridge/br_input.c:229
br_nf_hook_thresh net/bridge/br_netfilter_hooks.c:-1 [inline]
br_nf_pre_routing_finish+0x1364/0x1af0 net/bridge/br_netfilter_hooks.c:425
NF_HOOK+0x61b/0x6b0 include/linux/netfilter.h:318
br_nf_pre_routing+0xeb7/0x1470 net/bridge/br_netfilter_hooks.c:534
nf_hook_entry_hookfn include/linux/netfilter.h:158 [inline]
nf_hook_bridge_pre net/bridge/br_input.c:291 [inline]
br_handle_frame+0x97f/0x14c0 net/bridge/br_input.c:442
__netif_receive_skb_core+0x10b9/0x4380 net/core/dev.c:5966
__netif_receive_skb_one_core net/core/dev.c:6077 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6192
netif_receive_skb_internal net/core/dev.c:6278 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6337
NF_HOOK+0x9d/0x390 include/linux/netfilter.h:319
br_handle_frame_finish+0x15c6/0x1c50 net/bridge/br_input.c:235
br_nf_hook_thresh net/bridge/br_netfilter_hooks.c:-1 [inline]
br_nf_pre_routing_finish+0x1364/0x1af0 net/bridge/br_netfilter_hooks.c:425
NF_HOOK+0x61b/0x6b0 include/linux/netfilter.h:318
br_nf_pre_routing+0xeb7/0x1470 net/bridge/br_netfilter_hooks.c:534
nf_hook_entry_hookfn include/linux/netfilter.h:158 [inline]
nf_hook_bridge_pre net/bridge/br_input.c:291 [inline]
br_handle_frame+0x97f/0x14c0 net/bridge/br_input.c:442
__netif_receive_skb_core+0x10b9/0x4380 net/core/dev.c:5966
__netif_receive_skb_one_core net/core/dev.c:6077 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6192
netif_receive_skb_internal net/core/dev.c:6278 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6337
NF_HOOK+0x9d/0x390 include/linux/netfilter.h:319
br_handle_frame_finish+0x15c6/0x1c50 net/bridge/br_input.c:235
br_nf_hook_thresh net/bridge/br_netfilter_hooks.c:-1 [inline]
br_nf_pre_routing_finish+0x1364/0x1af0 net/bridge/br_netfilter_hooks.c:425
NF_HOOK+0x61b/0x6b0 include/linux/netfilter.h:318
br_nf_pre_routing+0xeb7/0x1470 net/bridge/br_netfilter_hooks.c:534
nf_hook_entry_hookfn include/linux/netfilter.h:158 [inline]
nf_hook_bridge_pre net/bridge/br_input.c:291 [inline]
br_handle_frame+0x97f/0x14c0 net/bridge/br_input.c:442
__netif_receive_skb_core+0x10b9/0x4380 net/core/dev.c:5966
__netif_receive_skb_one_core net/core/dev.c:6077 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6192
netif_receive_skb_internal net/core/dev.c:6278 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6337
NF_HOOK+0x9d/0x390 include/linux/netfilter.h:319
br_handle_frame_finish+0x15c6/0x1c50 net/bridge/br_input.c:235
br_nf_hook_thresh net/bridge/br_netfilter_hooks.c:-1 [inline]
br_nf_pre_routing_finish+0x1364/0x1af0 net/bridge/br_netfilter_hooks.c:425
NF_HOOK+0x61b/0x6b0 include/linux/netfilter.h:318
br_nf_pre_routing+0xeb7/0x1470 net/bridge/br_netfilter_hooks.c:534
nf_hook_entry_hookfn include/linux/netfilter.h:158 [inline]
nf_hook_bridge_pre net/bridge/br_input.c:291 [inline]
br_handle_frame+0x97f/0x14c0 net/bridge/br_input.c:442
__netif_receive_skb_core+0x10b9/0x4380 net/core/dev.c:5966
__netif_receive_skb_one_core net/core/dev.c:6077 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6192
netif_receive_skb_internal net/core/dev.c:6278 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6337
NF_HOOK+0x9d/0x390 include/linux/netfilter.h:319
br_handle_frame_finish+0x15c6/0x1c50 net/bridge/br_input.c:235
br_nf_hook_thresh net/bridge/br_netfilter_hooks.c:-1 [inline]
br_nf_pre_routing_finish+0x1364/0x1af0 net/bridge/br_netfilter_hooks.c:425
NF_HOOK+0x61b/0x6b0 include/linux/netfilter.h:318
br_nf_pre_routing+0xeb7/0x1470 net/bridge/br_netfilter_hooks.c:534
nf_hook_entry_hookfn include/linux/netfilter.h:158 [inline]
nf_hook_bridge_pre net/bridge/br_input.c:291 [inline]
br_handle_frame+0x97f/0x14c0 net/bridge/br_input.c:442
__netif_receive_skb_core+0x10b9/0x4380 net/core/dev.c:5966
__netif_receive_skb_one_core net/core/dev.c:6077 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6192
netif_receive_skb_internal net/core/dev.c:6278 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6337
NF_HOOK+0x9d/0x390 include/linux/netfilter.h:319
br_handle_frame_finish+0x15c6/0x1c50 net/bridge/br_input.c:235
br_nf_hook_thresh net/bridge/br_netfilter_hooks.c:-1 [inline]
br_nf_pre_routing_finish+0x1364/0x1af0 net/bridge/br_netfilter_hooks.c:425
NF_HOOK+0x61b/0x6b0 include/linux/netfilter.h:318
br_nf_pre_routing+0xeb7/0x1470 net/bridge/br_netfilter_hooks.c:534
nf_hook_entry_hookfn include/linux/netfilter.h:158 [inline]
nf_hook_bridge_pre net/bridge/br_input.c:291 [inline]
br_handle_frame+0x97f/0x14c0 net/bridge/br_input.c:442
__netif_receive_skb_core+0x10b9/0x4380 net/core/dev.c:5966
__netif_receive_skb_one_core net/core/dev.c:6077 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6192
netif_receive_skb_internal net/core/dev.c:6278 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6337
NF_HOOK+0x9d/0x390 include/linux/netfilter.h:319
br_handle_frame_finish+0x15c6/0x1c50 net/bridge/br_input.c:235
br_nf_hook_thresh net/bridge/br_netfilter_hooks.c:-1 [inline]
br_nf_pre_routing_finish+0x1364/0x1af0 net/bridge/br_netfilter_hooks.c:425
NF_HOOK+0x61b/0x6b0 include/linux/netfilter.h:318
br_nf_pre_routing+0xeb7/0x1470 net/bridge/br_netfilter_hooks.c:534
nf_hook_entry_hookfn include/linux/netfilter.h:158 [inline]
nf_hook_bridge_pre net/bridge/br_input.c:291 [inline]
br_handle_frame+0x97f/0x14c0 net/bridge/br_input.c:442
__netif_receive_skb_core+0x10b9/0x4380 net/core/dev.c:5966
__netif_receive_skb_one_core net/core/dev.c:6077 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6192
netif_receive_skb_internal net/core/dev.c:6278 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6337
NF_HOOK+0x9d/0x390 include/linux/netfilter.h:319
br_handle_frame_finish+0x15c6/0x1c50 net/bridge/br_input.c:235
br_nf_hook_thresh net/bridge/br_netfilter_hooks.c:-1 [inline]
br_nf_pre_routing_finish+0x1364/0x1af0 net/bridge/br_netfilter_hooks.c:425
NF_HOOK+0x61b/0x6b0 include/linux/netfilter.h:318
br_nf_pre_routing+0xeb7/0x1470 net/bridge/br_netfilter_hooks.c:534
nf_hook_entry_hookfn include/linux/netfilter.h:158 [inline]
nf_hook_bridge_pre net/bridge/br_input.c:291 [inline]
br_handle_frame+0x97f/0x14c0 net/bridge/br_input.c:442
__netif_receive_skb_core+0x10b9/0x4380 net/core/dev.c:5966
__netif_receive_skb_one_core net/core/dev.c:6077 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6192
netif_receive_skb_internal net/core/dev.c:6278 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6337
NF_HOOK+0x9d/0x390 include/linux/netfilter.h:319
br_handle_frame_finish+0x15c6/0x1c50 net/bridge/br_input.c:235
br_nf_hook_thresh net/bridge/br_netfilter_hooks.c:-1 [inline]
br_nf_pre_routing_finish+0x1364/0x1af0 net/bridge/br_netfilter_hooks.c:425
NF_HOOK+0x61b/0x6b0 include/linux/netfilter.h:318
br_nf_pre_routing+0xeb7/0x1470 net/bridge/br_netfilter_hooks.c:534
nf_hook_entry_hookfn include/linux/netfilter.h:158 [inline]
nf_hook_bridge_pre net/bridge/br_input.c:291 [inline]
br_handle_frame+0x97f/0x14c0 net/bridge/br_input.c:442
__netif_receive_skb_core+0x10b9/0x4380 net/core/dev.c:5966
__netif_receive_skb_one_core net/core/dev.c:6077 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6192
netif_receive_skb_internal net/core/dev.c:6278 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6337
NF_HOOK+0x9d/0x390 include/linux/netfilter.h:319
br_handle_frame_finish+0x15c6/0x1c50 net/bridge/br_input.c:235
br_nf_hook_thresh net/bridge/br_netfilter_hooks.c:-1 [inline]
br_nf_pre_routing_finish+0x1364/0x1af0 net/bridge/br_netfilter_hooks.c:425
NF_HOOK+0x61b/0x6b0 include/linux/netfilter.h:318
br_nf_pre_routing+0xeb7/0x1470 net/bridge/br_netfilter_hooks.c:534
nf_hook_entry_hookfn include/linux/netfilter.h:158 [inline]
nf_hook_bridge_pre net/bridge/br_input.c:291 [inline]
br_handle_frame+0x97f/0x14c0 net/bridge/br_input.c:442
__netif_receive_skb_core+0x10b9/0x4380 net/core/dev.c:5966
__netif_receive_skb_one_core net/core/dev.c:6077 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6192
process_backlog+0x60e/0x14f0 net/core/dev.c:6544
__napi_poll+0xc7/0x360 net/core/dev.c:7594
napi_poll net/core/dev.c:7657 [inline]
net_rx_action+0x5f7/0xdf0 net/core/dev.c:7784
handle_softirqs+0x283/0x870 kernel/softirq.c:622
do_softirq+0xec/0x180 kernel/softirq.c:523
</IRQ>
<TASK>
__local_bh_enable_ip+0x17d/0x1c0 kernel/softirq.c:450
local_bh_enable include/linux/bottom_half.h:33 [inline]
fpregs_unlock arch/x86/include/asm/fpu/api.h:77 [inline]
fpu_clone+0x53f/0xbb0 arch/x86/kernel/fpu/core.c:692
copy_thread+0x3f5/0x9a0 arch/x86/kernel/process.c:216
copy_process+0x18ae/0x3c00 kernel/fork.c:2190
kernel_clone+0x21e/0x840 kernel/fork.c:2609
__do_sys_clone3 kernel/fork.c:2911 [inline]
__se_sys_clone3+0x256/0x2d0 kernel/fork.c:2890
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5f291c3609
Code: d7 08 00 48 8d 3d 9c d7 08 00 e8 e2 28 f6 ff 66 90 b8 ea ff ff ff 48 85 ff 74 2c 48 85 d2 74 27 49 89 c8 b8 b3 01 00 00 0f 05 <48> 85 c0 7c 18 74 01 c3 31 ed 48 83 e4 f0 4c 89 c7 ff d2 48 89 c7
RSP: 002b:00007fffae254858 EFLAGS: 00000206 ORIG_RAX: 00000000000001b3
RAX: ffffffffffffffda RBX: 00007f5f291459f0 RCX: 00007f5f291c3609
RDX: 00007f5f291459f0 RSI: 0000000000000058 RDI: 00007fffae2548a0
RBP: 00007f5f26fb26c0 R08: 00007f5f26fb26c0 R09: 00007fffae254987
R10: 0000000000000008 R11: 0000000000000206 R12: ffffffffffffffa8
R13: 000000000000006e R14: 00007fffae2548a0 R15: 00007fffae254988
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:strlen+0xa/0x70 lib/string.c:417
Code: 07 38 c1 7c db e8 b6 ea e1 f6 eb d4 90 0f 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 41 57 41 56 41 54 <53> 48 c7 c0 ff ff ff ff 49 be 00 00 00 00 00 fc ff df 48 89 fb 49
RSP: 0018:ffffc90000a01000 EFLAGS: 00010082

RAX: ffffffff8b6bd780 RBX: ffffffff8e13b278 RCX: ffff88805b39dac0
RDX: ffffffff81ca8977 RSI: ffffffff8e13b260 RDI: ffffffff8b6bd780
RBP: ffffc90000a01108 R08: ffffc90000a0122f R09: 0000000000000000
R10: ffffc90000a01220 R11: ffffffffa02017d4 R12: 1ffff9200014020c
R13: ffffffff81ca8977 R14: ffffffff8e00a0c0 R15: dffffc0000000000
FS: 000055556b813500(0000) GS:ffff888125e27000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90000a00ff8 CR3: 000000003c5ce000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 38 c1 cmp %al,%cl
2: 7c db jl 0xffffffdf
4: e8 b6 ea e1 f6 call 0xf6e1eabf
9: eb d4 jmp 0xffffffdf
b: 90 nop
c: 0f 0b ud2
e: 90 nop
f: 90 nop
10: 90 nop
11: 90 nop
12: 90 nop
13: 90 nop
14: 90 nop
15: 90 nop
16: 90 nop
17: 90 nop
18: 90 nop
19: 90 nop
1a: 90 nop
1b: 90 nop
1c: 90 nop
1d: 90 nop
1e: 90 nop
1f: f3 0f 1e fa endbr64
23: 41 57 push %r15
25: 41 56 push %r14
27: 41 54 push %r12
* 29: 53 push %rbx <-- trapping instruction
2a: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax
31: 49 be 00 00 00 00 00 movabs $0xdffffc0000000000,%r14
38: fc ff df
3b: 48 89 fb mov %rdi,%rbx
3e: 49 rex.WB


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup
Reply all
Reply to author
Forward
0 new messages