syzbot


INFO: rcu detected stall in do_signal (3)

Status: auto-closed as invalid on 2021/08/06 21:07
Reported-by: syzbot+5c93d4fd285119aa1e7f@syzkaller.appspotmail.com
First crash: 1626d, last: 1324d
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: rcu detected stall in do_signal (4) 3 1049d 1091d 0/1 auto-closed as invalid on 2022/05/09 06:50
upstream INFO: rcu detected stall in do_signal (3) cgroups mm 2 1816d 1816d 0/28 closed as invalid on 2019/12/04 14:04
linux-4.19 INFO: rcu detected stall in do_signal (2) 1 1776d 1776d 0/1 auto-closed as invalid on 2020/05/11 22:29
upstream INFO: rcu detected stall in do_signal kernel 2 2215d 2234d 0/28 auto-closed as invalid on 2019/04/28 15:41
linux-4.14 INFO: rcu detected stall in do_signal (2) 1 1360d 1360d 0/1 auto-closed as invalid on 2021/07/02 05:05
linux-4.19 INFO: rcu detected stall in do_signal 1 2038d 2038d 0/1 auto-closed as invalid on 2019/10/23 10:40
linux-4.14 INFO: rcu detected stall in do_signal 7 1487d 1801d 0/1 auto-closed as invalid on 2021/02/24 19:41
upstream INFO: rcu detected stall in do_signal (2) mm 3 1821d 1821d 0/28 closed as invalid on 2019/11/29 14:24
upstream INFO: rcu detected stall in do_signal (4) kernel C done error 30 1570d 1797d 0/28 closed as invalid on 2022/02/08 10:44
linux-4.19 BUG: soft lockup in do_signal 1 772d 772d 0/1 auto-obsoleted due to no activity on 2023/02/09 18:34

Sample crash report:
bridge0: received packet on veth0_to_bridge with own address as source address (addr:ae:f3:75:f4:c7:28, vlan:0)
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:0c, vlan:0)
rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
rcu: 	1-....: (10454 ticks this GP) idle=72e/1/0x4000000000000002 softirq=25506/25804 fqs=3357 
rcu: 	(detected by 0, t=10503 jiffies, g=997, q=4)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 16038 Comm: syz-executor.4 Not tainted 4.19.185-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:unwind_next_frame+0x7af/0x1400 arch/x86/kernel/unwind_orc.c:437
Code: 14 17 4c 89 ff 83 e7 07 40 38 fe 40 0f 9e c7 40 84 f6 40 0f 95 c6 40 84 f7 0f 85 59 09 00 00 83 e0 07 38 c2 40 0f 9e c6 84 d2 <0f> 95 c0 40 84 c6 0f 85 42 09 00 00 49 0f bf 07 48 01 c8 48 89 44
RSP: 0018:ffff8880ba106ec0 EFLAGS: 00000246
RAX: 0000000000000005 RBX: 1ffff11017420de1 RCX: ffff8880ba107938
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: 0000000000000002 R08: ffffffff8c0106e8 R09: ffffffff8c0106e4
R10: ffff8880ba10704f R11: 0000000000074071 R12: ffff8880ba107038
R13: ffff8880ba107025 R14: ffff8880ba106ff0 R15: ffffffff8c0106e4
FS:  00007f0eee1c0700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055c62295a160 CR3: 0000000009e6d000 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_trace+0x12f/0x380 mm/slab.c:3625
 kmalloc include/linux/slab.h:515 [inline]
 kzalloc include/linux/slab.h:709 [inline]
 nf_bridge_alloc include/net/netfilter/br_netfilter.h:9 [inline]
 nf_bridge_unshare net/bridge/br_netfilter_hooks.c:154 [inline]
 br_nf_forward_ip+0x34d/0x15e0 net/bridge/br_netfilter_hooks.c:577
 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_forward+0x354/0xae0 net/bridge/br_forward.c:113
 deliver_clone net/bridge/br_forward.c:129 [inline]
 br_flood+0x3c2/0x4d0 net/bridge/br_forward.c:238
 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:5848
 napi_poll net/core/dev.c:6272 [inline]
 net_rx_action+0x4ac/0xfb0 net/core/dev.c:6338
 __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:535 [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:zap_pte_range mm/memory.c:1335 [inline]
RIP: 0010:zap_pmd_range mm/memory.c:1452 [inline]
RIP: 0010:zap_pud_range mm/memory.c:1481 [inline]
RIP: 0010:zap_p4d_range mm/memory.c:1502 [inline]
RIP: 0010:unmap_page_range+0xfed/0x2a70 mm/memory.c:1523
Code: 0f 85 9c 09 00 00 e8 c2 fa d6 ff 48 8b 44 24 18 48 8d 78 20 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 74 06 0f 8e cb 09 00 00 <48> 8b 44 24 18 31 ff 0f b6 40 20 89 c3 88 84 24 b8 00 00 00 83 e3
RSP: 0018:ffff888039f37770 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: 8000000000000007 RCX: ffffffff818b4adc
RDX: 0000000000000000 RSI: ffffffff818b629e RDI: ffff888039f379d0
RBP: 0000000000000001 R08: 0000000000000000 R09: 000000000023ffff
R10: 0000000000000006 R11: 0000000000000000 R12: 80000000a9737007
R13: ffffea0002a5cdc0 R14: dffffc0000000000 R15: 00007f0ef0312000
 unmap_single_vma+0x198/0x300 mm/memory.c:1568
 unmap_vmas+0xa9/0x180 mm/memory.c:1598
 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 arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x466459
Code: Bad RIP value.
RSP: 002b:00007f0eee1c0188 EFLAGS: 00000246 ORIG_RAX: 0000000000000137
RAX: 0000000000001f80 RBX: 000000000056bf60 RCX: 0000000000466459
RDX: 0000000000000004 RSI: 0000000020c22000 RDI: 0000000000000030
RBP: 00000000004bf9fb R08: 0000000000000001 R09: 0000000000000000
R10: 0000000020c22fa0 R11: 0000000000000246 R12: 000000000056bf60
R13: 00007ffd43230b6f R14: 00007f0eee1c0300 R15: 0000000000022000
Bluetooth: hci3: command 0x0406 tx timeout
net_ratelimit: 1031 callbacks suppressed
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 veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:ae:f3:75:f4:c7:28, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:ae:f3:75:f4:c7:28, 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:1b, 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 veth0_to_bridge with own address as source address (addr:ae:f3:75:f4:c7:28, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
net_ratelimit: 1265 callbacks suppressed
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 veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:ae:f3:75:f4:c7:28, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:ae:f3:75:f4:c7:28, 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:1b, 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 veth0_to_bridge with own address as source address (addr:ae:f3:75:f4:c7:28, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/04/08 21:07 linux-4.19.y b4454811f122 6a81331a .config console log report info ci2-linux-4-19 INFO: rcu detected stall in do_signal
2021/01/09 09:42 linux-4.19.y 4143d798313f a6c52263 .config console log report info ci2-linux-4-19
2020/10/25 21:23 linux-4.19.y ad326970d25c a1839e81 .config console log report info ci2-linux-4-19
2020/09/03 03:10 linux-4.19.y f6d5cb9e2c06 abf9ba4f .config console log report ci2-linux-4-19
2020/08/24 11:29 linux-4.19.y d18b78abc0c6 cef5ae68 .config console log report ci2-linux-4-19
2020/06/11 06:40 linux-4.19.y 3fc898571b97 3ab7a05a .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.