Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1776693rdb; Mon, 8 Jan 2024 09:49:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IGBWA3/CzJiM12t81+KO2tTYoFg8OVFysk+8HvlR4jHpZ9bWYG6TQWD4oLAnFXXnemrIem9 X-Received: by 2002:a17:90a:73c6:b0:28c:a10c:8877 with SMTP id n6-20020a17090a73c600b0028ca10c8877mr1440263pjk.59.1704736166032; Mon, 08 Jan 2024 09:49:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704736166; cv=none; d=google.com; s=arc-20160816; b=lyNyEdzKlLTgvWjotOc47rXq39L2alY74L4cocwhCa5pP4RCFoHo9p3ke0lYmriu50 ssAXMxLsr+mzOCMCuIfSKxokluLjspPRYc1TteEDlFPGjJrmpGECeZWwtSngzU7Xm/MY if7gmKFJZkkI9KNV3qVH+VpTCQWNT0PiCpYoHMfXrGBsaTmTBOOrlCYe8l4t2j/1sZNC Y5PwbTx42vZfKXUtSgvrjCJwyb44xSljDFlMpePgnXaVFYqGhwG4Zaug44pE6AUkLU1b Yr016kyz1OPCoG73d1HIwWLvQ2OIYcZzzkAZKlXkOjrLDW2wUzUc1T7EpGUaKcSl7Asy 0y8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Co6guZYByp4kdojxfU2irqToohe93bbVbLlOGGL1NZw=; fh=DoW0hE5WREsFK6mR3G4N2H7hB7JVPfvPRFCpTvtq/4Y=; b=uIlwxZMzcky2z4XkZNcG3olLtVXEV/mXXxgfSeyVpaD1zHsCOAeLfKr11WH+SCnrx3 I/dEUAbTg7GHF38FR5ludSptvqb88JUfN7ZaQ4UrWNDBfIcRCNzTF+dl3JPvey9MFDz8 RQjGJvaTNVDyI8e3tKR2aOsxn2P64H0EoXw1HNO7b2zj1KblfhU/MaMxlZ1VbKxGZUoa XEeI+yIEGstuT0cDkASKVgwz75+FfzJyexlVmbgv6xZ5pv/Z95kBvLGaybWhgVlqGKse nBt3aOQbQcrGNSm/TrOKeZKqnU8pmITkVhAdNMI0ifP9wWOTneUI322qDcDbKepbNwXD vzoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@embeddedor.com header.s=default header.b=jLz2of3V; spf=pass (google.com: domain of linux-kernel+bounces-19909-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19909-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id v8-20020a17090abb8800b0028afcdb8e9bsi225222pjr.162.2024.01.08.09.49.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 09:49:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19909-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=fail header.i=@embeddedor.com header.s=default header.b=jLz2of3V; spf=pass (google.com: domain of linux-kernel+bounces-19909-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19909-linux.lists.archive=gmail.com@vger.kernel.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 AEA942845C0 for ; Mon, 8 Jan 2024 17:49:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 69CC654FB0; Mon, 8 Jan 2024 17:40:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=embeddedor.com header.i=@embeddedor.com header.b="jLz2of3V" X-Original-To: linux-kernel@vger.kernel.org Received: from omta040.useast.a.cloudfilter.net (omta040.useast.a.cloudfilter.net [44.202.169.39]) (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 D7A5946435 for ; Mon, 8 Jan 2024 17:40:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=embeddedor.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=embeddedor.com Received: from eig-obgw-6003a.ext.cloudfilter.net ([10.0.30.151]) by cmsmtp with ESMTPS id MrYlrYa51THHuMtaKrbKLq; Mon, 08 Jan 2024 17:38:48 +0000 Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with ESMTPS id MtaJrHSaDtzh2MtaJrbeOO; Mon, 08 Jan 2024 17:38:47 +0000 X-Authority-Analysis: v=2.4 cv=Ra6Dtnhv c=1 sm=1 tr=0 ts=659c3327 a=1YbLdUo/zbTtOZ3uB5T3HA==:117 a=GfQleyYEO+cc22AUyTT7qQ==:17 a=OWjo9vPv0XrRhIrVQ50Ab3nP57M=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=IkcTkHD0fZMA:10 a=dEuoMetlWLkA:10 a=wYkD_t78qR0A:10 a=ic43B64CF9VcJqpiiBIA:9 a=QEXdDO2ut3YA:10 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=embeddedor.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Co6guZYByp4kdojxfU2irqToohe93bbVbLlOGGL1NZw=; b=jLz2of3VyaBSe/9M9xNFKptdMz vt9kIpSMNfwwSo4FKv9LHvj5rHV8HnPms9MeP/+kX4BONZRZEs86nxsACg2DN29U5YWHQAE54BNTO 6QKmb1vsMg55TD7QOb6fw1YFBVkYGkVuBes2QU7vM7sn/HOQQ/jQ8Ii1cyiKRfjAiQYTT/dvS8Qfl lNe2dW+e2u0wit2526MRyTUU4cNXydf7ro0jiqLqsyJ5SHaa9tSwgzglhZOQxhGYATAocsV3mpu66 dJYmrag6HyUOjmZChxqxl9TUF6ZIpKbkJa/mi+JaV6rAehzqYlJQ/sgBKAdsrgGpGcXQfXt85nVwN ZVI7aDJA==; Received: from 187.184.157.186.cable.dyn.cableonline.com.mx ([187.184.157.186]:17540 helo=[192.168.0.10]) by gator4166.hostgator.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96.2) (envelope-from ) id 1rMtaH-0032b8-0n; Mon, 08 Jan 2024 11:38:45 -0600 Message-ID: Date: Mon, 8 Jan 2024 11:38:41 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/2] VMCI: Fix memcpy() run-time warning in dg_dispatch_as_host() Content-Language: en-US To: Harshit Mogalapalli , Dan Carpenter Cc: linux-hardening@vger.kernel.org, keescook@chromium.org, error27@gmail.com, gustavoars@kernel.org, Bryan Tan , Vishnu Dasa , VMware PV-Drivers Reviewers , Arnd Bergmann , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, vegard.nossum@oracle.com, darren.kenny@oracle.com, syzkaller References: <20240105164001.2129796-1-harshit.m.mogalapalli@oracle.com> <20240105164001.2129796-2-harshit.m.mogalapalli@oracle.com> <7826922a-d642-424e-bede-bfc45be9254d@embeddedor.com> From: "Gustavo A. R. Silva" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4166.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - embeddedor.com X-BWhitelist: no X-Source-IP: 187.184.157.186 X-Source-L: No X-Exim-ID: 1rMtaH-0032b8-0n X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 187.184.157.186.cable.dyn.cableonline.com.mx ([192.168.0.10]) [187.184.157.186]:17540 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 19 X-Org: HG=hgshared;ORG=hostgator; X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfJOrcSXfNROQh4hsHqW+pXc84/lQphn/tmyZnYctHPiVCu4fNgKdXcmiXKsCikSM2UjuSQuGxhAEkYN/uKwX5dU81oapiycwaxypvJlBDWzUpXTWPrNY fRbKRxIBpc3WRt5N6vFeE5P1TmKNPVubxIrT5fLfc+xSO26Z1tN4HQr7gXP3L8d0Mvokgi58G9lkIqsq7qK/28EJfBhehy7/7X2hYTamAywE1oI4x0L9vtaS On 1/8/24 11:31, Harshit Mogalapalli wrote: >> BTW, is this _warning_ really causing a crash? >> > > I think we can say this can cause a crash in a way, WARN_ONCE() is still a WARNING and we can have systems with panic_on_warn set. > Oh yes! thanks for the clarification. :) -- Gustavo