Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp4936542rdb; Fri, 29 Dec 2023 21:38:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IGDJjhRm4nsxgFlsNXKW1DqhMn5DEhBvt2wUZg1FuaNHWc98LSx53S0gym6D+412TufzgcN X-Received: by 2002:aa7:9386:0:b0:6da:534e:7a15 with SMTP id t6-20020aa79386000000b006da534e7a15mr1383862pfe.30.1703914706909; Fri, 29 Dec 2023 21:38:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703914706; cv=none; d=google.com; s=arc-20160816; b=zE7pLuoKMkyw1/QyGupPf6RWNqn69KEZQ4uU3OWRNMHCCaSnP8TnVzggzU9HNcAL31 at2hmB9ng1NDrE0SE90IiCmnWIm8lpMuOc8/vr9obX52x3/graySLVfhC/ytxb6RBi6P 9sh24Hx0h7QJwZ4yivWdGiadyqUtY5ZnYJwMBqtK93Eb1V536NUQWbKxja3qD0bOfCfD qioJBvfPsM2IwwNiKTClw5cikbjpOmyW2hNU0aN0R0eR043yDlMUVQ9c2+jEQLKZVwvg jFGTZJheT5IMuJG0QC5jRypCbuJRM/9xb2dR06RmRrdRsBHvQMOIjkLc8kHYQE90O/XF K8oQ== 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=xA09gMB3ML3lOLChXFxZR9a0ioNE2AnJcnW0WH8RchY=; fh=V9AeBafJgTW96HdC48wsxGAfd7Fe9P2uAL8tLCjpUN4=; b=WqegWXdNIgofCnsIJKCoDn1DRzISEu6dMX9ymsX0QbexKvMuJdZto2dTRc+EM9QBgl cSByMgq7sQBAzKA7qBGXwkpmiDK8Mmwot5Vr2n5GCHbcaRsPOQiZy2qK1JoNyticOZ8N XUW+EaUMsn4wwrHKovx7grdxiZM7GLDtXRBqzwTy7maBPbiCsNi3zvk52CkbTUSsc+G7 UClX6TILrlUpVRK5LgevffoTamcrpjqaIlb7a5rIzikIB6yWaX50GnAOpxlA4hJpLIMq aMVsukQHWd8uRLrtXopDe2cQ2Cw4nzKY83KT/kWCeK9qwKyxeyX+3GykN6TFRn1oZwGT 6KjQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-13338-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13338-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id x62-20020a638641000000b005c6977f9c0dsi12534947pgd.214.2023.12.29.21.38.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 21:38:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13338-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-13338-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13338-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 8198FB21EDE for ; Sat, 30 Dec 2023 05:38:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E57A9187E; Sat, 30 Dec 2023 05:38:16 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) (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 38C3015BF for ; Sat, 30 Dec 2023 05:38:14 +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-f72.google.com with SMTP id ca18e2360f4ac-7b7fe6d256eso1064397039f.1 for ; Fri, 29 Dec 2023 21:38:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703914694; x=1704519494; 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=xA09gMB3ML3lOLChXFxZR9a0ioNE2AnJcnW0WH8RchY=; b=eFxse+TKviVlJdOOHYm2rqNjYeHI43sU0uGwbXPVuMqguy5iWzz11661wHofSNyTBE NlDDnA7HyZco1cmTuZBfFlXt08d8GGl9YNumWjqa49wLZ4HquURDHDFjmuB8BDzwpTl7 4r7w81RObXrotlGS+5K1yUkJuaxQljmeIzsoH7JAce7NZsOzi5w1HsrBZ/yCTUx0JSbu lWF4CDHtmtNoNZIcsB1CQChU699ENHoGJwOIRSlLVg8Vl0ofSPrZR+b8kbGFjTaCgVqi 0nWGtvfTWl/ae2dJjNaWbTErXevvkuRdVjs80q9Ku5uA6gAvAN/KqETvRmzw5mXcwtgW USMg== X-Gm-Message-State: AOJu0YzEcNVtKnpbm6hlrGz6S8HZQCDKmt220Ur4Q19/CRvUHsidhYV0 NQXucmV3NbJYJuxIkls/TN7jnyVQ6a/uLQ5Aq4olPNlP2ko6DKQ= 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:6638:488c:b0:46d:21:773b with SMTP id ct12-20020a056638488c00b0046d0021773bmr323361jab.0.1703914694347; Fri, 29 Dec 2023 21:38:14 -0800 (PST) Date: Fri, 29 Dec 2023 21:38:14 -0800 In-Reply-To: <000000000000d6b55e060d6bc390@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000015905b060db38ee5@google.com> Subject: Re: [syzbot] Re: [syzbot] [kernel?] KMSAN: uninit-value in profile_hits (3) 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] [kernel?] KMSAN: uninit-value in profile_hits (3) Author: eadavis@qq.com please test uninit-value in profile_hits #syz test https://github.com/google/kmsan.git master diff --git a/kernel/profile.c b/kernel/profile.c index 8a77769bc4b4..37f30292b626 100644 --- a/kernel/profile.c +++ b/kernel/profile.c @@ -114,7 +114,7 @@ int __ref profile_init(void) buffer_bytes = prof_len*sizeof(atomic_t); - if (!alloc_cpumask_var(&prof_cpu_mask, GFP_KERNEL)) + if (!zalloc_cpumask_var(&prof_cpu_mask, GFP_KERNEL)) return -ENOMEM; cpumask_copy(prof_cpu_mask, cpu_possible_mask);