Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3875078pxj; Tue, 8 Jun 2021 00:19:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/ZNgiK3sOf7kw+kHvVzsEGrSA+i7lH3zLjT2IbDa96apEvq/ov2ruO4peVUtxLu8Ms/GU X-Received: by 2002:a17:906:dbc2:: with SMTP id yc2mr22017104ejb.390.1623136771995; Tue, 08 Jun 2021 00:19:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623136771; cv=none; d=google.com; s=arc-20160816; b=mBSt1aHw201H6cnQkJHmRsoxb8z8NWQ2JRGzHYSHvn9yHOq4yA2oar6M0ER0rmHPKC J+O5JegB4SAcsD0YTqA65GmZzLsWLdTTgyIWw3wxYTzdEKtx8/Umb9UBr6kPub3piKkr N7Aa57tURSyNfYlaWXMjhpRqbjOzAZuhoTVb/5ZJLUmXQuur6r5vgd1v5/S9oxDXOGyj qSJPNjIS2ObCdgpz+gQZ1+EfCKhT0yDB5OvWE1rr81cGqsFubjbYyyvWALqsCL76Zbf2 1tgEk1OzYJ0VNANvRqAsBHvdv322vpezGtOYoBdnc/VdqyOs+6jmh4Ln1UmDVe63GIn/ LlxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:subject:from :references:cc:to:dkim-signature; bh=ZTmXo+HPt2tUCA6PmOrzdthBV1Q2yugHfu32WlEqc8g=; b=x2LgBlwSdFYtJCA6YuzKY5rPM60wVJp8m57QmPenWPtW7n9slGEa3fTRBkCVTI0kdO EyAYn8bmQqBWU9jyiehDJjCG6EIbSlso5TaZ1UP/hWjR28DFfsGK21L3DNjqa2cBq+XT 7WJKhn8bJv/bgJ8Aq+8EspqfWTLz72kwUfDiglk3u+4L4bGnYTEzGwd0aB88NHMuUDvS 772kcRynu2j7Rev4tZZTdm31WUXh3b4dVZg/E5RSWLiU2cRT/J1kVdXqeFIv2mkHe5uD cN+j8gvmFZj2dpCRgidSLelfeuEBP3p6tLccnIEOB0buAxe6vk5AQpEqQA1a4778wEiz DgIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZBnbltPp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id he38si13788178ejc.308.2021.06.08.00.19.08; Tue, 08 Jun 2021 00:19:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZBnbltPp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230017AbhFHHTc (ORCPT + 99 others); Tue, 8 Jun 2021 03:19:32 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:58240 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229518AbhFHHTb (ORCPT ); Tue, 8 Jun 2021 03:19:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623136659; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZTmXo+HPt2tUCA6PmOrzdthBV1Q2yugHfu32WlEqc8g=; b=ZBnbltPpzO+fCM7aMaR882hFKhqcEVB5o7AyL6yLNjCKjgtt47GCsyrUPQyucaFZkS82E2 iSgOX897H4nyS1lBjT1Ja5O5yld0/vuk58WElC40t8gmxxRlFLxdjl6hNZ/i8g8EQcwQgI Hh1kf+ygAReXhPQWA7kVjKm+jpAzx+I= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-260-rosfiV1gNmy_L3qRolNGfg-1; Tue, 08 Jun 2021 03:17:37 -0400 X-MC-Unique: rosfiV1gNmy_L3qRolNGfg-1 Received: by mail-wr1-f71.google.com with SMTP id g14-20020a5d698e0000b0290117735bd4d3so8915287wru.13 for ; Tue, 08 Jun 2021 00:17:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:references:from:subject:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ZTmXo+HPt2tUCA6PmOrzdthBV1Q2yugHfu32WlEqc8g=; b=fDNjObACbMmo6Vhs35QL+fl1tqCmOsdnaVxjSJoy3rRf+g1HZXywqSAE+ZprOrZISH qIoQReTRQPUHD1HiKQTRawHw04R6shyZwluCznz7SzONkB7E4fmyeeGdPpepeYzDPNEl Pod1GyYO1Jz+1SR4GH0WqlB/qrthWQUUQK+Fzah3ETijRvw6GGVfKbOAiZyqcHvea/UD jFv0R2NbTz+PgunxzbLlJxgQq4wVQ+jrFGX7SFAky9zCoOsf5pUcVpXonKDTcNLIvxfZ DvgVYwrEK3/cCU9XBNhtdafW+SOK85iiwqQ2WS0B1KUQhiY9tiW2XMe/XtPIc6t9X9yn k4ow== X-Gm-Message-State: AOAM532iD6xnJgtIhEHjhRzC8aJ2u0URBFS3t5TnRvJnjxi3cuh317MH milxA18PSq5EoVCxNY5riSiBH8fIzNpwGtjkOpLCftdEFl+GmidnyAkWSBoC9o5HOrIy2pIkVi4 DmEuJjmvoTGJY3KnKhhp+PBXU X-Received: by 2002:a5d:618a:: with SMTP id j10mr21266969wru.229.1623136656648; Tue, 08 Jun 2021 00:17:36 -0700 (PDT) X-Received: by 2002:a5d:618a:: with SMTP id j10mr21266951wru.229.1623136656461; Tue, 08 Jun 2021 00:17:36 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:5e2c:eb9a:a8b6:fd3e? ([2001:b07:6468:f312:5e2c:eb9a:a8b6:fd3e]) by smtp.gmail.com with ESMTPSA id h9sm1885572wmm.33.2021.06.08.00.17.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 08 Jun 2021 00:17:35 -0700 (PDT) To: Salvatore Bonaccorso Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Sean Christopherson , stable@vger.kernel.org, Wanpeng Li References: <20200417163843.71624-1-pbonzini@redhat.com> <20200417163843.71624-2-pbonzini@redhat.com> From: Paolo Bonzini Subject: Re: [PATCH 1/2] KVM: SVM: avoid infinite loop on NPF from bad address Message-ID: <24b6a7e2-5059-1c5c-aed1-1ea713d78bf3@redhat.com> Date: Tue, 8 Jun 2021 09:17:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/06/21 06:39, Salvatore Bonaccorso wrote: > > Did this simply felt through the cracks here or is it not worth > backporting to older series? At least > https://bugzilla.redhat.com/show_bug.cgi?id=1947982#c3 seem to > indicate it might not be worth of if there is risk for regression if I > understand Wanpeng Li. Is this right? It's not particularly interesting, because the loop can be broken with just Ctrl-C (or any signal for that matter) and the guest was misbehaving anyway. You can read from that bugzilla link my opinion on this "vulnerability": if you run a VM for somebody and they want to waste your CPU time, they can just run a while(1) loop. It's a bug and it is caught by the kvm-unit-tests, so I marked it for stable at the time because it can be useful to run kvm-unit-tests on stable kernels and hanging is a bit impolite (the test harness has a timeout, but of course tests that hang have the risk missing other regressions). I will review gladly a backport, but if it is just because of that CVE report, documenting that the vulnerability is bogus would be time spent better that doing and testing the backport. Paolo