Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp714107lqs; Tue, 5 Mar 2024 14:23:17 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUTJAB8Ha6uhfB9kY5pxOelSVRXkNzKOc6AOkPmfZoevLsJUAYw0yKfnDq6EP0nPyeD7wN8LqYUsHCcrjlDwSliO09X/S/qsPrrQ77vZQ== X-Google-Smtp-Source: AGHT+IEjLzgSFY+J26wufuwoIEs1ZtU1FBuMUdewza5n0sx6x4pCGifnQDhgjqctCiXeHWM7Pe87 X-Received: by 2002:a17:903:2944:b0:1dc:ad9a:7602 with SMTP id li4-20020a170903294400b001dcad9a7602mr3108773plb.34.1709677397015; Tue, 05 Mar 2024 14:23:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709677397; cv=pass; d=google.com; s=arc-20160816; b=o4IilbTFCr6X/OzYhppQk8WoX+BnFSfRJQL80TV6I+q05aGdZKDkGGjgua7YuebFSj m4ujMCg+jBJCVU7GK1W7i8AYnWJrQFBvepFlEEIcQf92hKC0k+Hg+Era90ml3avOGDvW qp7uFMw3kDWc8TpiX8QweZYpAPcYYkxxjjhkFzGMf0ulY8CEFS2wdYHMwD6Luk97xo9i 8S/1dUOVdw/RPoq9zp3CdicXCBK2UWe/pnOYZqp0o1tapHuT8XmFaWfmt45BKr0wVm6r 3DBMAoyopo69UyhIeTHJGOrgG9OegW9ahtFNjw0tjTPEYxo6+GoKYjs7rGRWQWknBCD4 ae5g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=9G4Yvo5ZauiQ1jKegoVpYAeCVNA5LEPHAzOKWTzv514=; fh=3ynnNE0lEkjBsJ5xbg51H0hQnqZ5DhcMGpaBecNZL6M=; b=tHWhvuOQVLoKkIGTaqa4SrEbvZxCYYgm+4GI0lpzYH1fzUA1UXsIt37nBdRg45h5c7 X0c4RIammAYSeAeSWGzYF+W25rvia1qfV0VvVCSMYadi24iNhmj8cvbj/w9erKhBcp8M BT+/mzDGsMr7dE9g9XRvpGIbHaCjPYobeF6Y3+A5dy5ufZI+TspL69DCeTu+hyD6bQJb GCbgXmBdQldOdOnMq2vbsH9Msz4A63L21GbVwzUNT1gUgmZhQ2CqeuogRhPbNNELRgjo vXgZH6QTwaY3xxOmgIZlFcOxsQe05sKgfxL5ZJOVzLEA6g1QiEtuSItFAv6dz+cacVKz dSqQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PlK6jfmr; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-93053-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93053-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id c17-20020a637251000000b005dc89648272si10847145pgn.24.2024.03.05.14.23.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 14:23:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-93053-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PlK6jfmr; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-93053-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93053-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id DC6E628AF13 for ; Tue, 5 Mar 2024 22:23:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A53EB12D203; Tue, 5 Mar 2024 22:22:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="PlK6jfmr" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B620F12B173 for ; Tue, 5 Mar 2024 22:22:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709677376; cv=none; b=SoRFiROrmtc4Wkebghqxxs0iVbtQcAE0P3JtJVNqdN1jHeMuncq67t4ctBfGpPSsYZrEuIFkIHmjkoPTB2QV0MjeMeNVLch1K6tYypGM38EN64EYSAU3C7V2LpAy4JE7tZBb3P/rZgRpcuEzqCp7dAThXgTOLEsushgWPWH9ISQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709677376; c=relaxed/simple; bh=cb0U2hOzHVEMJCMJTBTizTB9MDbIyHEwe80vWx/HOAw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=OLfLMwcHLi4cM4H/7dPBH+2rL423fqE2iQuIUPeS5xHeHuIyCZ35oiI8JVGdoQFz2n2Y9YCfLHACf6rQcCEol/LD+XTuTveCtMDhtvP2c69Ar1jrKquNP0jUY/hSnwbZodVBbdhEii6tC9otpZMZC6jFpw0wYM9bf1fMQBepFLE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PlK6jfmr; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E01E5C433C7; Tue, 5 Mar 2024 22:22:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709677376; bh=cb0U2hOzHVEMJCMJTBTizTB9MDbIyHEwe80vWx/HOAw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PlK6jfmrFp5Te4pqyry9Rz78mLl5aFL88YEJFD2doRmmGTTHUkh2yKsJbEBn0AtQU tcOqCuxC/rzQfU2SS69okkJbYEzmFKSjyOVKuc7nXR0mopbP+j6xI/9BEbh+rtu22W 4gtPBwt5Qvwnq1ntId6cHwMEXYBCpFVV3sdiBK1Y= Date: Tue, 5 Mar 2024 22:22:52 +0000 From: Greg Kroah-Hartman To: Michal Hocko Cc: cve@kernel.org, linux-kernel@vger.kernel.org Subject: Re: CVE-2023-52521: bpf: Annotate bpf_long_memcpy with data_race Message-ID: <2024030539-semester-handcuff-27d0@gregkh> References: <2024030253-CVE-2023-52521-d847@gregkh> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Mar 05, 2024 at 05:54:45PM +0100, Michal Hocko wrote: > On Sat 02-03-24 22:53:05, Greg KH wrote: > > Description > > =========== > > > > In the Linux kernel, the following vulnerability has been resolved: > > > > bpf: Annotate bpf_long_memcpy with data_race > > > > syzbot reported a data race splat between two processes trying to > > update the same BPF map value via syscall on different CPUs: > > > > BUG: KCSAN: data-race in bpf_percpu_array_update / bpf_percpu_array_update > > I would like to dispute this CVE. It adds data_race annotation which > doesn't have any impact on the code generation. Ah, my fault, I thought the "BUG: KCSAN:" line was a real BUG() call, it's just a syslog dump, good catch. I'll go revoke this now, thanks for the review! greg k-h