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=-2.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no 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 359FACA9EC0 for ; Mon, 28 Oct 2019 14:07:43 +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 307DB205ED for ; Mon, 28 Oct 2019 14:07:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="Sg5/0Qie"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="zbT5L1eH" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 307DB205ED Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linuxfoundation.org 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 4B6D21F3B; Mon, 28 Oct 2019 15:06:50 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 4B6D21F3B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1572271660; bh=bo4poG0YFn64A358F9dCvIrVjpgAsQ8RURvCBB+nupA=; h=Date:From:To:References:In-Reply-To:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Sg5/0Qie9jZus/UjvWVHpCxkBiAMzdG5tzRiZdI9lpX12jqKkVcZlf480iv94EhyS 3LSgy+IyDWqcP1za0b7OWOu9kSM1w/Jui6ThRWNxquiGIjaX4cdKOQhnqJQsKCkhOP /ZaKqZauPfy7qiR/hY6TgJiQlxVk/zsV9yDrX1i4= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id C9735F80145; Mon, 28 Oct 2019 15:06:49 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id A4D1AF80361; Mon, 28 Oct 2019 15:06:48 +0100 (CET) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 40BD5F80145 for ; Mon, 28 Oct 2019 15:06:45 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 40BD5F80145 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="zbT5L1eH" Received: from localhost (unknown [91.217.168.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C812620873; Mon, 28 Oct 2019 13:30:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572269452; bh=Q4aTENSogO5dIUk61tZ+mKng+1PdVCEMMsHb/lYON2w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=zbT5L1eHkeWMiJ7d35cXaAKdgbCDLGGfIdru6dSJRHiWLiDqpQJCHV4Is0NGz914Y W27fseMJaz3ZPyVyiHLeXzYiaHwXNMBTDdNompmkd6xpWv2Q00cywIlqCl6gB+GlmV 7ylMyirXSq0aERB7GU7/+ezvoTR7TLXaMSpV3LQA= Date: Mon, 28 Oct 2019 14:30:50 +0100 From: Greg KH To: Takashi Iwai Message-ID: <20191028133050.GA13691@kroah.com> References: <000000000000f838060595f602a7@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.2 (2019-09-21) Cc: alsa-devel@alsa-project.org, wang6495@umn.edu, yuehaibing@huawei.com, tiwai@suse.com, syzkaller-bugs@googlegroups.com, linux-kernel@vger.kernel.org, glider@google.com, allison@lohutok.net, syzbot , tglx@linutronix.de, benquike@gmail.com, dan.carpenter@oracle.com Subject: Re: [alsa-devel] KMSAN: uninit-value in get_term_name 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Mon, Oct 28, 2019 at 02:13:20PM +0100, Takashi Iwai wrote: > On Mon, 28 Oct 2019 11:32:07 +0100, > syzbot wrote: > > > > Uninit was stored to memory at: > > kmsan_save_stack_with_flags mm/kmsan/kmsan.c:151 [inline] > > kmsan_internal_chain_origin+0xbd/0x180 mm/kmsan/kmsan.c:319 > > __msan_chain_origin+0x6b/0xd0 mm/kmsan/kmsan_instr.c:179 > > parse_term_proc_unit+0x73d/0x7e0 sound/usb/mixer.c:896 > > __check_input_term+0x13ef/0x2360 sound/usb/mixer.c:989 > > So this comes from the invalid descriptor for a processing unit, and > it's very likely the same issue as already spotted -- the validator up > to 5.3-rc4 had a bug that passed the invalid descriptor falsely. > This should have been covered by 5.3-rc5, commit ba8bf0967a15 ("ALSA: > usb-audio: Fix copy&paste error in the validator"). SHould we be backporting the validator to any older kernels as well? thanks, greg k-h _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel 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=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 81A08CA9EC0 for ; Mon, 28 Oct 2019 13:30:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 54D60214E0 for ; Mon, 28 Oct 2019 13:30:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572269456; bh=Q4aTENSogO5dIUk61tZ+mKng+1PdVCEMMsHb/lYON2w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=XcKurgVt7kU00MfQPYem7BSGIw8OwYXg7+S8rFtDeSQKUH71C5yIN8JNiVSazEmVC ey2N93jqmoDh0U7SVxaCMDS/wFJsG4cJ7JLI59h8MwqdCtXcJ7kLUgzn4bqhTxL23h eQUOO0lBkJrd3nXi6y0cqZPwWJqlk1ayDeu0QItE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389066AbfJ1Nay (ORCPT ); Mon, 28 Oct 2019 09:30:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:50866 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726833AbfJ1Nay (ORCPT ); Mon, 28 Oct 2019 09:30:54 -0400 Received: from localhost (unknown [91.217.168.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C812620873; Mon, 28 Oct 2019 13:30:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572269452; bh=Q4aTENSogO5dIUk61tZ+mKng+1PdVCEMMsHb/lYON2w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=zbT5L1eHkeWMiJ7d35cXaAKdgbCDLGGfIdru6dSJRHiWLiDqpQJCHV4Is0NGz914Y W27fseMJaz3ZPyVyiHLeXzYiaHwXNMBTDdNompmkd6xpWv2Q00cywIlqCl6gB+GlmV 7ylMyirXSq0aERB7GU7/+ezvoTR7TLXaMSpV3LQA= Date: Mon, 28 Oct 2019 14:30:50 +0100 From: Greg KH To: Takashi Iwai Cc: syzbot , allison@lohutok.net, alsa-devel@alsa-project.org, benquike@gmail.com, dan.carpenter@oracle.com, glider@google.com, linux-kernel@vger.kernel.org, perex@perex.cz, syzkaller-bugs@googlegroups.com, tglx@linutronix.de, tiwai@suse.com, wang6495@umn.edu, yuehaibing@huawei.com Subject: Re: KMSAN: uninit-value in get_term_name Message-ID: <20191028133050.GA13691@kroah.com> References: <000000000000f838060595f602a7@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 28, 2019 at 02:13:20PM +0100, Takashi Iwai wrote: > On Mon, 28 Oct 2019 11:32:07 +0100, > syzbot wrote: > > > > Uninit was stored to memory at: > > kmsan_save_stack_with_flags mm/kmsan/kmsan.c:151 [inline] > > kmsan_internal_chain_origin+0xbd/0x180 mm/kmsan/kmsan.c:319 > > __msan_chain_origin+0x6b/0xd0 mm/kmsan/kmsan_instr.c:179 > > parse_term_proc_unit+0x73d/0x7e0 sound/usb/mixer.c:896 > > __check_input_term+0x13ef/0x2360 sound/usb/mixer.c:989 > > So this comes from the invalid descriptor for a processing unit, and > it's very likely the same issue as already spotted -- the validator up > to 5.3-rc4 had a bug that passed the invalid descriptor falsely. > This should have been covered by 5.3-rc5, commit ba8bf0967a15 ("ALSA: > usb-audio: Fix copy&paste error in the validator"). SHould we be backporting the validator to any older kernels as well? thanks, greg k-h