syzbot


INFO: rcu detected stall in alloc_pages_vma

Status: auto-closed as invalid on 2020/01/07 22:27
Reported-by: syzbot+e41cadd300f0890b22d2@syzkaller.appspotmail.com
First crash: 1901d, last: 1901d

Sample crash report:
audit: type=1400 audit(1568067858.828:60): avc:  denied  { wake_alarm } for  pid=7980 comm="syz-executor.4" capability=35  scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=capability2 permissive=1
INFO: rcu_sched detected stalls on CPUs/tasks:
	0-...: (10502 ticks this GP) idle=af6/140000000000001/0 softirq=15021/15021 fqs=0 
	(detected by 1, t=10502 jiffies, g=1472, c=1471, q=28)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 6883 Comm: syz-fuzzer Not tainted 4.14.142 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880a9b1c280 task.stack: ffff888090628000
RIP: 0010:__list_del_entry include/linux/list.h:120 [inline]
RIP: 0010:__list_del_entry include/linux/list.h:115 [inline]
RIP: 0010:list_move_tail include/linux/list.h:182 [inline]
RIP: 0010:hhf_dequeue+0x594/0xa60 net/sched/sch_hhf.c:438
RSP: 0000:ffff8880aee07140 EFLAGS: 00000246
RAX: 1ffff110138238d7 RBX: ffff88809c11c6b8 RCX: 0000000000000000
RDX: 0000000000000100 RSI: ffff88809c11c750 RDI: ffff88809c11c758
RBP: ffff8880aee07190 R08: 0000000000000000 R09: ffff8880a9b1cc60
R10: ffff8880a9b1cc40 R11: ffff8880a9b1c280 R12: dffffc0000000000
R13: ffff88809c11c4c0 R14: 0000000000000000 R15: ffff88809c11c740
FS:  000000c420392090(0000) GS:ffff8880aee00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c43e510000 CR3: 0000000093ab5000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 dequeue_skb net/sched/sch_generic.c:148 [inline]
 qdisc_restart net/sched/sch_generic.c:241 [inline]
 __qdisc_run+0x2b8/0xe00 net/sched/sch_generic.c:257
 __dev_xmit_skb net/core/dev.c:3235 [inline]
 __dev_queue_xmit+0x1571/0x25e0 net/core/dev.c:3493
 dev_queue_xmit+0x18/0x20 net/core/dev.c:3558
 br_dev_queue_push_xmit+0x367/0x530 net/bridge/br_forward.c:55
 NF_HOOK include/linux/netfilter.h:250 [inline]
 NF_HOOK include/linux/netfilter.h:244 [inline]
 br_forward_finish+0xbc/0x320 net/bridge/br_forward.c:67
 NF_HOOK include/linux/netfilter.h:250 [inline]
 NF_HOOK include/linux/netfilter.h:244 [inline]
 __br_forward+0x560/0x9c0 net/bridge/br_forward.c:111
 deliver_clone+0x61/0xc0 net/bridge/br_forward.c:127
 maybe_deliver net/bridge/br_forward.c:168 [inline]
 maybe_deliver net/bridge/br_forward.c:156 [inline]
 br_flood+0x3c8/0x530 net/bridge/br_forward.c:210
 br_dev_xmit+0x9a4/0xd40 net/bridge/br_device.c:83
 __netdev_start_xmit include/linux/netdevice.h:4033 [inline]
 netdev_start_xmit include/linux/netdevice.h:4042 [inline]
 xmit_one net/core/dev.c:3009 [inline]
 dev_hard_start_xmit+0x18c/0x8b0 net/core/dev.c:3025
 __dev_queue_xmit+0x1d95/0x25e0 net/core/dev.c:3525
 dev_queue_xmit+0x18/0x20 net/core/dev.c:3558
 neigh_hh_output include/net/neighbour.h:490 [inline]
 neigh_output include/net/neighbour.h:498 [inline]
 ip6_finish_output2+0x10bd/0x21b0 net/ipv6/ip6_output.c:120
 ip6_finish_output+0x4f4/0xb50 net/ipv6/ip6_output.c:154
 NF_HOOK_COND include/linux/netfilter.h:239 [inline]
 ip6_output+0x20f/0x6d0 net/ipv6/ip6_output.c:171
 dst_output include/net/dst.h:462 [inline]
 NF_HOOK include/linux/netfilter.h:250 [inline]
 ndisc_send_skb+0xb56/0x11e0 net/ipv6/ndisc.c:483
 ndisc_send_rs+0x129/0x680 net/ipv6/ndisc.c:677
 addrconf_rs_timer+0x289/0x5a0 net/ipv6/addrconf.c:3757
 call_timer_fn+0x161/0x670 kernel/time/timer.c:1279
 expire_timers kernel/time/timer.c:1318 [inline]
 __run_timers kernel/time/timer.c:1634 [inline]
 __run_timers kernel/time/timer.c:1602 [inline]
 run_timer_softirq+0x5b4/0x1570 kernel/time/timer.c:1647
 __do_softirq+0x244/0x9a0 kernel/softirq.c:288
 invoke_softirq kernel/softirq.c:368 [inline]
 irq_exit+0x160/0x1b0 kernel/softirq.c:409
 exiting_irq arch/x86/include/asm/apic.h:648 [inline]
 smp_apic_timer_interrupt+0x146/0x5e0 arch/x86/kernel/apic/apic.c:1102
 apic_timer_interrupt+0x96/0xa0 arch/x86/entry/entry_64.S:792
 </IRQ>
