syzbot


INFO: rcu detected stall in kmsan_slab_alloc

Status: closed as invalid on 2018/07/20 10:58
Subsystems: sctp
[Documentation on labels]
First crash: 2415d, last: 2415d

Sample crash report:
INFO: rcu_sched self-detected stall on CPU
	0-....: (116654 ticks this GP) idle=e5a/1/4611686018427387908 softirq=46101/46101 fqs=29666 
	 (t=120000 jiffies g=25117 c=25116 q=416037)
NMI backtrace for cpu 0
CPU: 0 PID: 9946 Comm: syz-executor3 Not tainted 4.17.0+ #9
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x185/0x1d0 lib/dump_stack.c:113
 nmi_cpu_backtrace lib/nmi_backtrace.c:103 [inline]
 nmi_trigger_cpumask_backtrace+0x262/0x4c0 lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x2c/0x40 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_single_cpu_backtrace include/linux/nmi.h:156 [inline]
 rcu_dump_cpu_stacks+0x307/0x4b0 kernel/rcu/tree.c:1376
 print_cpu_stall kernel/rcu/tree.c:1525 [inline]
 check_cpu_stall kernel/rcu/tree.c:1593 [inline]
 __rcu_pending kernel/rcu/tree.c:3356 [inline]
 rcu_pending kernel/rcu/tree.c:3401 [inline]
 rcu_check_callbacks+0x11c5/0x2ae0 kernel/rcu/tree.c:2763
 update_process_times+0x132/0x1a0 kernel/time/timer.c:1636
 tick_sched_handle kernel/time/tick-sched.c:164 [inline]
 tick_sched_timer+0x3ba/0x520 kernel/time/tick-sched.c:1274
 __run_hrtimer kernel/time/hrtimer.c:1398 [inline]
 __hrtimer_run_queues+0xc54/0x1630 kernel/time/hrtimer.c:1460
 hrtimer_interrupt+0x451/0x13c0 kernel/time/hrtimer.c:1518
 local_apic_timer_interrupt+0x6b/0x250 arch/x86/kernel/apic/apic.c:1025
 smp_apic_timer_interrupt+0x5a/0x90 arch/x86/kernel/apic/apic.c:1053
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:866
RIP: 0010:native_restore_fl arch/x86/include/asm/irqflags.h:37 [inline]
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/irqflags.h:78 [inline]
RIP: 0010:kmsan_kmalloc+0xc6/0x100 mm/kmsan/kmsan.c:320
RSP: 0000:ffff88021fc0f328 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000246 RBX: ffff880107a2e800 RCX: 0000000000000101
RDX: 0000000000000100 RSI: ffffea00062dd188 RDI: ffff880107a2e800
RBP: ffff88021fc0f368 R08: 0000000001090220 R09: 0000000000000001
R10: 0000000000000002 R11: ffffffff89535c60 R12: ffff88021f004f00
R13: ffff88010a1057c0 R14: 0000000000000400 R15: 0000000001090220
 kmsan_slab_alloc+0x10/0x20 mm/kmsan/kmsan.c:325
 slab_post_alloc_hook mm/slab.h:446 [inline]
 slab_alloc_node mm/slub.c:2753 [inline]
 __kmalloc_node_track_caller+0xb35/0x11b0 mm/slub.c:4395
 __kmalloc_reserve net/core/skbuff.c:138 [inline]
 __alloc_skb+0x2cb/0x9e0 net/core/skbuff.c:206
 alloc_skb include/linux/skbuff.h:988 [inline]
 sctp_packet_transmit+0x48d/0x4370 net/sctp/output.c:593
 sctp_outq_flush+0x1b45/0x6430 net/sctp/outqueue.c:1197
 sctp_outq_uncork+0xd2/0xf0 net/sctp/outqueue.c:776
 sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1820 [inline]
 sctp_side_effects net/sctp/sm_sideeffect.c:1220 [inline]
 sctp_do_sm+0x8b32/0x9190 net/sctp/sm_sideeffect.c:1191
 sctp_generate_heartbeat_event+0x3cf/0x5c0 net/sctp/sm_sideeffect.c:406
 call_timer_fn+0x280/0x5d0 kernel/time/timer.c:1326
 expire_timers kernel/time/timer.c:1363 [inline]
 __run_timers+0xd96/0x11b0 kernel/time/timer.c:1666
 run_timer_softirq+0x43/0x70 kernel/time/timer.c:1692
 __do_softirq+0x592/0x979 kernel/softirq.c:285
 invoke_softirq kernel/softirq.c:365 [inline]
 irq_exit+0x202/0x240 kernel/softirq.c:405
 exiting_irq+0xe/0x10 arch/x86/include/asm/apic.h:525
 smp_apic_timer_interrupt+0x64/0x90 arch/x86/kernel/apic/apic.c:1055
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:866
 </IRQ>
RIP: 0033:0x40b03e
RSP: 002b:0000000000a3e8b0 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13
RAX: 000000003a9b6c7f RBX: 000000003a9b1949 RCX: 0000000000000000
RDX: 000000000000811c RSI: 0000000000000262 RDI: ffffffff64239476
RBP: 0000000000000288 R08: 0000000064239476 R09: 000000006423947a
R10: 0000000000a3e940 R11: 0000000000000246 R12: 000000000072bf50
R13: 0000000080000000 R14: 00007ff65598e008 R15: 0000000000004c0e

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/06/19 11:57 https://github.com/google/kmsan.git master 123906095e30 732e4256 .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.