syzbot


INFO: rcu detected stall in br_handle_frame (2)

Status: upstream: reported C repro on 2020/10/14 18:56
Reported-by: syzbot+6e06cc8d0b140bd8fde4@syzkaller.appspotmail.com
First crash: 1499d, last: 658d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (13)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in br_handle_frame (5) bridge syz 24 12d 40d 28/28 fixed on 2024/11/12 23:31
linux-4.14 INFO: rcu detected stall in br_handle_frame (3) 1 1513d 1513d 0/1 auto-closed as invalid on 2021/01/28 07:46
upstream INFO: rcu detected stall in br_handle_frame C done 341 1893d 1898d 13/28 fixed on 2019/10/09 10:54
upstream INFO: rcu detected stall in br_handle_frame (2) net C done 2 1798d 1794d 15/28 fixed on 2020/02/18 14:31
upstream INFO: rcu detected stall in br_handle_frame (3) bridge 1 1223d 1223d 0/28 auto-closed as invalid on 2021/10/15 13:41
linux-4.14 INFO: rcu detected stall in br_handle_frame (2) C done 1 1798d 1798d 1/1 fixed on 2020/01/19 15:05
linux-4.14 INFO: rcu detected stall in br_handle_frame C done 15 1891d 1902d 1/1 fixed on 2019/12/07 19:24
linux-4.19 INFO: rcu detected stall in br_handle_frame C done 41 1890d 1903d 1/1 fixed on 2019/12/07 19:18
linux-5.15 INFO: rcu detected stall in br_handle_frame origin:lts-only C error 1 287d 287d 0/3 upstream: reported C repro on 2024/02/08 13:52
linux-6.1 INFO: rcu detected stall in br_handle_frame 2 86d 169d 0/3 upstream: reported on 2024/06/05 18:32
upstream INFO: rcu detected stall in br_handle_frame (4) kernel 1 1062d 1062d 0/28 closed as invalid on 2022/02/08 10:10
android-5-15 BUG: soft lockup in br_handle_frame 2 95d 101d 0/2 auto-obsoleted due to no activity on 2024/11/16 05:31
linux-4.14 BUG: soft lockup in br_handle_frame 3 1897d 1900d 0/1 auto-closed as invalid on 2020/01/09 20:54