RIP: 0010:get_page_from_freelist+0x623/0x2370 mm/page_alloc.c:3095
RSP: 0000:ffff88809062faa8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10
RAX: ffff88809062fc00 RBX: ffff88812fffda00 RCX: 1ffff11025fff9a6
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88809062fc08
RBP: ffff88809062fb90 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: ffff88809062fc00 R12: ffff88812fffd2c0
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88812fffcd00
 __alloc_pages_nodemask+0x33f/0x7a0 mm/page_alloc.c:4178
 alloc_pages_vma+0xc9/0x4c0 mm/mempolicy.c:2077
 alloc_zeroed_user_highpage_movable include/linux/highmem.h:184 [inline]
 do_anonymous_page mm/memory.c:3133 [inline]
 handle_pte_fault mm/memory.c:3987 [inline]
 __handle_mm_fault+0x18f3/0x3470 mm/memory.c:4113
 handle_mm_fault+0x293/0x7c0 mm/memory.c:4150
 __do_page_fault+0x4c1/0xb80 arch/x86/mm/fault.c:1420
 do_page_fault+0x71/0x511 arch/x86/mm/fault.c:1495
 page_fault+0x45/0x50 arch/x86/entry/entry_64.S:1122
RIP: 0033:0x45a2a3
RSP: 002b:000000c420251f08 EFLAGS: 00010202
RAX: 0000000000000000 RBX: 000000000002a000 RCX: 0000000000056000
RDX: 00007fc34d9c9860 RSI: 000000000000002b RDI: 000000c43e510000
RBP: 000000c420251f50 R08: 000000c000000000 R09: 000000000000f29c
R10: 0000000000000005 R11: 000000000000000a R12: 00ffffffffffffff
R13: 00000000000000ff R14: 00000000000000ff R15: 000000000000002a
Code: 45 0f af b5 14 02 00 00 48 89 df 44 01 f0 89 43 10 e8 31 db e8 fd 84 c0 74 63 e8 b8 50 6d fc 48 89 d8 48 c1 e8 03 42 80 3c 20 00 <0f> 85 65 04 00 00 48 8d 7b 08 48 8b 03 48 89 fa 48 c1 ea 03 42 
rcu_sched kthread starved for 10502 jiffies! g1472 c1471 f0x0 RCU_GP_WAIT_FQS(3) ->state=0x402 ->cpu=0
rcu_sched       I29776     9      2 0x80000000
Call Trace:
 context_switch kernel/sched/core.c:2807 [inline]
 __schedule+0x7b8/0x1cd0 kernel/sched/core.c:3383
 schedule+0x92/0x1c0 kernel/sched/core.c:3427
 schedule_timeout+0x43e/0xe10 kernel/time/timer.c:1744
 rcu_gp_kthread+0xbf4/0x1ec0 kernel/rcu/tree.c:2255
 kthread+0x319/0x430 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
