syzbot


WARNING in rcu_process_callbacks (2)

Status: closed as invalid on 2018/06/27 15:08
Subsystems: netfilter
[Documentation on labels]
First crash: 2416d, last: 2416d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in rcu_process_callbacks mm 1 2540d 2536d 0/28 closed as invalid on 2018/02/13 20:03
linux-4.14 WARNING in rcu_process_callbacks 1 1591d 1591d 0/1 auto-closed as invalid on 2020/11/21 19:52

Sample crash report:
WARNING: CPU: 1 PID: 4546 at kernel/rcu/tree.c:2713 rcu_do_batch kernel/rcu/tree.c:2713 [inline]
WARNING: CPU: 1 PID: 4546 at kernel/rcu/tree.c:2713 invoke_rcu_callbacks kernel/rcu/tree.c:2933 [inline]
WARNING: CPU: 1 PID: 4546 at kernel/rcu/tree.c:2713 __rcu_process_callbacks kernel/rcu/tree.c:2900 [inline]
WARNING: CPU: 1 PID: 4546 at kernel/rcu/tree.c:2713 rcu_process_callbacks+0x3c3/0x2070 kernel/rcu/tree.c:2917
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 4546 Comm: syz-executor6 Not tainted 4.16.0+ #85
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Not allocated shadow for addr ffff880100000000 (page ffffea0006000000)
Call Trace:
Attempted to access 64 bytes
------------[ cut here ]------------
 <IRQ>
