From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.4 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, T_DKIMWL_WL_MED,USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 466AFC433F4 for ; Mon, 27 Aug 2018 21:05:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DBF41208DC for ; Mon, 27 Aug 2018 21:05:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="YcS4+myJ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DBF41208DC Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727648AbeH1Ax2 (ORCPT ); Mon, 27 Aug 2018 20:53:28 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:45354 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727433AbeH1Ax2 (ORCPT ); Mon, 27 Aug 2018 20:53:28 -0400 Received: by mail-pl1-f195.google.com with SMTP id j8-v6so127746pll.12 for ; Mon, 27 Aug 2018 14:05:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=PY9R833KERHsS54YN9wuaLlNTiWFzXf0Uw60ulbc9cE=; b=YcS4+myJ+ASdddp2VS2Ga5gfM2qqdc7owI9SXQsk1nvgzRMvnbeBTuA5ChH2YYvuQ7 AL8yexQxOEVeqAwlZhYP19mLUPRcHTgwmC1jeu2t4UIw/628if2NAaDwjOHrW2/fsmBN 2Urk54uk/79QNh8/O+LedEPuLZbLi9h3TpR3wofBs3+S4KGqjWBf2MOKpZ0D1NKh10FV uA42XCpmLsY4Vp72NOMC0Cr/TPMpBMDUo/NMtDAhW3YS8degW6HbgyJ7thO4wLgpB57l AG2jtdr7JGjMnYj1velENqYuhdynEe7BYmOOIMGgsX25TvjbsLcl53r0BBR+obyx6ntT 5YYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=PY9R833KERHsS54YN9wuaLlNTiWFzXf0Uw60ulbc9cE=; b=Ea2F3/PIhDkbbs3uwbuE6nCCSvfywIJA8TNsgmh7SNTya+89jhChcD0HYgQYZRWxB4 fw8byM1CLO3txL4ecLdi/H1WEGOmYKjGyTlKPh76+Ej2IQd18TqyfA3FaVaQu/bdPeUm poHrV1Et4X79bQ2Zj6FlqSnpEOJRU1VEDSbfPXuj858wJ1WOJSm60CUqXX03bWQV/6XY f7g32A5Mzy+TwRz9cN7/pD8xuAxTcSvok7Ggp3dyO6LtZxT1ET870yQu92I4O3GqCWSe JFYbrzLTngLvoa2aK2D4Ok+BeQX4dVT3KrkEFZgc40bNSOZ57r38uwJb+yurZkhvBzir HRjw== X-Gm-Message-State: APzg51Dm6vkyg2vpfVSfMnsX7n9Q0tYDiP2Gp7HL8KbnQs8L29AYbkgl NKVKCmsaArIHJoZfF5roT1CGhC3+PzO6FNffFm0YdA== X-Google-Smtp-Source: ANB0VdY0KPu/HgrEONv7PgSkNqD73eSPuF7HbGAec0yn5RkQZVkpgHB7dYgmwVN6W6hdWHDbssFgeYeiiDprGTMg5pA= X-Received: by 2002:a17:902:48c8:: with SMTP id u8-v6mr14790475plh.152.1535403909762; Mon, 27 Aug 2018 14:05:09 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:90a:ac14:0:0:0:0 with HTTP; Mon, 27 Aug 2018 14:04:49 -0700 (PDT) In-Reply-To: <000000000000e5050205746dcbb0@google.com> References: <000000000000e5050205746dcbb0@google.com> From: Dmitry Vyukov Date: Mon, 27 Aug 2018 14:04:49 -0700 Message-ID: Subject: Re: INFO: rcu detected stall in snd_seq_write To: syzbot , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org Cc: Andrew Morton , Dan Williams , Jerome Glisse , jrdr.linux@gmail.com, "Kirill A. Shutemov" , ldufour@linux.vnet.ibm.com, LKML , Linux-MM , Michal Hocko , Minchan Kim , riel@surriel.com, syzkaller-bugs , ying.huang@intel.com, zwisler@kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 27, 2018 at 10:10 AM, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit: e27bc174c9c6 Add linux-next specific files for 20180824 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=16e0823e400000 > kernel config: https://syzkaller.appspot.com/x/.config?x=28446088176757ea > dashboard link: https://syzkaller.appspot.com/bug?extid=97aae04ce27e39cbfca9 > compiler: gcc (GCC) 8.0.1 20180413 (experimental) > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1756c50e400000 This seems to have been attributed to some x86 file, I will take a look as to why. +ALSA maintainers > IMPORTANT: if you fix the bug, please add the following tag to the commit: > Reported-by: syzbot+97aae04ce27e39cbfca9@syzkaller.appspotmail.com > > 8021q: adding VLAN 0 to HW filter on device team0 > 8021q: adding VLAN 0 to HW filter on device team0 > 8021q: adding VLAN 0 to HW filter on device team0 > 8021q: adding VLAN 0 to HW filter on device team0 > 8021q: adding VLAN 0 to HW filter on device team0 > rcu: INFO: rcu_sched self-detected stall on CPU > rcu: 0-....: (105000 ticks this GP) idle=2f6/1/0x4000000000000002 > softirq=23001/23001 fqs=26239 > rcu: (t=105008 jiffies g=49145 q=2382) > NMI backtrace for cpu 0 > CPU: 0 PID: 8551 Comm: syz-executor7 Not tainted 4.18.0-next-20180824+ #47 > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS > Google 01/01/2011 > Call Trace: > > __dump_stack lib/dump_stack.c:77 [inline] > dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113 > nmi_cpu_backtrace.cold.3+0x48/0x88 lib/nmi_backtrace.c:101 > nmi_trigger_cpumask_backtrace+0x151/0x192 lib/nmi_backtrace.c:62 > arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 > trigger_single_cpu_backtrace include/linux/nmi.h:162 [inline] > rcu_dump_cpu_stacks+0x175/0x1c2 kernel/rcu/tree.c:1340 > print_cpu_stall.cold.78+0x2fb/0x59c kernel/rcu/tree.c:1478 > check_cpu_stall kernel/rcu/tree.c:1550 [inline] > __rcu_pending kernel/rcu/tree.c:3276 [inline] > rcu_pending kernel/rcu/tree.c:3319 [inline] > rcu_check_callbacks+0xd4a/0x15a0 kernel/rcu/tree.c:2665 > update_process_times+0x2d/0x70 kernel/time/timer.c:1636 > tick_sched_handle+0x9f/0x180 kernel/time/tick-sched.c:164 > tick_sched_timer+0x45/0x130 kernel/time/tick-sched.c:1274 > __run_hrtimer kernel/time/hrtimer.c:1398 [inline] > __hrtimer_run_queues+0x3eb/0xff0 kernel/time/hrtimer.c:1460 > hrtimer_interrupt+0x2f3/0x750 kernel/time/hrtimer.c:1518 > local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1029 [inline] > smp_apic_timer_interrupt+0x16d/0x6a0 arch/x86/kernel/apic/apic.c:1054 > apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:867 > > RIP: 0010:lock_release+0xa2/0x9f0 kernel/locking/lockdep.c:3910 > Code: f2 c7 40 08 f2 f2 f2 f2 c7 40 0c 00 f2 f2 f2 c7 40 10 f2 f2 f2 f2 c7 > 40 14 00 f2 f2 f2 65 48 8b 04 25 28 00 00 00 48 89 45 d0 <31> c0 48 89 f8 48 > c1 e8 03 0f b6 14 10 48 89 f8 83 e0 07 83 c0 03 > RSP: 0018:ffff8801aa0078c8 EFLAGS: 00000292 ORIG_RAX: ffffffffffffff13 > RAX: 2ec5cd2493d34200 RBX: 1ffff10035400f1e RCX: 0000000000000000 > RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff8801a9b56bbc > RBP: ffff8801aa0079f8 R08: 00000000000010df R09: 0000000000000001 > R10: ffff8801a9b56be8 R11: 737c3e5c87308161 R12: ffff8801aa0079d0 > R13: ffff8801c778d4c8 R14: ffff8801aa007ae0 R15: ffff8801a9b56380 > __might_fault+0x19e/0x1e0 mm/memory.c:4585 > _copy_from_user+0x30/0x150 lib/usercopy.c:10 > copy_from_user include/linux/uaccess.h:147 [inline] > snd_seq_write+0x472/0x8d0 sound/core/seq/seq_clientmgr.c:1033 > __vfs_write+0x117/0x9d0 fs/read_write.c:485 > vfs_write+0x1fc/0x560 fs/read_write.c:549 > ksys_write+0x101/0x260 fs/read_write.c:598 > __do_sys_write fs/read_write.c:610 [inline] > __se_sys_write fs/read_write.c:607 [inline] > __x64_sys_write+0x73/0xb0 fs/read_write.c:607 > do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 > entry_SYSCALL_64_after_hwframe+0x49/0xbe > RIP: 0033:0x457089 > Code: fd b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 > 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff > 0f 83 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 > RSP: 002b:00007f09af65dc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 > RAX: ffffffffffffffda RBX: 00007f09af65e6d4 RCX: 0000000000457089 > RDX: 00000000ffffff76 RSI: 0000000020000000 RDI: 0000000000000003 > RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000 > R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff > R13: 00000000004d78a8 R14: 00000000004ca886 R15: 0000000000000000 > > > --- > This bug is generated by a bot. It may contain errors. > See https://goo.gl/tpsmEJ for more information about syzbot. > syzbot engineers can be reached at syzkaller@googlegroups.com. > > syzbot will keep track of this bug report. See: > https://goo.gl/tpsmEJ#bug-status-tracking for how to communicate with > syzbot. > syzbot can test patches for this bug, for details see: > https://goo.gl/tpsmEJ#testing-patches > > -- > You received this message because you are subscribed to the Google Groups > "syzkaller-bugs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to syzkaller-bugs+unsubscribe@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/syzkaller-bugs/000000000000e5050205746dcbb0%40google.com. > For more options, visit https://groups.google.com/d/optout.