INFO: rcu_preempt detected stalls on CPUs/tasks:
	0-...: (1 GPs behind) idle=af6/140000000000001/0 softirq=15020/15021 fqs=5242 
	(detected by 1, t=10559 jiffies, g=2408, c=2407, q=1175)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 6883 Comm: syz-fuzzer Not tainted 4.14.142 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880a9b1c280 task.stack: ffff888090628000
RIP: 0010:hhf_dequeue+0x81/0xa60 net/sched/sch_hhf.c:431
RSP: 0000:ffff8880aee07140 EFLAGS: 00000246
RAX: 1ffff110138238ea RBX: ffff88809c11c6b8 RCX: 0000000000000000
RDX: 0000000000000100 RSI: ffff88809c11c750 RDI: ffff88809c11c6c0
RBP: ffff8880aee07190 R08: 0000000000000000 R09: ffff8880a9b1cc60
R10: ffff8880a9b1cc40 R11: ffff8880a9b1c280 R12: dffffc0000000000
R13: ffff88809c11c4c0 R14: ffff88809c11c750 R15: ffff88809c11c740
FS:  000000c420392090(0000) GS:ffff8880aee00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c43e510000 CR3: 0000000093ab5000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 dequeue_skb net/sched/sch_generic.c:148 [inline]
 qdisc_restart net/sched/sch_generic.c:241 [inline]
 __qdisc_run+0x2b8/0xe00 net/sched/sch_generic.c:257
 __dev_xmit_skb net/core/dev.c:3235 [inline]
 __dev_queue_xmit+0x1571/0x25e0 net/core/dev.c:3493
 dev_queue_xmit+0x18/0x20 net/core/dev.c:3558
 br_dev_queue_push_xmit+0x367/0x530 net/bridge/br_forward.c:55
 NF_HOOK include/linux/netfilter.h:250 [inline]
 NF_HOOK include/linux/netfilter.h:244 [inline]
 br_forward_finish+0xbc/0x320 net/bridge/br_forward.c:67
 NF_HOOK include/linux/netfilter.h:250 [inline]
 NF_HOOK include/linux/netfilter.h:244 [inline]
 __br_forward+0x560/0x9c0 net/bridge/br_forward.c:111
 deliver_clone+0x61/0xc0 net/bridge/br_forward.c:127
 maybe_deliver net/bridge/br_forward.c:168 [inline]
 maybe_deliver net/bridge/br_forward.c:156 [inline]
 br_flood+0x3c8/0x530 net/bridge/br_forward.c:210
 br_dev_xmit+0x9a4/0xd40 net/bridge/br_device.c:83
 __netdev_start_xmit include/linux/netdevice.h:4033 [inline]
 netdev_start_xmit include/linux/netdevice.h:4042 [inline]
 xmit_one net/core/dev.c:3009 [inline]
 dev_hard_start_xmit+0x18c/0x8b0 net/core/dev.c:3025
 __dev_queue_xmit+0x1d95/0x25e0 net/core/dev.c:3525
 dev_queue_xmit+0x18/0x20 net/core/dev.c:3558
 neigh_hh_output include/net/neighbour.h:490 [inline]
 neigh_output include/net/neighbour.h:498 [inline]
 ip6_finish_output2+0x10bd/0x21b0 net/ipv6/ip6_output.c:120
 ip6_finish_output+0x4f4/0xb50 net/ipv6/ip6_output.c:154
 NF_HOOK_COND include/linux/netfilter.h:239 [inline]
 ip6_output+0x20f/0x6d0 net/ipv6/ip6_output.c:171
 dst_output include/net/dst.h:462 [inline]
 NF_HOOK include/linux/netfilter.h:250 [inline]
 ndisc_send_skb+0xb56/0x11e0 net/ipv6/ndisc.c:483
 ndisc_send_rs+0x129/0x680 net/ipv6/ndisc.c:677
 addrconf_rs_timer+0x289/0x5a0 net/ipv6/addrconf.c:3757
 call_timer_fn+0x161/0x670 kernel/time/timer.c:1279
 expire_timers kernel/time/timer.c:1318 [inline]
 __run_timers kernel/time/timer.c:1634 [inline]
 __run_timers kernel/time/timer.c:1602 [inline]
 run_timer_softirq+0x5b4/0x1570 kernel/time/timer.c:1647
 __do_softirq+0x244/0x9a0 kernel/softirq.c:288
 invoke_softirq kernel/softirq.c:368 [inline]
 irq_exit+0x160/0x1b0 kernel/softirq.c:409
 exiting_irq arch/x86/include/asm/apic.h:648 [inline]
 smp_apic_timer_interrupt+0x146/0x5e0 arch/x86/kernel/apic/apic.c:1102
 apic_timer_interrupt+0x96/0xa0 arch/x86/entry/entry_64.S:792
 </IRQ>
