[v6.1] INFO: rcu detected stall in br_handle_frame

0 views
Skip to first unread message

syzbot

unread,
Jun 5, 2024, 2:32:30 PMJun 5
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 88690811da69 Linux 6.1.92
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=11c2eaba980000
kernel config: https://syzkaller.appspot.com/x/.config?x=ee57a613e7f5bf6c
dashboard link: https://syzkaller.appspot.com/bug?extid=ac93e33cede5361d55c7
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/a1bcd0657273/disk-88690811.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/46b8776e602b/vmlinux-88690811.xz
kernel image: https://storage.googleapis.com/syzbot-assets/2b8c04da7a29/bzImage-88690811.xz

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

rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-.... } 2736 jiffies s: 5517 root: 0x1/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4148 Comm: syz-executor.3 Not tainted 6.1.92-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline]
RIP: 0010:static_key_false include/linux/jump_label.h:207 [inline]
RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:147 [inline]
RIP: 0010:wrmsr arch/x86/include/asm/msr.h:254 [inline]
RIP: 0010:native_apic_msr_write+0x35/0x50 arch/x86/include/asm/apic.h:206
Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 c3 89 f6 31 d2 e9 cf a2 28 03 66 2e 0f 1f 84 00 00 00 00 00
RSP: 0018:ffffc90000006908 EFLAGS: 00000046
RAX: 00000000000000f5 RBX: ffffffff8cb14a20 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 00000000000000f5 RDI: 0000000000000838
RBP: 00000000000000f5 R08: ffffffff817cd4bd R09: fffffbfff1ce712e
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b98271c0
R13: dffffc0000000000 R14: 00000000000000f5 R15: dffffc0000000000
FS: 00007f173716f6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f978b4e2108 CR3: 0000000057e3c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<NMI>
</NMI>
<IRQ>
apic_write arch/x86/include/asm/apic.h:394 [inline]
lapic_next_event+0x5b/0x70 arch/x86/kernel/apic/apic.c:478
clockevents_program_event+0x1c5/0x310 kernel/time/clockevents.c:334
hrtimer_interrupt+0x546/0x980 kernel/time/hrtimer.c:1825
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline]
__sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112
sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:orc_ip arch/x86/kernel/unwind_orc.c:30 [inline]
RIP: 0010:__orc_find arch/x86/kernel/unwind_orc.c:52 [inline]
RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:178 [inline]
RIP: 0010:unwind_next_frame+0x4a9/0x2220 arch/x86/kernel/unwind_orc.c:448
Code: c1 e8 3f 48 01 c8 48 83 e0 fe 49 8d 1c 47 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 84 c0 75 27 48 63 03 <48> 01 d8 48 8d 4b 04 4c 39 e8 4c 0f 46 f9 48 8d 43 fc 48 0f 47 e8
RSP: 0018:ffffc90000006b60 EFLAGS: 00000246
RAX: fffffffffa9eea9d RBX: ffffffff8ed86aa8 RCX: dffffc0000000000
RDX: ffffffff8f6e274e RSI: ffffffff89775784 RDI: dffffc0000000000
RBP: ffffffff8ed86aa8 R08: 0000000000000001 R09: ffffc90000006d30
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8ed86aa8
R13: ffffffff89775783 R14: ffffffff8ed86aa8 R15: ffffffff8ed86aa8
arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:45 [inline]
kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
__kasan_slab_alloc+0x65/0x70 mm/kasan/common.c:328
kasan_slab_alloc include/linux/kasan.h:201 [inline]
slab_post_alloc_hook+0x52/0x3a0 mm/slab.h:737
slab_alloc_node mm/slub.c:3398 [inline]
slab_alloc mm/slub.c:3406 [inline]
__kmem_cache_alloc_lru mm/slub.c:3413 [inline]
kmem_cache_alloc+0x10c/0x2d0 mm/slub.c:3422
skb_clone+0x1e5/0x360 net/core/skbuff.c:1660
deliver_clone net/bridge/br_forward.c:125 [inline]
br_flood+0x382/0x440 net/bridge/br_forward.c:240
br_handle_frame_finish+0x15d0/0x1bf0 net/bridge/br_input.c:198
br_nf_hook_thresh+0x46a/0x580 net/bridge/br_netfilter_hooks.c:1176
br_nf_pre_routing_finish_ipv6+0xa92/0xdc0
NF_HOOK include/linux/netfilter.h:302 [inline]
br_nf_pre_routing_ipv6+0x354/0x740 net/bridge/br_netfilter_ipv6.c:243
nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline]
nf_hook_bridge_pre net/bridge/br_input.c:260 [inline]
br_handle_frame+0x991/0x1340 net/bridge/br_input.c:406
__netif_receive_skb_core+0x13dd/0x41d0 net/core/dev.c:5422
__netif_receive_skb_one_core net/core/dev.c:5526 [inline]
__netif_receive_skb+0x11c/0x530 net/core/dev.c:5642
process_backlog+0x381/0x760 net/core/dev.c:5970
__napi_poll+0xc7/0x470 net/core/dev.c:6537
napi_poll net/core/dev.c:6604 [inline]
net_rx_action+0x70f/0xeb0 net/core/dev.c:6718
__do_softirq+0x2e9/0xa4c kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x155/0x240 kernel/softirq.c:650
irq_exit_rcu+0x5/0x20 kernel/softirq.c:662
sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1106
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:finish_task_switch+0x1d3/0x810 kernel/sched/core.c:5124
Code: 37 0b 00 48 83 c4 08 4c 89 f7 e8 98 30 00 00 0f 1f 44 00 00 4c 89 f7 e8 7b 20 36 09 e8 36 26 32 00 fb 49 8d bc 24 f8 15 00 00 <48> 89 f8 48 c1 e8 03 49 bd 00 00 00 00 00 fc ff df 42 0f b6 04 28
RSP: 0018:ffffc900040af048 EFLAGS: 00000286
RAX: 2162bca67e39c500 RBX: ffff888028b38034 RCX: ffffffff816acf0a
RDX: dffffc0000000000 RSI: ffffffff8aec01c0 RDI: ffff88807bf2b3b8
RBP: ffffc900040af090 R08: dffffc0000000000 R09: fffffbfff2093846
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807bf29dc0
R13: 1ffff110173076eb R14: ffff8880b983aa00 R15: ffff8880b983b758
context_switch kernel/sched/core.c:5248 [inline]
__schedule+0x1435/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:free_tail_pages_check+0x0/0x3f0 mm/page_alloc.c:1292
Code: 5d 41 5e 41 5f 5d c3 e8 9e ff b3 08 f7 44 24 18 00 02 00 00 75 af eb ae e8 7d ff b3 08 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 <55> 41 57 41 56 41 55 41 54 53 49 89 f4 49 89 fe 49 bd 00 00 00 00
RSP: 0018:ffffc900040af3d8 EFLAGS: 00000246
RAX: 0000000000000001 RBX: 1ffffd40002bc181 RCX: 0000000000000002
RDX: 00000000000000c0 RSI: ffffea00015e0c40 RDI: ffffea00015e0c00
RBP: ffffea00015e0c40 R08: dffffc0000000000 R09: fffff940002bc189
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea00015e0c08
R13: ffffea00015e0c00 R14: 0000000000000002 R15: 0000000000000000
free_pages_prepare mm/page_alloc.c:1421 [inline]
free_pcp_prepare mm/page_alloc.c:1490 [inline]
free_unref_page_prepare+0x786/0x1120 mm/page_alloc.c:3358
free_unref_page+0x33/0x3e0 mm/page_alloc.c:3453
qlink_free mm/kasan/quarantine.c:168 [inline]
qlist_free_all+0x76/0xe0 mm/kasan/quarantine.c:187
kasan_quarantine_reduce+0x156/0x170 mm/kasan/quarantine.c:294
__kasan_slab_alloc+0x1f/0x70 mm/kasan/common.c:305
kasan_slab_alloc include/linux/kasan.h:201 [inline]
slab_post_alloc_hook+0x52/0x3a0 mm/slab.h:737
slab_alloc_node mm/slub.c:3398 [inline]
__kmem_cache_alloc_node+0x137/0x260 mm/slub.c:3437
__do_kmalloc_node mm/slab_common.c:954 [inline]
__kmalloc_node_track_caller+0xa0/0x220 mm/slab_common.c:975
kstrdup mm/util.c:61 [inline]
kstrdup_const+0x56/0x90 mm/util.c:84
__kernfs_new_node+0x99/0x870 fs/kernfs/dir.c:604
kernfs_new_node+0x136/0x230 fs/kernfs/dir.c:684
kernfs_create_dir_ns+0x3f/0x120 fs/kernfs/dir.c:1035
sysfs_create_dir_ns+0x185/0x390 fs/sysfs/dir.c:59
create_dir lib/kobject.c:63 [inline]
kobject_add_internal+0x6df/0xd10 lib/kobject.c:231
kobject_add_varg lib/kobject.c:366 [inline]
kobject_init_and_add+0x120/0x190 lib/kobject.c:449
netdev_queue_add_kobject net/core/net-sysfs.c:1664 [inline]
netdev_queue_update_kobjects+0x1f2/0x480 net/core/net-sysfs.c:1716
register_queue_kobjects net/core/net-sysfs.c:1777 [inline]
netdev_register_kobject+0x263/0x310 net/core/net-sysfs.c:2017
register_netdevice+0x108a/0x1720 net/core/dev.c:10099
tun_set_iff+0x861/0xe80 drivers/net/tun.c:2848
__tun_chr_ioctl+0x78e/0x2430 drivers/net/tun.c:3111
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0xf1/0x160 fs/ioctl.c:856
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:0x7f173647cf69
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f173716f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f17365b4120 RCX: 00007f173647cf69
RDX: 00000000200002c0 RSI: 00000000400454ca RDI: 0000000000000008
RBP: 00007f17364da6fe R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f17365b4120 R15: 00007ffe7c08f738
</TASK>


---
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