Sample crash report:
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [syz-executor010:9722]
Modules linked in:
irq event stamp: 3148605
hardirqs last  enabled at (3148604): [<ffffffff81003ce4>] trace_hardirqs_on_thunk+0x1a/0x1c
hardirqs last disabled at (3148605): [<ffffffff81003d00>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last  enabled at (3090138): [<ffffffff88400678>] __do_softirq+0x678/0x980 kernel/softirq.c:318
softirqs last disabled at (3090141): [<ffffffff81393705>] invoke_softirq kernel/softirq.c:372 [inline]
softirqs last disabled at (3090141): [<ffffffff81393705>] irq_exit+0x215/0x260 kernel/softirq.c:412
CPU: 1 PID: 9722 Comm: syz-executor010 Not tainted 4.19.206-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:unwind_next_frame+0xe6b/0x1400 arch/x86/kernel/unwind_orc.c:572
Code: c0 74 08 3c 03 0f 8e a0 03 00 00 41 39 2e 0f 85 8f 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 14 24 48 c1 ea 03 80 3c 02 00 <0f> 85 22 03 00 00 49 8d 7e 08 49 8b 6e 38 48 b8 00 00 00 00 00 fc
RSP: 0018:ffff8880ba107070 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: dffffc0000000000 RBX: 1ffff11017420e17 RCX: 0000000000000000
RDX: 1ffff11017420e3b RSI: ffff8880ba107000 RDI: ffff8880ba107f80
RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000001
R10: ffff8880ba1071ff R11: 0000000000074071 R12: ffff8880ba107fb0
R13: ffff8880ba1071d5 R14: ffff8880ba1071a0 R15: ffffffff8c11cab8
FS:  0000000000bdb300(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffeb1d00f58 CR3: 00000000b2762000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __save_stack_trace+0x9f/0x190 arch/x86/kernel/stacktrace.c:44
 save_stack mm/kasan/kasan.c:448 [inline]
 set_track mm/kasan/kasan.c:460 [inline]
 kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:553
 kmem_cache_alloc+0x122/0x370 mm/slab.c:3559
 skb_clone+0x151/0x3d0 net/core/skbuff.c:1293
 deliver_clone net/bridge/br_forward.c:123 [inline]
 maybe_deliver+0x277/0x380 net/bridge/br_forward.c:184
 br_flood+0x158/0x4d0 net/bridge/br_forward.c:226
 br_handle_frame_finish+0xf41/0x1410 net/bridge/br_input.c:167
 br_nf_hook_thresh+0x2a3/0x330 net/bridge/br_netfilter_hooks.c:1014
 br_nf_pre_routing_finish_ipv6+0x6e3/0xd40 net/bridge/br_netfilter_ipv6.c:210
 NF_HOOK include/linux/netfilter.h:289 [inline]
 br_nf_pre_routing_ipv6+0x3f4/0x860 net/bridge/br_netfilter_ipv6.c:240
 br_nf_pre_routing+0xf05/0x1500 net/bridge/br_netfilter_hooks.c:494
 nf_hook_entry_hookfn include/linux/netfilter.h:119 [inline]
 nf_hook_slow+0xc5/0x1e0 net/netfilter/core.c:511
 nf_hook include/linux/netfilter.h:244 [inline]
 NF_HOOK include/linux/netfilter.h:287 [inline]
 br_handle_frame+0xa60/0x13b0 net/bridge/br_input.c:306
 __netif_receive_skb_core+0x929/0x3270 net/core/dev.c:4876
 __netif_receive_skb_one_core+0xae/0x180 net/core/dev.c:4952
 __netif_receive_skb+0x27/0x1c0 net/core/dev.c:5066
 process_backlog+0x241/0x700 net/core/dev.c:5849
 napi_poll net/core/dev.c:6280 [inline]
 net_rx_action+0x4ac/0xfb0 net/core/dev.c:6346
 __do_softirq+0x265/0x980 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:372 [inline]
 irq_exit+0x215/0x260 kernel/softirq.c:412
 exiting_irq arch/x86/include/asm/apic.h:536 [inline]
 smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
 </IRQ>
RIP: 0010:page_remove_file_rmap+0x80/0xa30 mm/rmap.c:1232
Code: be 04 00 00 00 e8 e0 9d 08 00 f0 41 ff 4e 54 e8 56 de d2 ff 4c 89 f7 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f e9 f0 14 0f 00 <e8> 3b de d2 ff 49 8d 7e 30 be 04 00 00 00 e8 ad 9d 08 00 f0 41 83
RSP: 0018:ffff88808f6ef708 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff818fb449
RDX: 0000000000000000 RSI: ffff88809b330280 RDI: 0000000000000005
RBP: ffffea00022cdf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffea00022cdf00 R15: 0000000000440000
 page_remove_rmap+0xe5/0x120 mm/rmap.c:1297
 zap_pte_range mm/memory.c:1350 [inline]
 zap_pmd_range mm/memory.c:1463 [inline]
 zap_pud_range mm/memory.c:1492 [inline]
 zap_p4d_range mm/memory.c:1513 [inline]
 unmap_page_range+0x147d/0x2c50 mm/memory.c:1534
 unmap_single_vma+0x198/0x300 mm/memory.c:1579
 unmap_vmas+0xa9/0x180 mm/memory.c:1609
 exit_mmap+0x2b9/0x530 mm/mmap.c:3093
 __mmput kernel/fork.c:1015 [inline]
 mmput+0x14e/0x4a0 kernel/fork.c:1036
 exit_mm kernel/exit.c:549 [inline]
 do_exit+0xaec/0x2be0 kernel/exit.c:857
 do_group_exit+0x125/0x310 kernel/exit.c:967
 get_signal+0x3f2/0x1f70 kernel/signal.c:2589
 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode+0x277/0x2d0 arch/x86/entry/common.c:198
 retint_user+0x8/0x18
RIP: 0033:0x439abe
Code: fd d7 c9 0f bc d1 c5 fe 7f 27 c5 fe 7f 6f 20 c5 fe 7f 77 40 c5 fe 7f 7f 60 49 83 c0 1f 49 29 d0 48 8d 7c 17 61 e9 c2 04 00 00 <c5> fe 6f 1e c5 fe 6f 56 20 c5 fd 74 cb c5 fd d7 d1 49 83 f8 21 0f
RSP: 002b:00007ffeb1d00b58 EFLAGS: 00010287
RAX: 00007ffeb1d00b60 RBX: 0000000000000004 RCX: 0000000000000000
RDX: 00000000000003ff RSI: 0000000000000000 RDI: 00007ffeb1d00b60
RBP: 6666666666666667 R08: 00000000000003ff R09: 0000000000f0b5ff
R10: 0000000000000001 R11: 0000000000000246 R12: 00007ffeb1d00b60
R13: 000000000007d5cd R14: 00007ffeb1d00fe0 R15: 00007ffeb1d00fac
net_ratelimit: 365 callbacks suppressed
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
----------------
Code disassembly (best guess):
   0:	c0 74 08 3c 03       	shlb   $0x3,0x3c(%rax,%rcx,1)
   5:	0f 8e a0 03 00 00    	jle    0x3ab
   b:	41 39 2e             	cmp    %ebp,(%r14)
   e:	0f 85 8f 00 00 00    	jne    0xa3
  14:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  1b:	fc ff df
  1e:	48 8b 14 24          	mov    (%rsp),%rdx
  22:	48 c1 ea 03          	shr    $0x3,%rdx
  26:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
* 2a:	0f 85 22 03 00 00    	jne    0x352 <-- trapping instruction
  30:	49 8d 7e 08          	lea    0x8(%r14),%rdi
  34:	49 8b 6e 38          	mov    0x38(%r14),%rbp
  38:	48                   	rex.W
  39:	b8 00 00 00 00       	mov    $0x0,%eax
  3e:	00 fc                	add    %bh,%ah

Crashes (31):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/09/15 06:29 linux-4.19.y b172b44fcb17 07e953c1 .config console log report syz C ci2-linux-4-19 BUG: soft lockup in br_handle_frame
2022/11/17 12:30 linux-4.19.y 3f8a27f9e27b 3a127a31 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: rcu detected stall in br_handle_frame
2022/01/26 01:06 linux-4.19.y 3f8a27f9e27b 2cbffd88 .config console log report info ci2-linux-4-19 INFO: rcu detected stall in br_handle_frame
2021/12/16 10:53 linux-4.19.y 3f8a27f9e27b 572bcb40 .config console log report info ci2-linux-4-19 INFO: rcu detected stall in br_handle_frame
2021/12/12 11:01 linux-4.19.y 3f8a27f9e27b 49ca1f59 .config console log report info ci2-linux-4-19 INFO: rcu detected stall in br_handle_frame
2021/11/29 06:40 linux-4.19.y 3f8a27f9e27b 63eeac02 .config console log report info ci2-linux-4-19 INFO: rcu detected stall in br_handle_frame
2021/11/28 22:55 linux-4.19.y 3f8a27f9e27b 63eeac02 .config console log report info ci2-linux-4-19 INFO: rcu detected stall in br_handle_frame
2021/11/28 20:40 linux-4.19.y 3f8a27f9e27b 63eeac02 .config console log report info ci2-linux-4-19 INFO: rcu detected stall in br_handle_frame
2021/11/28 19:04 linux-4.19.y 3f8a27f9e27b 63eeac02 .config console log report info ci2-linux-4-19 INFO: rcu detected stall in br_handle_frame
2021/11/28 10:01 linux-4.19.y 3f8a27f9e27b 63eeac02 .config console log report info ci2-linux-4-19 INFO: rcu detected stall in br_handle_frame
2021/11/28 05:10 linux-4.19.y 3f8a27f9e27b 63eeac02 .config console log report info ci2-linux-4-19 INFO: rcu detected stall in br_handle_frame
2021/11/28 04:48 linux-4.19.y 3f8a27f9e27b 63eeac02 .config console log report info ci2-linux-4-19 INFO: rcu detected stall in br_handle_frame
2021/11/28 03:53 linux-4.19.y 3f8a27f9e27b 63eeac02 .config console log report info ci2-linux-4-19 INFO: rcu detected stall in br_handle_frame
2021/11/28 03:49 linux-4.19.y 3f8a27f9e27b 63eeac02 .config console log report info ci2-linux-4-19 INFO: rcu detected stall in br_handle_frame
2021/11/27 21:59 linux-4.19.y 3f8a27f9e27b 63eeac02 .config console log report info ci2-linux-4-19 INFO: rcu detected stall in br_handle_frame
2021/11/27 15:32 linux-4.19.y 3f8a27f9e27b 63eeac02 .config console log report info ci2-linux-4-19 INFO: rcu detected stall in br_handle_frame
2021/07/19 21:26 linux-4.19.y fcfbdfe9626e e6a17580 .config console log report info ci2-linux-4-19 INFO: rcu detected stall in br_handle_frame
2021/02/16 18:51 linux-4.19.y 811218eceeaa 98682e5e .config console log report info ci2-linux-4-19 INFO: rcu detected stall in br_handle_frame
2023/02/02 12:05 linux-4.19.y 3f8a27f9e27b 9a6f477c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in br_handle_frame
2022/07/30 07:49 linux-4.19.y 3f8a27f9e27b fef302b1 .config console log report info ci2-linux-4-19 BUG: soft lockup in br_handle_frame
2022/04/04 19:54 linux-4.19.y 3f8a27f9e27b 5915c2cb .config console log report info ci2-linux-4-19 BUG: soft lockup in br_handle_frame
2021/11/29 04:40 linux-4.19.y 3f8a27f9e27b 63eeac02 .config console log report info ci2-linux-4-19 BUG: soft lockup in br_handle_frame
2021/11/28 11:12 linux-4.19.y 3f8a27f9e27b 63eeac02 .config console log report info ci2-linux-4-19 BUG: soft lockup in br_handle_frame
2021/11/28 09:17 linux-4.19.y 3f8a27f9e27b 63eeac02 .config console log report info ci2-linux-4-19 BUG: soft lockup in br_handle_frame
2021/11/27 14:13 linux-4.19.y 3f8a27f9e27b 63eeac02 .config console log report info ci2-linux-4-19 BUG: soft lockup in br_handle_frame
2021/09/24 14:35 linux-4.19.y 2950c9c5e0df 8cac236e .config console log report info ci2-linux-4-19 BUG: soft lockup in br_handle_frame
2021/07/23 13:54 linux-4.19.y 4938296e03bd bc5f1d88 .config console log report info ci2-linux-4-19 BUG: soft lockup in br_handle_frame
2021/07/18 08:42 linux-4.19.y fcfbdfe9626e f115ae98 .config console log report info ci2-linux-4-19 BUG: soft lockup in br_handle_frame
2021/04/22 04:14 linux-4.19.y 2965db2e004c 2bc8999a .config console log report info ci2-linux-4-19 BUG: soft lockup in br_handle_frame
2020/12/14 06:38 linux-4.19.y 13d2ce42de8c b22a7ec3 .config console log report info ci2-linux-4-19
2020/10/14 18:55 linux-4.19.y a1b977b49b66 fc7735a2 .config console log report info ci2-linux-4-19
* Struck through repros no longer work on HEAD.