kernel BUG at mm/kmsan/kmsan.c:1326!
invalid opcode: 0000 [#1] SMP PTI
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x185/0x1d0 lib/dump_stack.c:53
Dumping ftrace buffer:
 panic+0x39d/0x940 kernel/panic.c:183
   (ftrace buffer empty)
Modules linked in:
 __warn+0x40f/0x580 kernel/panic.c:547
CPU: 0 PID: 4545 Comm: syz-executor7 Not tainted 4.16.0+ #85
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:kmsan_get_shadow_address+0x1ce/0x1f0 mm/kmsan/kmsan.c:1325
 report_bug+0x72a/0x880 lib/bug.c:186
RSP: 0018:ffff88015e94f578 EFLAGS: 00010086
RAX: 000000000000001c RBX: 0000000000000400 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff8b3031e8
 fixup_bug arch/x86/kernel/traps.c:179 [inline]
 do_error_trap+0x1aa/0x600 arch/x86/kernel/traps.c:297
RBP: ffff88015e94f590 R08: 00000023c166fd83 R09: ffffffff8b2daa9c
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000040
R13: 0000000000000202 R14: 0000000000000001 R15: 0000000000000040
FS:  00000000022a0940(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000006fe278 CR3: 000000015e9aa000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 kmsan_internal_memset_shadow+0x5c/0xd0 mm/kmsan/kmsan.c:171
 __msan_memset+0x73/0xd0 mm/kmsan/kmsan_instr.c:507
 slab_alloc_node mm/slub.c:2735 [inline]
 __kmalloc_node+0xa58/0x1190 mm/slub.c:3832
 do_invalid_op+0x46/0x50 arch/x86/kernel/traps.c:316
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:986
 kmalloc_node include/linux/slab.h:554 [inline]
 kzalloc_node include/linux/slab.h:712 [inline]
 __get_vm_area_node+0x28e/0x810 mm/vmalloc.c:1402
RIP: 0010:rcu_do_batch kernel/rcu/tree.c:2713 [inline]
RIP: 0010:invoke_rcu_callbacks kernel/rcu/tree.c:2933 [inline]
RIP: 0010:__rcu_process_callbacks kernel/rcu/tree.c:2900 [inline]
RIP: 0010:rcu_process_callbacks+0x3c3/0x2070 kernel/rcu/tree.c:2917
 __vmalloc_node_range+0x2ad/0x1140 mm/vmalloc.c:1754
RSP: 0018:ffff88021fd0fdd0 EFLAGS: 00010002
 __vmalloc_node mm/vmalloc.c:1804 [inline]
 __vmalloc_node_flags mm/vmalloc.c:1818 [inline]
 vzalloc+0xb2/0xc0 mm/vmalloc.c:1857
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffffffffff01
RDX: ffff88021f2dd6f8 RSI: aaaaaaaaaaaab000 RDI: ffffea0000000000
 alloc_counters+0x99/0x920 net/ipv6/netfilter/ip6_tables.c:830
RBP: ffff88021fd0fed8 R08: ffff880247397601 R09: ffff88021f27ce20
 copy_entries_to_user net/ipv4/netfilter/arp_tables.c:686 [inline]
 get_entries net/ipv4/netfilter/arp_tables.c:871 [inline]
 do_arpt_get_ctl+0x7da/0xe60 net/ipv4/netfilter/arp_tables.c:1489
R10: 0000000000000a00 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88021fd39ff0 R14: ffffffff8aa83e68 R15: 0000000000000000
 nf_sockopt net/netfilter/nf_sockopt.c:104 [inline]
 nf_getsockopt+0x47b/0x4e0 net/netfilter/nf_sockopt.c:122
 ip_getsockopt+0x284/0x3c0 net/ipv4/ip_sockglue.c:1572
 __do_softirq+0x56d/0x93d kernel/softirq.c:285
 invoke_softirq kernel/softirq.c:365 [inline]
 irq_exit+0x202/0x240 kernel/softirq.c:405
 tcp_getsockopt+0x1c1/0x1f0 net/ipv4/tcp.c:3359
 exiting_irq+0xe/0x10 arch/x86/include/asm/apic.h:541
 smp_apic_timer_interrupt+0x64/0x90 arch/x86/kernel/apic/apic.c:1055
 sock_common_getsockopt+0x13a/0x170 net/core/sock.c:2934
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:857
 </IRQ>
 SYSC_getsockopt+0x49b/0x570 net/socket.c:1880
 SyS_getsockopt+0x76/0xa0 net/socket.c:1862
RIP: 0010:__read_once_size include/linux/compiler.h:197 [inline]
RIP: 0010:compound_head include/linux/page-flags.h:142 [inline]
RIP: 0010:get_page include/linux/mm.h:839 [inline]
RIP: 0010:copy_one_pte mm/memory.c:1039 [inline]
RIP: 0010:copy_pte_range mm/memory.c:1101 [inline]
RIP: 0010:copy_pmd_range mm/memory.c:1152 [inline]
RIP: 0010:copy_pud_range mm/memory.c:1186 [inline]
RIP: 0010:copy_p4d_range mm/memory.c:1208 [inline]
RIP: 0010:copy_page_range+0x1bfd/0x3f10 mm/memory.c:1270
 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287
RSP: 0018:ffff88015decf7c0 EFLAGS: 00000246
 ORIG_RAX: ffffffffffffff12
 entry_SYSCALL_64_after_hwframe+0x3d/0xa2
RAX: ffffea0000000000 RBX: ffffea0008da0ca0 RCX: 0000000000000000
RIP: 0033:0x457e7a
RSP: 002b:0000000000a3eab8 EFLAGS: 00000212
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffea0000000000
RBP: ffff88015decfa68 R08: 8000000179acc007 R09: ffff8801a14ef000
 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 0000000000000094 RCX: 0000000000457e7a
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
RDX: 0000000000000061 RSI: 0000000000000000 RDI: 0000000000000013
RBP: 0000000000a3eae0 R08: 0000000000a3eadc R09: 0000000000000001
R13: ffffea0008da0c80 R14: dead000000000100 R15: ffff8801a14efab8
R10: 0000000000a3f160 R11: 0000000000000212 R12: 0000000000000013
R13: 0000000000000000 R14: 00000000006fe900 R15: 0000000000001380
 dup_mmap kernel/fork.c:513 [inline]
 dup_mm kernel/fork.c:1234 [inline]
 copy_mm kernel/fork.c:1288 [inline]
 copy_process+0x6d87/0x9bb0 kernel/fork.c:1794
Code: 
 _do_fork+0x311/0xf00 kernel/fork.c:2088
75 
 SYSC_clone+0xf6/0x110 kernel/fork.c:2195
29 48 
 SyS_clone+0x77/0xa0 kernel/fork.c:2189
c7 c7 
 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287
fd 92 
7d 8a 
 entry_SYSCALL_64_after_hwframe+0x3d/0xa2
31 c0 
RIP: 0033:0x453a3a
e8 9d 
RSP: 002b:0000000000a3ea70 EFLAGS: 00000246
6a 86 
 ORIG_RAX: 0000000000000038
ff 80 
RAX: ffffffffffffffda RBX: 0000000000a3ea70 RCX: 0000000000453a3a
3c 25 
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
e8 03 
RBP: 0000000000a3eab0 R08: 0000000000000001 R09: 0000000001657940
2c 8b 
R10: 0000000001657c10 R11: 0000000000000246 R12: 0000000000000001
00 75 
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000001380
11 48 c7 c7 2d 93 7d 8a 31 c0 4c 89 fe e8 82 6a 86 ff <0f> 0b eb fe 48 3d ff ff ff 1f 0f 87 a2 fe ff ff 48 8b 1c 25 10 
RIP: kmsan_get_shadow_address+0x1ce/0x1f0 mm/kmsan/kmsan.c:1325 RSP: ffff88015e94f578
---[ end trace ddc208c9883a98f7 ]---
Shutting down cpus with NMI
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/04/22 15:03 https://github.com/google/kmsan.git master a7f95e9c8a95 d23fcf6c .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.