From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:46587) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJJ54-0001xm-KF for qemu-devel@nongnu.org; Wed, 24 Apr 2019 10:41:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJJ53-0007ZD-E9 for qemu-devel@nongnu.org; Wed, 24 Apr 2019 10:41:02 -0400 Received: from indium.canonical.com ([91.189.90.7]:48490) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hJJ53-0007WQ-89 for qemu-devel@nongnu.org; Wed, 24 Apr 2019 10:41:01 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1hJJ51-0000PU-6O for ; Wed, 24 Apr 2019 14:40:59 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 2E4682E80CC for ; Wed, 24 Apr 2019 14:40:59 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 24 Apr 2019 14:27:49 -0000 From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <1825311@bugs.launchpad.net> Reply-To: Bug 1825311 <1825311@bugs.launchpad.net> Sender: bounces@canonical.com References: <155557460746.17507.17649109204793492383.malonedeb@soybean.canonical.com> Message-Id: <155611606929.16667.9991624747781417286.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1825311] Re: mips_cpu_handle_mmu_fault renders all accessed pages executable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Patch posted on the list: https://lists.gnu.org/archive/html/qemu-devel/2019-04/msg03711.html ** Changed in: qemu Status: Fix Committed =3D> In Progress -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1825311 Title: mips_cpu_handle_mmu_fault renders all accessed pages executable Status in QEMU: In Progress Bug description: On MIPS, data accesses to pages mapped in the TLB result in mips_cpu_handle_mmu_fault() marking the page unconditionally executable, even if the TLB entry has the XI bit set. Later on, when there is an attempt to execute this page, no exception is generated, even though TLBXI is expected. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1825311/+subscriptions From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D857DC10F11 for ; Wed, 24 Apr 2019 14:58:15 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AAB352084F for ; Wed, 24 Apr 2019 14:58:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AAB352084F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bugs.launchpad.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([127.0.0.1]:42914 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJJHe-0003Xb-0e for qemu-devel@archiver.kernel.org; Wed, 24 Apr 2019 10:54:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46587) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJJ54-0001xm-KF for qemu-devel@nongnu.org; Wed, 24 Apr 2019 10:41:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJJ53-0007ZD-E9 for qemu-devel@nongnu.org; Wed, 24 Apr 2019 10:41:02 -0400 Received: from indium.canonical.com ([91.189.90.7]:48490) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hJJ53-0007WQ-89 for qemu-devel@nongnu.org; Wed, 24 Apr 2019 10:41:01 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1hJJ51-0000PU-6O for ; Wed, 24 Apr 2019 14:40:59 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 2E4682E80CC for ; Wed, 24 Apr 2019 14:40:59 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 24 Apr 2019 14:27:49 -0000 From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <1825311@bugs.launchpad.net> To: qemu-devel@nongnu.org X-Launchpad-Notification-Type: bug X-Launchpad-Bug: product=qemu; status=In Progress; importance=Undecided; assignee=None; X-Launchpad-Bug-Tags: mips X-Launchpad-Bug-Information-Type: Public X-Launchpad-Bug-Private: no X-Launchpad-Bug-Security-Vulnerability: no X-Launchpad-Bug-Commenters: jakub philmd X-Launchpad-Bug-Reporter: Jakub Jermar (jakub) X-Launchpad-Bug-Modifier: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9_=28philmd?= =?utf-8?q?=29?= References: <155557460746.17507.17649109204793492383.malonedeb@soybean.canonical.com> Message-Id: <155611606929.16667.9991624747781417286.malone@soybean.canonical.com> X-Launchpad-Message-Rationale: Subscriber (QEMU) @qemu-devel-ml X-Launchpad-Message-For: qemu-devel-ml Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="18928"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 0b862e3a2c69962e701f0a3e505f8a08e253483a X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 91.189.90.7 Subject: [Qemu-devel] [Bug 1825311] Re: mips_cpu_handle_mmu_fault renders all accessed pages executable X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bug 1825311 <1825311@bugs.launchpad.net> Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Message-ID: <20190424142749.XvRv6IkfP0vyTwwteQ_QIbNaWo6-RgHkMGkaZT3fygI@z> Patch posted on the list: https://lists.gnu.org/archive/html/qemu-devel/2019-04/msg03711.html ** Changed in: qemu Status: Fix Committed =3D> In Progress -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1825311 Title: mips_cpu_handle_mmu_fault renders all accessed pages executable Status in QEMU: In Progress Bug description: On MIPS, data accesses to pages mapped in the TLB result in mips_cpu_handle_mmu_fault() marking the page unconditionally executable, even if the TLB entry has the XI bit set. Later on, when there is an attempt to execute this page, no exception is generated, even though TLBXI is expected. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1825311/+subscriptions