Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0894C433F5 for ; Wed, 17 Nov 2021 18:10:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8CA6B61BD4 for ; Wed, 17 Nov 2021 18:10:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239876AbhKQSNZ (ORCPT ); Wed, 17 Nov 2021 13:13:25 -0500 Received: from smtp-fw-6002.amazon.com ([52.95.49.90]:62012 "EHLO smtp-fw-6002.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239853AbhKQSNW (ORCPT ); Wed, 17 Nov 2021 13:13:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.co.uk; i=@amazon.co.uk; q=dns/txt; s=amazon201209; t=1637172624; x=1668708624; h=from:to:cc:date:message-id:references:in-reply-to: content-id:mime-version:content-transfer-encoding:subject; bh=L7eYNCatf98o0OVRz1xdXyOPpz/h225YkD6qGr3EHhU=; b=K8mFl9oTXaDIgT8PprXfJxRCm3AqvjQKRzPJbZPWhQnuQ/NJIXHWxP4L P2TRxMDAo5GSxUQYut0XtzzfRNI+qEuMYnAN0yGw/4Qa9PlAa0XjIGCg8 LGB36GZiYV2OfHTOXnyISoGNaSiZ3Smo1F/ez6824+ZBx2xkJLmiUIaHW M=; X-IronPort-AV: E=Sophos;i="5.87,241,1631577600"; d="scan'208";a="155846001" Subject: Re: There is a null-ptr-deref bug in kvm_dirty_ring_get in virt/kvm/dirty_ring.c Thread-Topic: There is a null-ptr-deref bug in kvm_dirty_ring_get in virt/kvm/dirty_ring.c Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-iad-1a-828bd003.us-east-1.amazon.com) ([10.43.8.2]) by smtp-border-fw-6002.iad6.amazon.com with ESMTP; 17 Nov 2021 18:10:15 +0000 Received: from EX13MTAUEE002.ant.amazon.com (iad12-ws-svc-p26-lb9-vlan2.iad.amazon.com [10.40.163.34]) by email-inbound-relay-iad-1a-828bd003.us-east-1.amazon.com (Postfix) with ESMTPS id B99D88151D; Wed, 17 Nov 2021 18:10:12 +0000 (UTC) Received: from EX13D08UEE001.ant.amazon.com (10.43.62.126) by EX13MTAUEE002.ant.amazon.com (10.43.62.24) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Wed, 17 Nov 2021 18:10:11 +0000 Received: from EX13D08UEE001.ant.amazon.com (10.43.62.126) by EX13D08UEE001.ant.amazon.com (10.43.62.126) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Wed, 17 Nov 2021 18:10:11 +0000 Received: from EX13D08UEE001.ant.amazon.com ([10.43.62.126]) by EX13D08UEE001.ant.amazon.com ([10.43.62.126]) with mapi id 15.00.1497.026; Wed, 17 Nov 2021 18:10:11 +0000 From: "Woodhouse, David" To: "pbonzini@redhat.com" , "butterflyhuangxx@gmail.com" CC: "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" Thread-Index: AQHXxreOTE1P+MiJT0+87zK1gaBo/KwHon+AgAB2LACAABadAA== Date: Wed, 17 Nov 2021 18:10:11 +0000 Message-ID: References: <9eb83cdd-9314-0d1f-0d4b-0cf4432e1e84@redhat.com> <4b739ed0ce31e459eb8af9f5b0e2b1516d8e4517.camel@amazon.co.uk> <20eddd70-7abb-e1a8-a003-62ed08fc1cac@redhat.com> In-Reply-To: <20eddd70-7abb-e1a8-a003-62ed08fc1cac@redhat.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.43.61.150] Content-Type: text/plain; charset="utf-8" Content-ID: MIME-Version: 1.0 Content-Transf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