RIP: 0010:get_page_from_freelist+0x623/0x2370 mm/page_alloc.c:3095
RSP: 0000:ffff88809062faa8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10
RAX: ffff88809062fc00 RBX: ffff88812fffda00 RCX: 1ffff11025fff9a6
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88809062fc08
RBP: ffff88809062fb90 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: ffff88809062fc00 R12: ffff88812fffd2c0
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88812fffcd00
 __alloc_pages_nodemask+0x33f/0x7a0 mm/page_alloc.c:4178
 alloc_pages_vma+0xc9/0x4c0 mm/mempolicy.c:2077
 alloc_zeroed_user_highpage_movable include/linux/highmem.h:184 [inline]
 do_anonymous_page mm/memory.c:3133 [inline]
 handle_pte_fault mm/memory.c:3987 [inline]
 __handle_mm_fault+0x18f3/0x3470 mm/memory.c:4113
 handle_mm_fault+0x293/0x7c0 mm/memory.c:4150
 __do_page_fault+0x4c1/0xb80 arch/x86/mm/fault.c:1420
 do_page_fault+0x71/0x511 arch/x86/mm/fault.c:1495
 page_fault+0x45/0x50 arch/x86/entry/entry_64.S:1122
RIP: 0033:0x45a2a3
RSP: 002b:000000c420251f08 EFLAGS: 00010202
RAX: 0000000000000000 RBX: 000000000002a000 RCX: 0000000000056000
RDX: 00007fc34d9c9860 RSI: 000000000000002b RDI: 000000c43e510000
RBP: 000000c420251f50 R08: 000000c000000000 R09: 000000000000f29c
R10: 0000000000000005 R11: 000000000000000a R12: 00ffffffffffffff
R13: 00000000000000ff R14: 00000000000000ff R15: 000000000000002a
Code: 00 0f 85 53 07 00 00 49 8b 85 80 02 00 00 4d 89 fe 49 39 c7 0f 84 3e 04 00 00 e8 cb 55 6d fc 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 <0f> 85 1c 07 00 00 49 8b 1e 48 8d 7b 10 48 89 f8 48 c1 e8 03 42 

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/09/09 22:26 linux-4.14.y 414510bc00a5 a60cb4cd .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.