Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp179390iob; Mon, 2 May 2022 16:25:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxR+9Ubfd/dnWWWvtupDSJ+Ryjvf1YGQLJ0Tjnis+WNzXIE4ru2yTKhS6tBh/U81UxL+1nj X-Received: by 2002:a63:1a5c:0:b0:3c1:9a7c:3739 with SMTP id a28-20020a631a5c000000b003c19a7c3739mr11604991pgm.272.1651533900491; Mon, 02 May 2022 16:25:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651533900; cv=none; d=google.com; s=arc-20160816; b=ya3TEm3UEFtwyrQAzSB99bYAd7yylhrPQ7UoSeaZs3i6oQpDKsbzp5KoywYcsd6Ym1 lV/yA+ItphW7UwzxAFjHizPTyHrrgKth8twLDCFETDAO9O2hyEvQ4gBHknA42ykXxJts ej005E1M9JLopYVPwjhO0qyhV0AV0xrVpIMUKYbULtPK3HV46jZRcYlFC0cfFsgjQ1Mz RgOZ8lM3zy75uwHYSmcMyJ5xOiEu+QkFXZW7bSz5RpfuFQJIDylfGFXWYwL+5BcK4y54 Fz5Tty1SjvQPIWllYZLkuuwUdEgB0LA8bgSW3pKf5xO/8hr4C7Vt0/9xIq3JI4QNN4T5 F2vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=aOn3QWkuh0ydUrhyFT9ChUTB/QLPIdqyaS5nxDi3weo=; b=cR80eY07COzl6sNtmtWIvfBHCLI9ejiAX2o+iZJAS8I/mZ9prRVtyjYycHkNA/uljz 50NN44sBr2hNiajulFNDpzH0+XkenupPqVXUG9YIYBwOjlgEEzWX+KhVERmNFNutN52O qnIP4WBo9EzR4TPNKARggZZSzncXShp/otN++tlA6WGiz5LDlbojqNPyHohTE0d54dSX K2zRBOzG3VP6K0gI4M5rS1ogZaIVilturpuYeGG6N/ETjBie5u6u6cfc0HwqqS50W2Nc nvPYSBzxF4AyDig/YhYl4vVrXglIEez0pjzelX3CVWb9c7fbY8z3kEnG0x4/XIYMpjMH MXGw== 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:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id i191-20020a6287c8000000b0050829a1029csi14089487pfe.357.2022.05.02.16.25.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 16:25:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6555F2CE20; Mon, 2 May 2022 16:24:42 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348740AbiD1PHc (ORCPT + 99 others); Thu, 28 Apr 2022 11:07:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343735AbiD1PHa (ORCPT ); Thu, 28 Apr 2022 11:07:30 -0400 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02087B3DD4; Thu, 28 Apr 2022 08:04:16 -0700 (PDT) Received: by mail-wm1-f54.google.com with SMTP id l16-20020a05600c1d1000b00394011013e8so2462149wms.1; Thu, 28 Apr 2022 08:04:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=aOn3QWkuh0ydUrhyFT9ChUTB/QLPIdqyaS5nxDi3weo=; b=Aen6B2I/EbFtvivoFjRY0zzxXbeN2UOioDt8BTr975YRb97xotWpaB/qxk92MCDIii C6x6yxfTKkXqLXEJT6l1pOZEGzJkr3rCtH3XIsAvTrJyvtDQwpyAoiN/48s++nAR3pGG ZHhXS9u8m5ljrsCK4xK4zs47AkSivBK7CJjYImPf00et5DsHtMUCMLeFCGmng5y2oTB3 c81Utk1nKh5Wctx0ITaIURQmYD4lBX1B0eVM1s266Nxb3bgCbI+JTqf2l16kcyFZAzP4 8MhL6H9SoLqsOrnX5j39yCgL9yhhP8V4HbWgio2saluKQZa84mpSIlERCyRyqCHXKWga WciQ== X-Gm-Message-State: AOAM530YzhsQaPzoHQYfgPsxWQ2Z5AQBO0EzZEVAktKGlEeeTflKRzCL PiGSYLpMnQ885gwfIKYYfR/5cngbI3s= X-Received: by 2002:a05:600c:651:b0:381:3d7b:40e0 with SMTP id p17-20020a05600c065100b003813d7b40e0mr40403517wmm.17.1651158254597; Thu, 28 Apr 2022 08:04:14 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id g13-20020a5d64ed000000b0020a9e488976sm110523wri.25.2022.04.28.08.04.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Apr 2022 08:04:14 -0700 (PDT) Date: Thu, 28 Apr 2022 15:04:12 +0000 From: Wei Liu To: "Andrea Parri (Microsoft)" Cc: KY Srinivasan , Haiyang Zhang , Stephen Hemminger , Wei Liu , Dexuan Cui , Michael Kelley , Stefano Garzarella , David Miller , Jakub Kicinski , Paolo Abeni , linux-hyperv@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH hyperv-next v2 0/5] hv_sock: Hardening changes Message-ID: <20220428150412.ligbpeltkhevdat6@liuwe-devbox-debian-v2> References: <20220428145107.7878-1-parri.andrea@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220428145107.7878-1-parri.andrea@gmail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Thu, Apr 28, 2022 at 04:51:02PM +0200, Andrea Parri (Microsoft) wrote: > > Andrea Parri (Microsoft) (5): > hv_sock: Check hv_pkt_iter_first_raw()'s return value > hv_sock: Copy packets sent by Hyper-V out of the ring buffer > hv_sock: Add validation for untrusted Hyper-V values > Drivers: hv: vmbus: Accept hv_sock offers in isolated guests > Drivers: hv: vmbus: Refactor the ring-buffer iterator functions Applied to hyperv-next. Thanks.