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=-6.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_PASS 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 7423FC43441 for ; Fri, 9 Nov 2018 13:00:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 468C82081C for ; Fri, 9 Nov 2018 13:00:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 468C82081C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de 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 S1728302AbeKIWlY (ORCPT ); Fri, 9 Nov 2018 17:41:24 -0500 Received: from mx2.suse.de ([195.135.220.15]:38662 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728140AbeKIWlY (ORCPT ); Fri, 9 Nov 2018 17:41:24 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id CA85CAF41; Fri, 9 Nov 2018 13:00:51 +0000 (UTC) Date: Fri, 09 Nov 2018 14:00:48 +0100 Message-ID: From: Takashi Iwai To: Alexander Potapenko Cc: syzbot+1cb36954e127c98dd037@syzkaller.appspotmail.com, alsa-devel@alsa-project.org, syzkaller-bugs@googlegroups.com, perex@perex.cz, LKML Subject: Re: KMSAN: uninit-value in linear_transfer (2) In-Reply-To: References: <00000000000021d9a9057a2d364e@google.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/26 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 09 Nov 2018 13:17:25 +0100, Alexander Potapenko wrote: > > > It's still strange that the conversion function gets called for the > > uninitialized source. But we should clear the vmalloc page in anyway > > for avoiding such a problem. And even better would be to use > > kvzalloc() for a better performance. > > > > Could you check whether the patch works? > The patch works and fixes the problem for me. OK, I'm going to queue it, then. > > I forgot the way to trigger the test for kmsan stuff. IIRC, just > > pushing to my tree and triggering syz test won't work for KMSAN, > > right? > Right, you need to test against KMSAN tree, see > https://github.com/google/syzkaller/blob/master/docs/syzbot.md#kmsan-bugs Thanks, that's the note I forgot :) Takashi