Message ID | 20230308190423.46491-1-joey.gouly@arm.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B34CC64EC4 for <linux-mm@archiver.kernel.org>; Wed, 8 Mar 2023 19:05:19 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 00FAF6B0075; Wed, 8 Mar 2023 14:05:19 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id F017F6B0078; Wed, 8 Mar 2023 14:05:18 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D2D9E6B007B; Wed, 8 Mar 2023 14:05:18 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id C11226B0075 for <linux-mm@kvack.org>; Wed, 8 Mar 2023 14:05:18 -0500 (EST) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 9D4361401DA for <linux-mm@kvack.org>; Wed, 8 Mar 2023 19:05:18 +0000 (UTC) X-FDA: 80546659116.02.932FBFD Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2044.outbound.protection.outlook.com [40.107.20.44]) by imf25.hostedemail.com (Postfix) with ESMTP id DA487A000C for <linux-mm@kvack.org>; Wed, 8 Mar 2023 19:05:14 +0000 (UTC) Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=6QMFUS5N; dkim=pass header.d=armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=6QMFUS5N; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf25.hostedemail.com: domain of Joey.Gouly@arm.com designates 40.107.20.44 as permitted sender) smtp.mailfrom=Joey.Gouly@arm.com; dmarc=pass (policy=none) header.from=arm.com ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1678302314; h=from:from:sender: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:in-reply-to: references:dkim-signature; bh=HNqLeZMT3Z2w+kWtuGVx/lFgfX2pKziN94u6H3ZpUCY=; b=BTmSGY3pLqxCcgvwp9DfFwVFJeERU5KnyytV5pKM3Qic2040kQqnVUe7dz50w8jub8yoLg osE/KqL5wYQ/Lz+jbW7yv7dOZNLRv0uP0rI2rAxJrm7igPyOZmd9dmsKYJH7kBsPTpT0FE n3pKQdg6GaCxaR/b4CdKp+Qfbzz4Cn0= ARC-Authentication-Results: i=2; imf25.hostedemail.com; dkim=pass header.d=armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=6QMFUS5N; dkim=pass header.d=armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=6QMFUS5N; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf25.hostedemail.com: domain of Joey.Gouly@arm.com designates 40.107.20.44 as permitted sender) smtp.mailfrom=Joey.Gouly@arm.com; dmarc=pass (policy=none) header.from=arm.com ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1678302315; a=rsa-sha256; cv=pass; b=7MnaRv3+45PTEokf2hqNDp3Q5eeJYWEGE0L1Bzt5ZPZ0vI0RdGm6UgSXF5y4HTPADR8LXe tC++D9xRKU0VnFGwz4spEm2KrSva8qaW5iJLXpGNS47BAPiklAL9zqJs/ejU89cYtzzNjJ HO/gsyV7iyZ+zfG5qprn6WVfaW6Ybm4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HNqLeZMT3Z2w+kWtuGVx/lFgfX2pKziN94u6H3ZpUCY=; b=6QMFUS5NSz7/PpUhogh6VkjiCjcwx3abibRX231yqO85WYg9HukaSJuEzzqRFiC8pNq0Q+9lBiSED+KKvW3Q90hufgowlpmm3F2sYY5e/9QOpjUKutSUWHTQv+GSlln3R8NUbfrOnCcp4B1Kw/f3QBBr8olQiTL2lnQgZfKT5WQ= Received: from AM0PR02CA0129.eurprd02.prod.outlook.com (2603:10a6:20b:28c::26) by PA4PR08MB6205.eurprd08.prod.outlook.com (2603:10a6:102:e6::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.17; Wed, 8 Mar 2023 19:05:09 +0000 Received: from VI1EUR03FT023.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:28c:cafe::22) by AM0PR02CA0129.outlook.office365.com (2603:10a6:20b:28c::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.17 via Frontend Transport; Wed, 8 Mar 2023 19:05:09 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VI1EUR03FT023.mail.protection.outlook.com (100.127.144.226) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.17 via Frontend Transport; Wed, 8 Mar 2023 19:05:09 +0000 Received: ("Tessian outbound cfb430c87a1e:v135"); Wed, 08 Mar 2023 19:05:08 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 6dfe31cc1d6bfa6c X-CR-MTA-TID: 64aa7808 Received: from 4a672118985a.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id EDB280C2-4FF3-4E7E-8778-874B66085F16.1; Wed, 08 Mar 2023 19:04:29 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 4a672118985a.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 08 Mar 2023 19:04:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KLqh70LNHrEjDwjQuEI2/WUTrQtGXbLa6bxUQxmmxJrcRRwZf+nnswvIp3HCLD45CwSIJGU3UELtj/yMgShlJxKU4pGoP8UwA57za5lAKqybpH3MkOUOdbqgVz2UX/ymsLCj1SUxhWiwJEfw2GxpqoJiAsCXCm9DiTBAl11ZsQJ+kK1NMb+aq0JT5uP8Ei45m3V86L7DeD5AVEYXmPzGa8jC4eB995ByUpZOGBMLVxEP/0fZxRG0koUs5xxwKTqJO+wwlm+sslEnjxUrIVF5t3f22SMn64wpCwdHNTyO3quEIz+549WOeRQ260qcD5hvnMqoTnf6MnP8tesy8BMDjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=HNqLeZMT3Z2w+kWtuGVx/lFgfX2pKziN94u6H3ZpUCY=; b=H62605En/GAACwdx82Xlx+skIsssDyhgjUZA8doNuC9ltKCSE2wB+Dzv8bErIpiuruGel7M5j4jbevjlorJ4kBhx1ShW+2mowjP23REzCGFJu+4ImnbQ/OPGYg4EWXr2y14+jLuX8NF2m4ct9l7I0/glQsGIeeNn2SxEr/VWdr784GacwaeMW7jrCYFySA1X3rZ4ZGDJBp6syixY0vMQSMYmNyktVHe74P/Opbc8CHOkWBPi4Bq2ahfH2Epyp5VfALMcksCgn+obKfhyZbkZYXfIf/FKHTCwg4NW631riiaAzOLvsyD12s7cIHun5PdAkSRzen4ltXc0C5n3uyT9ZQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=linux-foundation.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HNqLeZMT3Z2w+kWtuGVx/lFgfX2pKziN94u6H3ZpUCY=; b=6QMFUS5NSz7/PpUhogh6VkjiCjcwx3abibRX231yqO85WYg9HukaSJuEzzqRFiC8pNq0Q+9lBiSED+KKvW3Q90hufgowlpmm3F2sYY5e/9QOpjUKutSUWHTQv+GSlln3R8NUbfrOnCcp4B1Kw/f3QBBr8olQiTL2lnQgZfKT5WQ= Received: from FR3P281CA0050.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:4a::19) by AS8PR08MB7992.eurprd08.prod.outlook.com (2603:10a6:20b:571::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.28; Wed, 8 Mar 2023 19:04:27 +0000 Received: from VI1EUR03FT019.eop-EUR03.prod.protection.outlook.com (2603:10a6:d10:4a:cafe::70) by FR3P281CA0050.outlook.office365.com (2603:10a6:d10:4a::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.17 via Frontend Transport; Wed, 8 Mar 2023 19:04:27 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (40.67.248.234) by VI1EUR03FT019.mail.protection.outlook.com (100.127.144.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6178.17 via Frontend Transport; Wed, 8 Mar 2023 19:04:27 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Wed, 8 Mar 2023 19:04:25 +0000 Received: from e124191.cambridge.arm.com (10.1.197.45) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2507.17 via Frontend Transport; Wed, 8 Mar 2023 19:04:25 +0000 From: Joey Gouly <joey.gouly@arm.com> To: Andrew Morton <akpm@linux-foundation.org> CC: <nd@arm.com>, <acme@redhat.com>, <catalin.marinas@arm.com>, <izbyshev@ispras.ru>, <joey.gouly@arm.com>, <peterx@redhat.com>, <linux-mm@kvack.org>, <linux-kernel@vger.kernel.org>, Shuah Khan <shuah@kernel.org>, Kees Cook <keescook@chromium.org> Subject: [PATCH v1 0/4] Fixes for MDWE prctl Date: Wed, 8 Mar 2023 19:04:19 +0000 Message-ID: <20230308190423.46491-1-joey.gouly@arm.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: VI1EUR03FT019:EE_|AS8PR08MB7992:EE_|VI1EUR03FT023:EE_|PA4PR08MB6205:EE_ X-MS-Office365-Filtering-Correlation-Id: 20734768-9478-414f-301d-08db20080957 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: Hu1q+ostTYvm1/bb0lG1weZEiMS+othhf2G46uwvpsn0YfyvYVmBwp/UEGrpomDl14p92F/JhKLX1iitwBu7IQwN4Po+WfzostwKqFt+yyT4nr0d8DWfFdL2BeHRK5qbQSDSr+W0X2EuhI8hfjTI3hn9CZEZ4P9T7S6A+TZp1agCBr1PpWcoa9FlJWUgkCiEihdxVyMrvbUKhM4OsUxVc/96gSDhR9cATjK689q6PDQ7h14jJY8tza9NkmvuKnDmCSzZW8jbmnsGvPNlT/ah48U6mNpJ1qYSwWxpDkAG5n8zZgOaVUcNENNY3rWxBuVzlGCewkhmSrqXa2mCGNcdVjWLwdkm4AvdGCiN68AhOYoCPoZO+I0SW5J2DjEocQdt7Li4HhR4mM/yiGMMHC7yKlde29SNPqqT+VzQjnKKQSm0lNbbKd9VVXVykhkwu1Kzc5QGt1g+hnWNVrbKNR8+fR07yx9FeymBg9eZv45JdtMxep5SVOnoGpLwZe0HqWjQxpjEchLhUS2wUFmO0Uw5AHeWUr579kphSpE3fuRSo5sVisdVwL7jA8bJw9GuMaxspK1VydVLl9zVLbwM2pNH7FAy3H+uL23IMfdaFIsAtea/Xd0s4lPYPl6Rqy/Qs4AiT5qvoPFsizKCIPzehViJXBG4GBXZXI04HS2QDP3kDpKf84OTqyCCqIIP7PA57lFgrSgFK2j/0yk0XmZOYUys/cQfGQASpjDlpaMHszAkHhkhxr5egLqeS31MaHNxOByf X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230025)(4636009)(346002)(136003)(376002)(396003)(39860400002)(451199018)(40470700004)(36840700001)(46966006)(26005)(8936002)(5660300002)(41300700001)(4326008)(8676002)(70206006)(6916009)(4744005)(2906002)(44832011)(70586007)(2616005)(316002)(1076003)(83380400001)(54906003)(6666004)(478600001)(966005)(186003)(40460700003)(336012)(40480700001)(82310400005)(82740400003)(81166007)(426003)(86362001)(7696005)(36756003)(356005)(47076005)(36860700001)(17423001)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB7992 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VI1EUR03FT023.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 84243a92-67de-4213-0a0f-08db2007f062 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VG9q522sWHkvYUGCEJBRKZ123DIAG4RHJg+qUvDyNcmILUQeadE/DaSXEzMYOml0QRYoYlHysi8ZANrc4KyIpMUXWF2i1YfFFZVEeKHDEGwD9DgXv0zbQeau3rKLTfjvePbRueCiMtXMfIolKnkMii+UwTj8+wuOV8BOlxMtUY13/tLnoHVSPEbqepzACI7XRsxAo+N0dDbv91U76129Wv5NfRstEu0S8k/hAe32nBw8+KOoMWoujNchlDwU9x0pslZ79zs6uCZagH+2VPR7Z2rFtl22sMJRGrNzAVUeWSeR833F63OyArgOkafZlo5YZZAyxTlIODKIYCOvJhYfqsJM/FTLia6+A7S9uc0yILjDlty7InjvQw36I1qQXQBHBdMGhnDNEkGhZ0k5oh7kIDKenR3HT8dd/UdCece5vfjIhDPn7FYfCPvs/cmFOHoAuyprzOMlAut8q/WPljQowpHGETWezQr590ENJOTZ5EijY+RyI6PcFk1j//Obf8XCnaDeHPfdVd9X3O1pcC2q6fGQGjVnrMhCHOCXBrSctgUIkfceWN9tHW5CV90oUsenkTw/N25cKYUqEkQ1YYNMxzq0Mgl8KkExvaYWZwYo2oxtA3LmL9BPA97QxnpoF97kP7ydYSX7TIVNluNTUEYTk3SytecA4yh37P/Y33Q+gdouES06yVQTgiAcZEhf0GagJQaIWDgPCzl3mIo7UJ7EmQ== X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(13230025)(4636009)(346002)(396003)(376002)(136003)(39860400002)(451199018)(36840700001)(46966006)(40470700004)(5660300002)(4744005)(6666004)(107886003)(336012)(40460700003)(41300700001)(8936002)(86362001)(6862004)(36860700001)(966005)(316002)(47076005)(81166007)(54906003)(426003)(82740400003)(478600001)(83380400001)(36756003)(44832011)(2616005)(1076003)(26005)(70586007)(70206006)(2906002)(186003)(7696005)(40480700001)(82310400005)(4326008)(8676002)(17423001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2023 19:05:09.0499 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 20734768-9478-414f-301d-08db20080957 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: VI1EUR03FT023.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR08MB6205 X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: DA487A000C X-Stat-Signature: ihe8zpd55txwe7ozdxbq4osuj7oaqf31 X-Rspam-User: X-HE-Tag: 1678302314-901692 X-HE-Meta: U2FsdGVkX1/g/11mrt7paLjWitwsBSc5fQLonkcm2DegdkvbmlvqHXE88nNcmaywSN1kKpHb1MC7cvoEaY5Xgs6BmKQZkt0bEYGGU+pwdlZA3AffTUcOBeBRIWM/mC1+XmwZ1L8PdgbsHYQRKA+nVrCoQZrj0OGzoAPIW2hKE2rDqV8PJebFMdwmGsprIS7w9nJmkILJ8ZnsUYBbd7b9nQQjeybbDy+9+KvJVRlu3BvhB+F6O8WyGT2TV5jlajLApa9ObE1P0yQVUBz2Hj5WOouYsokxttK7l6jDZwR1bPtpRcv5PCsAElWUXyVs0G8uvwjRHVCgZvJTV8NOHX+u1vbmejs25udqf0ABmtW1GOgE2O/H94bXtQVYMQAR/PTQp+3A10uScdKSqwh9PEGr4RgviSx6asUFOE77MlfSglbzKs/D/axXkST53C4gZ/bgaTLwqvWs4jAr7bqfRK/ewKjzk2BUNcibpqBuuwEmr4FtFTIvo+6d5h7njgW2aX2UO2VgC79hyuSX8OeeRUWavmSi0csl61Hfu6rLAEX5rdsTIvknBp91/yf1GNpU6spyXbPkMy68wr9Wu92A0Qmy1CzY80NSe+WF0gnxH18TfgFnVIgUFySrYjtuyCStgo4wh4sdwa4pUaw+okG3cdq/wwdAB6g7lSw924Jr8m2iOHb2LINqO/fR3tjPlzjrHBu8f9lqOA8TQGabdVuSnHxRF8G8O0f0eGeEirN41ytFTWmQQhPTuHleanExTLPqLBO4fTrYs416jIpaAVVu14ja6B1WunAWgYJ7rWV22y04evQM+QOVFvyBmsVAn39KdrQBPsHLL4NMw6GCWjsYR8GPym3YdiMgWVHxG41c2oOSuGBufWC9dsOkIHwTkw5Yu5SngTjHWDi4xA0gqp578FmzHa8D0NX2U6S66kns0ZEuMnXMn8J2tsMCVaQsxYy3L6D1BVfEWZIsZddL9K8wH/i obX27tcI UO9jbV/UOc1PnW78aEEBUDS5tmgRQUMxziqQ3rhwaX6lIyskQCLaUPqiJjgMk4YuK0j9PKqkT9BJLWMJgOu6J9+7w2xhs2VmVM54VjRWxq5Lpq37KABm4PaqUwDZUpDr3VJDTUCb+xaeOqlhXom51CAOAQWCwJSAfNegTKfEO4QxWqS1Xua16a/1eQeCLlgh1sbsvSu85b41RK50mOqv0J4Gy5pmyArCKRN4I+KQ/L66cLs0kqQ4B8U1dsqG1g/rHL6ARKwI/GvRnjXZjdY/yNxdM/qlfwJLDyJr3e0dHAZDTvycG23OXFMkSjFF2B6G3K93xzGR/3hvL/C3nGSy0DmM0+SV5QqFn2IrhcyBwIbEXM/rvlRMXYYBIdRim2Q1SKd9DaI5bDeq1zeOwio5R/Io/8mAR1NuGELe8iccxPcRbtDUGY9kd2oGh5J+XmZJoLi+lVOKrefLrrDBbpoVp4kNeCPGXl8mTbcLw2tzX/axDTvDv9f9VQBnI87pevtkl5buSr9+YV73eJe8pKBJOKF9vpDEbljVJr0YFUiNoxeA4o0WZ82kqKRDHGwVIl3hJEbTA X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
Fixes for MDWE prctl
|
expand
|
On Wed, Mar 08, 2023 at 07:04:20PM +0000, Joey Gouly wrote: > Commit cc8d1b097de7 ("mmap: clean up mmap_region() unrolling") deduplicated > the error handling, do the same for the return value of `map_deny_write_exec`. > > Fixes: b507808ebce2 ("mm: implement memory-deny-write-execute as a prctl") > Reported-by: Alexey Izbyshev <izbyshev@ispras.ru> > Link: https://lore.kernel.org/linux-arm-kernel/8408d8901e9d7ee6b78db4c6cba04b78@ispras.ru/ > Signed-off-by: Joey Gouly <joey.gouly@arm.com> > Cc: Catalin Marinas <catalin.marinas@arm.com> > Cc: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
On Wed, Mar 08, 2023 at 07:04:21PM +0000, Joey Gouly wrote: > Commit 4a18419f71cd ("mm/mprotect: use mmu_gather") changed 'goto out;' > to 'break' in the loop. > This wasn't noticed while rebasing the MDWE patches, so fix it now. > > Fixes: b507808ebce2 ("mm: implement memory-deny-write-execute as a prctl") > Reported-by: Alexey Izbyshev <izbyshev@ispras.ru> > Link: https://lore.kernel.org/linux-arm-kernel/8408d8901e9d7ee6b78db4c6cba04b78@ispras.ru/ > Signed-off-by: Joey Gouly <joey.gouly@arm.com> > Cc: Catalin Marinas <catalin.marinas@arm.com> > Cc: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>