Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp3958044rdb; Thu, 28 Dec 2023 05:54:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IHTuEJUF1h6TuiVrLXR0R60EVGULfR0MsHXTwO4zgjMAaPQQp48nE8tfHwCTVjeaUvgnlob X-Received: by 2002:ac8:5f4c:0:b0:425:a31f:8c9d with SMTP id y12-20020ac85f4c000000b00425a31f8c9dmr13463428qta.32.1703771655213; Thu, 28 Dec 2023 05:54:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703771655; cv=none; d=google.com; s=arc-20160816; b=RqEipUHP31/I4b1lj61a+R0TiQf3JRRFm+p2byCLH4zy4b/dsvG9FGLegFPX9quFWK slvMgZ/V3chiNQhT43dYduAtCxye/0cgqFNnK3fcBQIwKSGafVJSE287TdNmapreSQmx HsMetwwD0XECevEbl5x3X5VFFxS+mapfIYT9M0O/c8mMnq7PhYYQv27oNGv0D7TwrWLP EyA4Z7MOUNOZ7a/CSdtGmvAk1OpVqyJ7oEi9PNHAK/8Sf8EiEsf4Zk69t/b3UbKfpZEu O4A5MXgZfguGpiUsd0f6l+UyEyl5hqLvG+Df6cPxu4q2zSdL9K+aIuiA4lYJxsJcGieO 9UqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:from:subject:message-id:in-reply-to:date:mime-version :list-unsubscribe:list-subscribe:list-id:precedence; bh=nCRFAMWm9gynkMm+jgGhNfoN7+13CeMvz0iyQRZN3bM=; fh=V9AeBafJgTW96HdC48wsxGAfd7Fe9P2uAL8tLCjpUN4=; b=ida34OJ9yfigeldKw97iXINWzbT3S7oxra+t/XDZRu1rRKkpzy67PiIuuZZUJc+bNo RgEwl9zxFGY7S/o6AdFCYzK/4PN9WaOXOjqFtTf4Dd7P7MjrTRDNCDx5LTcfZaLsqEa5 Vwa2ThmXp33+rp2GXlQ0UTNQ5s7ozYUZS4Hv/1/AiUltmojNrbIt6m5rps62+nJbzbCe DuRKd+PMxE+d0CwoonDzqKaRUmn6ApGm8Ola8/OZcKqYH4Jfuy+iIkuOgFnO35rHjL9r 07dvzw3ztOBdh814fXURriKT9sUkXKm7YpUllG8LLGzFyWPA5cAm+O4lIHxbvV02CgC3 TwoA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-12692-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12692-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id w1-20020ac857c1000000b00425a32ed22dsi16999182qta.64.2023.12.28.05.54.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Dec 2023 05:54:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12692-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-12692-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12692-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id EC88B1C2167A for ; Thu, 28 Dec 2023 13:54:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9846E8831; Thu, 28 Dec 2023 13:54:08 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mail-io1-f70.google.com (mail-io1-f70.google.com [209.85.166.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DBFF18820 for ; Thu, 28 Dec 2023 13:54:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-io1-f70.google.com with SMTP id ca18e2360f4ac-7baa6cc3af2so531255639f.2 for ; Thu, 28 Dec 2023 05:54:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703771646; x=1704376446; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nCRFAMWm9gynkMm+jgGhNfoN7+13CeMvz0iyQRZN3bM=; b=bPugHdIqQgPFbzRfO8b7TY/5gpcJzy/mKytTNecjQze9Z5hicZKvcCS/gvQ6Vk37Hm oFPTiZaw9xHCDhWEzEdOMS8pJAh9nheswUuMJHVSim9OfTvWTNoYLyM+eWj65y9rKLoJ qCRVNasPjK1zyHrE9H4RUbKSVqeBBaNZnZzH+VMejt0Xhz+FCKA1zn/0hMHneOkcxSy5 VBsSaCmeVU79Nx+kYbM6xvP/IeV2ZOvg1NGcTEzPiYsDacv5SuyqKwHZ1jsO1B6WXJo1 njpS4pLbrrQGqs/CeOxhgmCDwpNElHUsZmpbf4daTQBjtaBIEeLTWHDpt2ufyO54c0WI Rs0A== X-Gm-Message-State: AOJu0Yxv+x0mHJpWUykCSDXJeBINU/Bz6hZaslpqrAakewbLJmJt6P96 81JCW6GbJK+r2oTKslClLxIa933tdE9/sgcN+jEjiOohy8/7nbU= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6602:2768:b0:7b7:ae9f:e837 with SMTP id l8-20020a056602276800b007b7ae9fe837mr101838ioe.3.1703771646116; Thu, 28 Dec 2023 05:54:06 -0800 (PST) Date: Thu, 28 Dec 2023 05:54:06 -0800 In-Reply-To: <000000000000321c24060d7cfa1c@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000becddb060d923f00@google.com> Subject: Re: [syzbot] Re: [syzbot] [erofs?] KMSAN: uninit-value in z_erofs_lz4_decompress (2) From: syzbot To: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" For archival purposes, forwarding an incoming command email to linux-kernel@vger.kernel.org. *** Subject: Re: [syzbot] [erofs?] KMSAN: uninit-value in z_erofs_lz4_decompress (2) Author: eadavis@qq.com please test uninit-value in z_erofs_lz4_decompress (2) #syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git fbafc3e621c3 diff --git a/fs/erofs/decompressor.c b/fs/erofs/decompressor.c index 021be5feb1bc..1c19731c8fc6 100644 --- a/fs/erofs/decompressor.c +++ b/fs/erofs/decompressor.c @@ -250,7 +250,7 @@ static int z_erofs_lz4_decompress_mem(struct z_erofs_lz4_decompress_ctx *ctx, print_hex_dump(KERN_DEBUG, "[ in]: ", DUMP_PREFIX_OFFSET, 16, 1, src + inputmargin, rq->inputsize, true); print_hex_dump(KERN_DEBUG, "[out]: ", DUMP_PREFIX_OFFSET, - 16, 1, out, rq->outputsize, true); + 16, 1, out, ret > 0 ? ret : rq->outputsize, true); if (ret >= 0) memset(out + ret, 0, rq->outputsize - ret);