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=-5.4 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, FROM_LOCAL_HEX,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 46F59C43603 for ; Mon, 16 Dec 2019 10:08:11 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5386D20725 for ; Mon, 16 Dec 2019 10:08:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="ZxXf6Cgs" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5386D20725 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 1C3B4850; Mon, 16 Dec 2019 11:07:18 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 1C3B4850 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1576490888; bh=nHcvKQV8AKDF2ORxvakUReXMG+fTq9eth3nSkjalhxA=; h=Date:From:To:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=ZxXf6CgsEL4mJVLWRDUWVGpGd/KjspgtgE7dZw/70/+izjpDzIfAxKJOQLIpAy67n f29bJSXSF3EaRXYCDnDR/Z/vf4+zTv4jUWbre1OFhjYDup3mRSCgf28RCfv1QQdBKz B2vVFbWPGSa6gTqkOoP9m6tpIr1O/8Bo/OdXSOyE= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 949A2F8022C; Mon, 16 Dec 2019 11:07:17 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 297DAF80255; Mon, 16 Dec 2019 09:25:13 +0100 (CET) Received: from mail-il1-f198.google.com (mail-il1-f198.google.com [209.85.166.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 03CE1F8014F for ; Mon, 16 Dec 2019 09:25:09 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 03CE1F8014F Received: by mail-il1-f198.google.com with SMTP id 138so2277621ilb.7 for ; Mon, 16 Dec 2019 00:25:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=VB+SUGuC0Cxur0Zbj+ZX0/RbFVdQs4vKPprMrLUqHHw=; b=DSJSgCrZhefIxYWedYr0ANz+FzJdTFInIN85Qj8f0LS3omhqE2FTbts1UhhKXAPkr3 lq9rHkPDJhC34FTeqwH/t81lu7lXCzV5rMG9Mv4O1SwkgYBXwQvvtY/XcGVDvIIDedrq QxR+0npLKZ9vPFtf1zUwabpMW13wAABZbWmlt0st1+IGL+MMnwVDTXUeoi6RosQ4C+f1 QrvdjO947w+vm3AM2CsFPQyoFHfVY+EZa4DQcn9d8mKd5MboEf8xjqOfjjwg8di2TqVS 5T4LFscc2JwF+VAIBSZtqUCzvq5zXYa0F5ss4jpbZaSCSChsbKhm5YG0UjgJRruVrYW4 DrRQ== X-Gm-Message-State: APjAAAXif0EcqazQtZJa5nkmjFlEz39ldCv1Hx3LjQt0dDUjeEW3afRc EyGBu1NUAL6oYOEvSJFcbUlgVGcG0WoCPyT8fQwbDXZHEPqy X-Google-Smtp-Source: APXvYqy1n7xSzv4gIh6uIxRJReBP3P2yMVXvElVrNazRNMA5VJbfAmWHkpDIDiNKG2f/us0i5Hd9wR9X3MohfeMASfHQHT2O7mhi MIME-Version: 1.0 X-Received: by 2002:a92:1f16:: with SMTP id i22mr11467433ile.206.1576484708100; Mon, 16 Dec 2019 00:25:08 -0800 (PST) Date: Mon, 16 Dec 2019 00:25:08 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000005324a0599cdf320@google.com> From: syzbot To: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, perex@perex.cz, syzkaller-bugs@googlegroups.com, tglx@linutronix.de, tiwai@suse.com, yung-chuan.liao@linux.intel.com X-Mailman-Approved-At: Mon, 16 Dec 2019 11:07:16 +0100 Subject: [alsa-devel] WARNING in azx_rirb_get_response X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Hello, syzbot found the following crash on: HEAD commit: 37d4e84f Merge tag 'ceph-for-5.5-rc2' of git://github.com/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10bbc9a6e00000 kernel config: https://syzkaller.appspot.com/x/.config?x=79f79de2a27d3e3d dashboard link: https://syzkaller.appspot.com/bug?extid=b3028ac3933f5c466389 compiler: gcc (GCC) 9.0.0 20181231 (experimental) userspace arch: i386 Unfortunately, I don't have any reproducer for this crash yet. IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+b3028ac3933f5c466389@syzkaller.appspotmail.com snd_hda_intel 0000:00:06.0: No response from codec, disabling MSI: last cmd=0x004a0000 ------------[ cut here ]------------ snd_hda_intel 0000:00:06.0: azx_get_response timeout, switching to single_cmd mode: last cmd=0x004a0000 WARNING: CPU: 2 PID: 8020 at sound/pci/hda/hda_controller.c:886 azx_rirb_get_response+0x5d6/0x720 sound/pci/hda/hda_controller.c:886 Kernel panic - not syncing: panic_on_warn set ... CPU: 2 PID: 8020 Comm: syz-executor.1 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x197/0x210 lib/dump_stack.c:118 panic+0x2e3/0x75c kernel/panic.c:221 __warn.cold+0x2f/0x3e kernel/panic.c:582 report_bug+0x289/0x300 lib/bug.c:195 fixup_bug arch/x86/kernel/traps.c:174 [inline] fixup_bug arch/x86/kernel/traps.c:169 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:267 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:286 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1027 RIP: 0010:azx_rirb_get_response+0x5d6/0x720 sound/pci/hda/hda_controller.c:886 Code: f6 00 00 00 49 8b 5d 00 e8 27 75 7a fb 4c 89 ef e8 ef 21 5a fe 44 89 f9 48 89 da 48 c7 c7 80 07 ce 88 48 89 c6 e8 d9 1e 4b fb <0f> 0b 48 b8 00 00 00 00 00 fc ff df 48 8b 4d 88 48 89 ca 48 c1 ea RSP: 0018:ffffc9000236f708 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff888078f64240 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff815e88f6 RDI: fffff5200046ded3 RBP: ffffc9000236f780 R08: ffff8880673d0140 R09: ffffed1005a46621 R10: ffffed1005a46620 R11: ffff88802d233107 R12: ffff888029ef0000 R13: ffff88802759a0b0 R14: dffffc0000000000 R15: 00000000004a0000 azx_get_response sound/pci/hda/hda_controller.c:994 [inline] azx_get_response+0x14c/0x180 sound/pci/hda/hda_controller.c:984 snd_hdac_bus_exec_verb_unlocked+0x4b5/0x950 sound/hda/hdac_bus.c:115 codec_exec_verb+0x13d/0x340 sound/pci/hda/hda_codec.c:52 snd_hdac_exec_verb+0x65/0x110 sound/hda/hdac_device.c:257 codec_read+0xa2/0x100 sound/hda/hdac_device.c:986 snd_hdac_codec_read+0x34/0x40 sound/hda/hdac_device.c:1015 snd_hda_codec_read include/sound/hda_codec.h:318 [inline] update_pcm_format.part.0+0x36/0xc0 sound/pci/hda/hda_codec.c:1057 update_pcm_format sound/pci/hda/hda_codec.c:1056 [inline] snd_hda_codec_setup_stream.part.0+0x355/0xa40 sound/pci/hda/hda_codec.c:1102 snd_hda_codec_setup_stream+0x47/0x60 sound/pci/hda/hda_codec.c:1086 capture_pcm_prepare+0x63/0x100 sound/pci/hda/hda_generic.c:5376 snd_hda_codec_prepare+0xa5/0x420 sound/pci/hda/hda_codec.c:3160 azx_pcm_prepare+0x53f/0x950 sound/pci/hda/hda_controller.c:195 snd_pcm_do_prepare+0x61/0xa0 sound/core/pcm_native.c:1729 snd_pcm_action_single+0x7a/0x130 sound/core/pcm_native.c:1111 snd_pcm_action_nonatomic+0x9c/0xb0 sound/core/pcm_native.c:1227 snd_pcm_prepare+0x121/0x1b0 sound/core/pcm_native.c:1776 snd_pcm_kernel_ioctl+0x117/0x1f0 sound/core/pcm_native.c:3068 snd_pcm_oss_prepare+0x49/0x150 sound/core/oss/pcm_oss.c:1125 snd_pcm_oss_make_ready+0x12b/0x170 sound/core/oss/pcm_oss.c:1153 snd_pcm_oss_sync.isra.0+0x1c4/0x7e0 sound/core/oss/pcm_oss.c:1707 snd_pcm_oss_release+0x214/0x290 sound/core/oss/pcm_oss.c:2545 __fput+0x2ff/0x890 fs/file_table.c:280 ____fput+0x16/0x20 fs/file_table.c:313 task_work_run+0x145/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x316/0x380 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] do_syscall_32_irqs_on arch/x86/entry/common.c:352 [inline] do_fast_syscall_32+0xbbd/0xe16 arch/x86/entry/common.c:408 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7faea39 Code: 00 00 00 89 d3 5b 5e 5f 5d c3 b8 80 96 98 00 eb c4 8b 04 24 c3 8b 1c 24 c3 8b 34 24 c3 8b 3c 24 c3 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000ffadef9c EFLAGS: 00000293 ORIG_RAX: 0000000000000006 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000000000 RDX: 000000000812b000 RSI: 0000000000000005 RDI: 000000000815b660 RBP: 000000000815b660 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Kernel Offset: disabled Rebooting in 86400 seconds.. --- 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#status for how to communicate with syzbot. _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel