Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1607581pxk; Tue, 1 Sep 2020 03:09:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRVfnjYiW4o0whwRnh4GnN6L7R9kVpO5KwFRkxyVx0TiiA3gC/ABWGUadNBSIX1H1teUXQ X-Received: by 2002:a17:906:b47:: with SMTP id v7mr772970ejg.310.1598954994799; Tue, 01 Sep 2020 03:09:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598954994; cv=none; d=google.com; s=arc-20160816; b=CFVs9AaWYzbB/7HHMG7fNW13PGJLvw2MsEZx2SRLPpT3KwOzjXw/5pJGexhu+IhQBQ v2n5ZO6axYQzxhpUS+Ch9qGpqKB0Bf219PRhr3906m3N9FkWoQkkEjCc/cWFLWt8EHs3 /jTTUdqeMrTM9o+OA4cX2Z6EBWSxqlSZN3y2BviNCAo0n5unUrSG8FhKuB5NNQuqDAwH x+gvHPwBPP8uMPjJ4hOzqCjZq+tnPTx+mfqv4PUPCqxfWEuj0vi3ht1IPohkOYNoYif8 GCA29CkIhy0oH9GFyjvRjZSSvIjYGmnJo6PhLwe48Q3niCuuRM88ofomC8QajTBsxQlo AX8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:from:subject:message-id:date :mime-version; bh=vcq85hTgfFbOTzSGIGZ0MEl5+wa57BmvY+5hA/EWY2Y=; b=jLWD0tvQdYOiSZlJlM83XqjpKLZAMC777qj55mj1KH/7Vq9n3XDen1rAR4ZgIKmG84 5OlbMdxpS1BTz7ReVZXjubKDxBgdm02jQNTq2eY85YmuXO2fH19eJag8jOHJqFtge2Zt otXA08YSjsQFTWzUvmkszqMmyqKR/0VlIJlUihkK4aIP5GOaM5Zdx501pdsdqEwAK1fH 7IbUkDLpBLiir1pwMJwri/g7spTbSkgrjQaPZpU3M2gMmzwhVgleMSXxn5Tf+DO02fjj 3fej/pjRJGWDSIM0dTwgAndZhVNVqA/aXIAFRa0UGA/sTXJbVGuX7+nia7Ngpe88SdtB XHeQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f2si313572edr.143.2020.09.01.03.09.31; Tue, 01 Sep 2020 03:09:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725848AbgIAKIi (ORCPT + 99 others); Tue, 1 Sep 2020 06:08:38 -0400 Received: from mail-io1-f69.google.com ([209.85.166.69]:39674 "EHLO mail-io1-f69.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725949AbgIAKIR (ORCPT ); Tue, 1 Sep 2020 06:08:17 -0400 Received: by mail-io1-f69.google.com with SMTP id v10so542003iot.6 for ; Tue, 01 Sep 2020 03:08:16 -0700 (PDT) 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=vcq85hTgfFbOTzSGIGZ0MEl5+wa57BmvY+5hA/EWY2Y=; b=JTfyXca+oP3AbdFEaGLnArh9T6THerqZT8OXTZi1dV13ICmVSMK2hM+25YerSAWWSu MiJOXjt3hfdC/xmdHSNJm1JWTYUbZG1mWD4oBhkFpp/ECg65UA+q1OMm3/cKCMLXln94 VKECHycJiI3JFl/XKEmBKbR5DdKAvfF+9hDDJvC9+qDx6okxwCeQBf+7+M8LB4nM0r72 YAln5VqdxIgTh1YaPYvq5iyQH1Uev84iO1CzO8YloYZxkJUDIy7eLIYy/Te2C+XNdrG7 SCJZD3nxS6EuuIZ/zdryiYvxlVCog7XcnUv70Scv/A/8a4zHX+xmAfSHViNX+1a5/vyw bB/g== X-Gm-Message-State: AOAM530ZO5Ku+2AiiAw+iZYzplbAJcqCp+3R9U+OD3Jd3cjS+//WUqDk fMH0YxxLi0T0dk/5C2jX02BlcKOF6stPb71ZoqBiaPzfatZj MIME-Version: 1.0 X-Received: by 2002:a6b:6016:: with SMTP id r22mr853494iog.42.1598954896037; Tue, 01 Sep 2020 03:08:16 -0700 (PDT) Date: Tue, 01 Sep 2020 03:08:16 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000971bc005ae3db23d@google.com> Subject: WARNING in snd_pcm_plugin_build_mulaw From: syzbot To: alsa-devel@alsa-project.org, broonie@kernel.org, festevam@gmail.com, linux-kernel@vger.kernel.org, perex@perex.cz, robh@kernel.org, syzkaller-bugs@googlegroups.com, tiwai@suse.com 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 Hello, syzbot found the following issue on: HEAD commit: 15bc20c6 Merge tag 'tty-5.9-rc3' of git://git.kernel.org/p.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1268efb1900000 kernel config: https://syzkaller.appspot.com/x/.config?x=891ca5711a9f1650 dashboard link: https://syzkaller.appspot.com/bug?extid=23b22dc2e0b81cbfcc95 compiler: clang version 10.0.0 (https://github.com/llvm/llvm-project/ c2443155a0fb245c8f17f2c1c72b6ea391e86e81) syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11a95f41900000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=11a452f2900000 The issue was bisected to: commit f3ca3f5b0966cfc2737178cca8a7a65b09991898 Author: Fabio Estevam Date: Fri Mar 27 15:57:21 2020 +0000 dt-bindings: sound: cs42l51: Remove unneeded I2C unit name bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=15395f41900000 final oops: https://syzkaller.appspot.com/x/report.txt?x=17395f41900000 console output: https://syzkaller.appspot.com/x/log.txt?x=13395f41900000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+23b22dc2e0b81cbfcc95@syzkaller.appspotmail.com Fixes: f3ca3f5b0966 ("dt-bindings: sound: cs42l51: Remove unneeded I2C unit name") ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6835 at sound/core/oss/mulaw.c:332 snd_pcm_plugin_build_mulaw+0x4ef/0x6e0 sound/core/oss/mulaw.c:332 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 6835 Comm: syz-executor088 Not tainted 5.9.0-rc2-syzkaller #0 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+0x1f0/0x31e lib/dump_stack.c:118 panic+0x264/0x7a0 kernel/panic.c:231 __warn+0x227/0x250 kernel/panic.c:600 report_bug+0x1b1/0x2e0 lib/bug.c:198 handle_bug+0x42/0x80 arch/x86/kernel/traps.c:234 exc_invalid_op+0x16/0x40 arch/x86/kernel/traps.c:254 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:536 RIP: 0010:snd_pcm_plugin_build_mulaw+0x4ef/0x6e0 sound/core/oss/mulaw.c:332 Code: 0f 0b bb fa ff ff ff eb cd e8 fd e3 2d fb 0f 0b bb fa ff ff ff eb bf e8 ef e3 2d fb 0f 0b bb fa ff ff ff eb b1 e8 e1 e3 2d fb <0f> 0b bb fa ff ff ff eb a3 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c 77 RSP: 0018:ffffc90001ed7950 EFLAGS: 00010293 RAX: ffffffff8647143f RBX: 0000000000000000 RCX: ffff88808dcbc540 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffffff86471e70 R08: ffffffff864710ee R09: fffff520003daf47 R10: fffff520003daf47 R11: 0000000000000000 R12: 1ffff920003daf45 R13: ffffc90001ed7a18 R14: ffffc90001ed7a28 R15: ffffc90001ed7a28 snd_pcm_plug_format_plugins+0xbbd/0x1640 sound/core/oss/pcm_plugin.c:494 snd_pcm_oss_change_params_locked+0x2c29/0x4410 sound/core/oss/pcm_oss.c:952 snd_pcm_oss_change_params sound/core/oss/pcm_oss.c:1084 [inline] snd_pcm_oss_make_ready+0x115/0x2b0 sound/core/oss/pcm_oss.c:1143 snd_pcm_oss_sync+0x265/0x900 sound/core/oss/pcm_oss.c:1642 snd_pcm_oss_release+0x119/0x270 sound/core/oss/pcm_oss.c:2546 __fput+0x34f/0x7b0 fs/file_table.c:281 task_work_run+0x137/0x1c0 kernel/task_work.c:141 exit_task_work include/linux/task_work.h:25 [inline] do_exit+0x5f3/0x1f20 kernel/exit.c:806 do_group_exit+0x161/0x2d0 kernel/exit.c:903 __do_sys_exit_group+0x13/0x20 kernel/exit.c:914 __se_sys_exit_group+0x10/0x10 kernel/exit.c:912 __x64_sys_exit_group+0x37/0x40 kernel/exit.c:912 do_syscall_64+0x31/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x440038 Code: Bad RIP value. RSP: 002b:00007ffe721a2058 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440038 RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 RBP: 00000000004bf870 R08: 00000000000000e7 R09: ffffffffffffffd0 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00000000006d1180 R14: 0000000000000000 R15: 0000000000000000 Kernel Offset: disabled Rebooting in 86400 seconds.. --- This report 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 issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. For information about bisection process see: https://goo.gl/tpsmEJ#bisection syzbot can test patches for this issue, for details see: https://goo.gl/tpsmEJ#testing-patches