Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4442260rwo; Tue, 25 Jul 2023 06:16:32 -0700 (PDT) X-Google-Smtp-Source: APBJJlGdQfme7197Zw1+hn9+0oTo2lWadnzKg11Gc22M2GYxFby5vL0pex6dj8XpY6PQ7GvHtHzn X-Received: by 2002:a05:6e02:1aa4:b0:348:cd24:4d15 with SMTP id l4-20020a056e021aa400b00348cd244d15mr3153178ilv.22.1690290991772; Tue, 25 Jul 2023 06:16:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690290991; cv=none; d=google.com; s=arc-20160816; b=ZaMC8GfXh2VRrJR1GxHwH9fx7PcP+I5cL0YCM4yW6xkEPO8HEropDLgZLdN0mW4Oz8 SkYy+RE+bBzUgkKRzlxFwYt1Git49OMsZbSg7HCRxBB6YBqoXSaHbepe/uatlKRQZzTZ CMPC8Rt8yfgc5Bxnqxh8p5crRIQpq6ryKHj3b6ctdzFXBTuSFmBXWvuYTNBSVBRH+uSD sNsHDRzRIdUX/dUeMKkzLhZcfS1zK2QRWF0oeNB3T3uwvZPxp+evbn98p8Zi25dTnJM6 D7XyGJO5VM5do7i2/Ljhwk0ulSo/ifs9kAhaRYNHXwLUFTH/ymKGGjVhHKkh0R7kjrFQ rq1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=DPBwsea4FuEfXyTW+jC3iwo0K/IJqmIC3PQ+DoV4zks=; fh=VwKJHJVMlQYnbAL2hmO8nT7Ie4y5JFSAD6akrrtD9H4=; b=BcFrRZYYFynBrZ9OsFeR/uvPV663/XwtFpbVzT20k6n63LxEJpmOV3I7YOdJkrvtdq C+rW2slGPFDOWhLFoPE9MBAsJcESKxdm0bgmV55vjcjY2TjfQZX/3cptQ97UXjTKuWEM 7KRCXqSs3IyvtBAop7lhKetlrp1hvP3GvipkSCfCsDTMfKOxmJPPEECbTubC8ldqIJOh PWtyVgFHDT4bzYlefyW1+9BPSQ7gIIZUYWDTNR74pITIVPa4SMaOtHARhM2tx5Ke/OfD aeY2HAKSi9bz1SdW7qEjE33oqNN1UsDaOu9Fk4+b9FsXMxrznGMOphkteMQ3OvpJDWsZ jJCg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pg2-20020a17090b1e0200b00263d1729212si4770815pjb.85.2023.07.25.06.16.18; Tue, 25 Jul 2023 06:16:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233152AbjGYMkt (ORCPT + 99 others); Tue, 25 Jul 2023 08:40:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229780AbjGYMks (ORCPT ); Tue, 25 Jul 2023 08:40:48 -0400 Received: from www262.sakura.ne.jp (www262.sakura.ne.jp [202.181.97.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA16DC4 for ; Tue, 25 Jul 2023 05:40:45 -0700 (PDT) Received: from fsav119.sakura.ne.jp (fsav119.sakura.ne.jp [27.133.134.246]) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTP id 36PCeGQT060305; Tue, 25 Jul 2023 21:40:16 +0900 (JST) (envelope-from penguin-kernel@I-love.SAKURA.ne.jp) Received: from www262.sakura.ne.jp (202.181.97.72) by fsav119.sakura.ne.jp (F-Secure/fsigk_smtp/550/fsav119.sakura.ne.jp); Tue, 25 Jul 2023 21:40:16 +0900 (JST) X-Virus-Status: clean(F-Secure/fsigk_smtp/550/fsav119.sakura.ne.jp) Received: from [192.168.1.6] (M106072142033.v4.enabler.ne.jp [106.72.142.33]) (authenticated bits=0) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTPSA id 36PCeFMV060302 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NO); Tue, 25 Jul 2023 21:40:16 +0900 (JST) (envelope-from penguin-kernel@I-love.SAKURA.ne.jp) Message-ID: <41b72295-8eb2-8609-7494-cb8f57c4443a@I-love.SAKURA.ne.jp> Date: Tue, 25 Jul 2023 21:40:17 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH] Revert "fbcon: Use kzalloc() in fbcon_prepare_logo()" Content-Language: en-US To: Geert Uytterhoeven Cc: Kees Cook , Alexander Potapenko , Marco Elver , Dmitry Vyukov , kasan-dev , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Daniel Vetter , Helge Deller References: <98b79fbdde69a4a203096eb9c8801045c5a055fb.1690218016.git.geert+renesas@glider.be> From: Tetsuo Handa In-Reply-To: <98b79fbdde69a4a203096eb9c8801045c5a055fb.1690218016.git.geert+renesas@glider.be> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023/07/25 2:03, Geert Uytterhoeven wrote: > The syzbot report turned out to be a false possitive, caused by a KMSAN > problem. Indeed, after allocating the buffer, it is fully initialized > using scr_memsetw(). Hence there is no point in allocating zeroed > memory, while this does incur some overhead. I suggest using below description, for this problem was reported by me using a kernel built with syzbot's config file (i.e. syzbot is irrelevant). Commit a6a00d7e8ffd ("fbcon: Use kzalloc() in fbcon_prepare_logo()") is redundant, for the root cause that resulted in a false positive was fixed by commit 27f644dc5a77 ("x86: kmsan: use C versions of memset16/memset32/ memset64").