Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp896215rdd; Wed, 10 Jan 2024 02:55:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IEqTb7b3BycI18rErRQZ6AytSQQq8z47hE0Teaoa8coO2Tgzs3X2qVYT8piytDkNizwYjvF X-Received: by 2002:a50:9b5e:0:b0:558:31cd:b45a with SMTP id a30-20020a509b5e000000b0055831cdb45amr283417edj.29.1704884108816; Wed, 10 Jan 2024 02:55:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704884108; cv=none; d=google.com; s=arc-20160816; b=UfCWMLImvoRnC1v12Rx3MbtfW5imxgKg/4PxPPsi0t3fcmfLNmMhv9FhFOGxPuTfbU wFnN8mUouiwJ1fZ+hwFH2lxWytjc0YbSCoqkJemOxjGeSGK592UNArYW1Cj8dqdHsqev hBgburljpwf6aYvGvB2X3EY+x8tL4zlcLYcF5xAN7wv1lJrkV2ncILjJx2FdOTJpg6xC 8NI3d6Dl6uJBY+UH4uYN+7UAnwwps4Bt/rC+z79cB5RdxiNZddHmPPQDpLWY8kcNOjX9 P895+Aiteb+v6IUGECCY3h+PSx81B3aFEU8jorwex14D1fDZeeaPw5NVl8qHEJirF1ES TsMQ== ARC-Message-Signature: i=1; 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=+HY0VRm4FZW9asaaRG9Y7ciGIQO3IfYTiucTCzuCfIw=; fh=6/lr3BwYYzhp6pqIsUeHjudrT8T0L73lCoG70ip/+bA=; b=eB1nwnZERNnK2S6aKLDgWwz9/8nso+FBXrfmaJ7lPUu24OCThhSTpwosi16vLdUevi 6Bng4ofjWUcwOmRye0L57o/hxx+Ih4+qv9IrsiIajjTsP/c+mdTds2gpwnNdTPWgtCPj bCSoCD8kf9uC8yeFbSVgFKdt9tjXzgUuHy8IgFAIBRu+DWatis4ftHF2f3arcqbaEeT5 NY9m6p3RqjR6PnUNM5l+ELBuwlnLLm60zDqEM9VNf7lSMP8wf/HYzzKuTHYP1O4iRpeT lA+6Z+dFh3A4xGfvlWIKh96cKmC6AB/JmHroGF/hjzc5w0cfV80n8WX9O8i+rPVBZv6f STFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gWBSL8iU; spf=pass (google.com: domain of linux-kernel+bounces-22025-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22025-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id eg44-20020a05640228ac00b005534a8b8ec1si1594488edb.329.2024.01.10.02.55.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 02:55:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22025-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gWBSL8iU; spf=pass (google.com: domain of linux-kernel+bounces-22025-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22025-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 902A11F26E62 for ; Wed, 10 Jan 2024 10:55:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 39B1747762; Wed, 10 Jan 2024 10:54:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="gWBSL8iU" 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 60FEA41776 for ; Wed, 10 Jan 2024 10:54:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 684B4C43390; Wed, 10 Jan 2024 10:54:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1704884085; bh=D4GZJI/fl4ZLtkVheulpsbnrFlrk6tndzkZ6OL+Rsf4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gWBSL8iU4Lz93BC9yEERRP7dHEr2iuJaUALtgBjd+rF8s6A+lwjp7RpuZKZqMJUlk uNPhWOVrOzJc1I0gP5kGeyqR93Ls5QI1Dl5mlDp7dl81JCLLAwBu4YpHMhYdlx02ve 6EMwEE7yObsm7R88/F4/5o5OsXG+qTKjZ9mGnQao= Date: Wed, 10 Jan 2024 11:54:42 +0100 From: Greg KH To: kovalev@altlinux.org Cc: bryantan@vmware.com, vdasa@vmware.com, pv-drivers@vmware.com, arnd@arndb.de, linux-kernel@vger.kernel.org, nickel@altlinux.org, oficerovas@altlinux.org, dutyrok@altlinux.org Subject: Re: [PATCH 1/1] misc/vmw_vmci: fix filling of the msg and msg_payload in dg_info struct Message-ID: <2024011040-unlaced-yo-yo-ff76@gregkh> References: <20240110104042.31865-1-kovalev@altlinux.org> <20240110104042.31865-2-kovalev@altlinux.org> 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: <20240110104042.31865-2-kovalev@altlinux.org> On Wed, Jan 10, 2024 at 01:40:42PM +0300, kovalev@altlinux.org wrote: > From: Vasiliy Kovalev > > Fix "detected field-spanning write" of memcpy warning that is issued by > the tracking mechanism __fortify_memcpy_chk, added 2021-04-20 > (f68f2ff91512c199ec24883001245912afc17873 fortify: Detect struct member overflows in memcpy() at compile-time) Please properly quote commits. > Fixes: a110b7ebb9c674 ("VMCI: datagram implementation.") It's not really a bug to be "fixed", right? It's just a "shut up the fortify checkers with this false-positive" type of thing. Again, see the thread I pointed you at for this same discussion. thanks, greg k-h