Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp1011821imd; Thu, 1 Nov 2018 08:56:51 -0700 (PDT) X-Google-Smtp-Source: AJdET5cYt3XspTYDOYhnRooiFFUFCj+9j6mMEqA8H+IzjCNtWPfSbKOvdoLhz3KtIxC1GLbdzKY4 X-Received: by 2002:a63:c746:: with SMTP id v6-v6mr7770842pgg.108.1541087811431; Thu, 01 Nov 2018 08:56:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541087811; cv=none; d=google.com; s=arc-20160816; b=hjBRULjT+AYcLBk4w7tkNpMvzDkPu5UWob94vbJMmdgrIGN3WOb5UA6ZLHP4j4tJ1K qpXAMTEKVdpqud2RurcYZ7yfVAzzcFOuEFC1nVNWV2tpMxeXDfibjKj4YkBExphqnQKA Q2zLr2Mg64b+nYKV5C5cBeYia4KKoUphYVzt3l+3gKbLokGQ3Cyqlfeck8eV2GZBHq0n nrsn7MfpMfidwbJAfA+sAT8PySj5fONh9HREZ6xn/a2Yz4mYIpBsX49R5Axjbs5xdnv7 ZxJZ4KWSmxyqXWZyBaxKkLm4mc+IFlUDpmNCUVZCGFThM13oGu3qvkoB7p3CC9N5Me22 qjpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=8QV1rRGD5z9KHxGTbGjJ7FsI1kGriDbSQ1hXAvqLolI=; b=I5/F1Fap9TZtCsG4CmoVrZLwoJe1aJuDGyvgimHdGQBhI4JSWxBRopKpHKsLTZrJLx WsW+k5ZfVquv6EtlWw7gIhEl0H1woAoSgzii0yionP0RlW42jDzEH2G+PAeAF2ehDRRY hTZPIS4ubLX9rbXGbP1Q3yB85jrtV8M0EKa59781ck6zdMafTWo8kPK4E1wKeywEUZ8u RyXSdqJIoQGhRv6qkIuztP2rE1rDcGsTOqs5uLZMAXZKtaCwF+f/By+vL0anix6Iw5eI IihoHaRUG04iMyQJJL93bFubryjaI11DTJg1WBohMJXoE7NEke3WMJ3gOzh6PfbdCKjX x66Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lFD7w06d; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p3-v6si8467601pff.272.2018.11.01.08.56.36; Thu, 01 Nov 2018 08:56:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lFD7w06d; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729015AbeKBA7k (ORCPT + 99 others); Thu, 1 Nov 2018 20:59:40 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:37777 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727996AbeKBA7k (ORCPT ); Thu, 1 Nov 2018 20:59:40 -0400 Received: by mail-lj1-f193.google.com with SMTP id c4-v6so18498616lja.4; Thu, 01 Nov 2018 08:56:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=8QV1rRGD5z9KHxGTbGjJ7FsI1kGriDbSQ1hXAvqLolI=; b=lFD7w06dF72k6QzUKBaMNXWH/IQCQSCLheAKXRc06PoOItT9U/GU9bR2FWM+bgdqVX T56bAXcmTr1I5+EqvBxv7wzQ4CYrsf1obHudSuvdFQyNEc+q/UJeHmzHJh9q6GhDvBoK hCf6ZhHA3ZxlnkeBnMxhNMxCzT8gbldponakybtRMIAq8XrHLqtaw8WHSjoI8iO/T22D 8ffBqJ6mwyeXY32QzvnpfjV9aK1Awx1teI62HIrlJbv7zQJGJcogyYeSbdt3KYfVZFZA BlZcb/1db1ca+cm3t/Cb7256hYbGfsBQY3/qbExIfDLTe4zKGb5gF1ORNCkmKBjfVJCk Vqzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=8QV1rRGD5z9KHxGTbGjJ7FsI1kGriDbSQ1hXAvqLolI=; b=mto3xZ4i3ksFiZEyz0jKMm0dGDQacDoA2ImhEzIdvj/i8lo4KklFdLcWeJ3XyHWAqJ LEaHcj7Khd4CBWFu5tpNKs5zk0EZPiSD8KFdQRMoMthiCVsneErjT5qLQPlj4E5AUn8c XQMUShFwMgukIkYdWVljM8zD6EW3N27uwzaX5vrdcGa+2ERf8g7L/5XnwJapXmjxkOo9 ZJR/ivXu5MYBs8sosrCxHpFPKyrmCgM5SEITx5jyLvRUc5hkIrMBLhIJjN1X5W1v2/xx 0PaumGxnUELdKNO3eQGl/ZyLlGNlH3sNnu/tXdJeRFjWzx4WlIuygMooOLFGDY7KlhHf xa+A== X-Gm-Message-State: AGRZ1gJHh45i/+NHGEOI44MpKYr+UJueWwluIo/090Hf80LTl3t5eevw rKNJQvlU+SPrvc2xrbAoz8g= X-Received: by 2002:a2e:9715:: with SMTP id r21-v6mr3892456lji.30.1541087765665; Thu, 01 Nov 2018 08:56:05 -0700 (PDT) Received: from ?IPv6:2001:14bb:52:7be:f0bf:dd2d:f008:5213? (dmkd798g-7z2-yccwcp-4.rev.dnainternet.fi. [2001:14bb:52:7be:f0bf:dd2d:f008:5213]) by smtp.gmail.com with ESMTPSA id h63-v6sm1840103lji.88.2018.11.01.08.56.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Nov 2018 08:56:05 -0700 (PDT) Subject: Re: [PATCH V5 0/5] KVM: X86: Introducing ROE Protection Kernel Hardening To: Ahmed Soliman Cc: Paolo Bonzini , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , nathan Corbet , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , the arch/x86 maintainers , kvm@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?B?6rmA7J246rK4?= , Kernel Hardening , nigel.edwards@hpe.com, Boris Lukashev , Hossam Hassan <7ossam9063@gmail.com>, Ahmed Lotfy , Mohamed Azab References: <20181026151223.16810-1-ahmedsoliman0x666@gmail.com> <1b3eb10e-c492-dc77-cbe6-3a3e692326d7@gmail.com> From: Igor Stoppa Message-ID: <2e91fc33-9601-b562-0fc5-4dc8756face4@gmail.com> Date: Thu, 1 Nov 2018 17:56:02 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Ahmed, On 01/11/2018 01:21, Ahmed Soliman wrote: > Hello Igor, >> This is very interesting, because it seems a very good match to the work >> I'm doing, for supporting the creation of more targets for protection: >> >> https://www.openwall.com/lists/kernel-hardening/2018/10/23/3 >> >> In my case the protection would extend also to write-rate type of data. >> There is an open problem of identifying legitimate write-rare >> operations, however it should be possible to provide at least a certain >> degree of confidence. > > I have checked your patch set. In our work we were originally planning to do > something similar to write_rare just so we can differentiate between memory > chunks that may be modified and those that will be set once and never modify. > I see you are planning to do a white paper too, actually we are doing > an academic > paper based on our work. If you would like to collaborate, so that ROE > and write_rare > would integrate well from the beginning, we will be glad to do so. The offer is very kind, thanks a lot. I will contact you in private. -- igor