Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756300AbdGKR1z (ORCPT ); Tue, 11 Jul 2017 13:27:55 -0400 Received: from mail-eopbgr10124.outbound.protection.outlook.com ([40.107.1.124]:32864 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756279AbdGKR1w (ORCPT ); Tue, 11 Jul 2017 13:27:52 -0400 Authentication-Results: googlegroups.com; dkim=none (message not signed) header.d=none;googlegroups.com; dmarc=none action=none header.from=virtuozzo.com; Subject: Re: KASAN vs. boot-time switching between 4- and 5-level paging To: "Kirill A. Shutemov" Cc: Andy Lutomirski , Dmitry Vyukov , Alexander Potapenko , "Kirill A. Shutemov" , Linus Torvalds , Andrew Morton , "x86@kernel.org" , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Andi Kleen , Dave Hansen , linux-arch , "linux-mm@kvack.org" , LKML , kasan-dev References: <20170710141713.7aox3edx6o7lrrie@node.shutemov.name> <03A6D7ED-300C-4431-9EB5-67C7A3EA4A2E@amacapital.net> <20170710184704.realchrhzpblqqlk@node.shutemov.name> <20170710212403.7ycczkhhki3vrgac@node.shutemov.name> <20170711103548.mkv5w7dd5gpdenne@node.shutemov.name> <20170711170332.wlaudicepkg35dmm@node.shutemov.name> From: Andrey Ryabinin Message-ID: Date: Tue, 11 Jul 2017 20:29:59 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <20170711170332.wlaudicepkg35dmm@node.shutemov.name> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [195.214.232.6] X-ClientProxiedBy: DB6PR1001CA0014.EURPRD10.PROD.OUTLOOK.COM (10.171.79.24) To DB5PR0801MB2728.eurprd08.prod.outlook.com (10.166.176.24) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4555bc62-0675-4d46-3067-08d4c8822241 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:DB5PR0801MB2728; X-Microsoft-Exchange-Diagnostics: 1;DB5PR0801MB2728;3:tyX18tqumgHHYTm2/Zm70BZhIHBNAgkshbrQN+i3GfKkViX6lwdfdTjoI2BC09ZtaUwSHcMyIjbZWvpiI1pn1Y6FqKeESHDznOPPsI5RMEmU+ozKbJUSzB33HZ76B4x+KBVa7j5Spm5Y+vLIGxBFUt/Jlq+p2JFRl+bss/NLo9D2VV4IojeLDs/GRxHcgNXSMR/Du9rzG4f5rexATKkSiGNisC8Q++4uh3IDDP00LwgHMquu0iSQUeB5NL4xccl3WjJeq9zSszwE/CKCkdhG9BYCFjs58Gs3uqZvOV/kPp4RE32NgtfNOPGBAVwfE2C5pK9+KluT5VBZIMvV6Ykdo9C5vF3VBCljV/RLYQme3EyqsGRclOhqSuQnPbGVO06o9YgWlqnNnOWngMse5DOHQYVemXId8EX5ufhn+MQ6XJX7YY8C5wUzdBVksok8dvo9PmLdclW4olx5ONjYkaS7aHDmCg0jDkPx8/qCXGmiDiU1CsD+TRwVmrA1GVaUDi4AHpoPWhpxMN4SX2rEmRo0Dj/YnS4m70Qdbq+EaV9EEGkOJ/WCVdi/YxFYc/mtcCZ+gYftaJFkfoXMTh8DUDctQZ0PGaxW7zDCsZVAsK1RyQT0UbWthQLn1UK1vjBOiTCzglDZ69fMl4LQ3ZneygaXh+5JEdgYG5nA9yjpGtkSyvoDeCuh6HqSdAa6DNUrBt9Xit3LidTLdUDZXKV7aS3ef4Rk/6S9lOTAAHF2A0+zlC8= X-MS-TrafficTypeDiagnostic: DB5PR0801MB2728: X-Microsoft-Exchange-Diagnostics: 1;DB5PR0801MB2728;25:ck/OUXrOvO8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1o7PdmhBarJoThWTTWDAUPu8vYiMV9Lc9Fk5ns= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(48057245064654); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(2017060910075)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(100000703101)(100105400095)(6041248)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123564025)(20161123558100)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:DB5PR0801MB2728;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:DB5PR0801MB2728; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtEQjVQUjA4MDFNQjI3Mjg7NDovcTE2N1QzMDFtcmVhenhOdnlkZmtnTE1S?= =?utf-8?B?T1ZEVmhFUFoxcVczcGhLSlJvelBSMVhNTVcrL1NhOUdrTXQvWmVCNFdpQ3Zr?= =?utf-8?B?ZXFUN1FPSG5GQXVHbUVxbXROKzhKWmovQVBnWXNtYmhUa21hVzRDcjdoYmVu?= =?utf-8?B?d1RHVnNTVnRZa0VoZG5EQnRkVlZaaEpzTlJOa2wyYmdsM2xjam85VDZDbFg3?= =?utf-8?B?ODZ4ZldUWEkwRCtpRXMxSC9sa01yaEJTZ3lGT2Z2ZHNpN1BoOVhHbmhlWVdL?= =?utf-8?B?NHJZYU11V1BvcUZsSWQ2Qkx6c09IRGVnYzJCVkNoUXpJV1NIRUdNUHR0SG95?= =?utf-8?B?ZDFWbmRiMkk3MVkwSHAxajZlK1QwaU95UWhhVG9Qd01kbU5GenV6aDhxbXlC?= =?utf-8?B?eENyZHhwTUwvTUx2THR3TG1VRkpBbk1WeUQxcWRxdUhjWVhaS1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FdCdWJRcUVSMG1POUgvSFFiK1NIdzJqNW1VSlBh?= =?utf-8?B?cEhwam1US09hdzdJOXZ1NEFManI5WFR4VG5DRitqK1RXdTRRekFuMjF4dTZC?= =?utf-8?B?RDJJN3pJZ3BrdXAyWGs0dng3Z2l1Y0dtbDUwZ2dSUnpudlAzQ09ZRWczeEYw?= =?utf-8?B?WVpCMkd0cUhIbGRjYWcrSVdVaHJJcWVSWW5qb3ZOSWRlbWJvaFRVWUpQSzBE?= =?utf-8?B?OWRGbUJOUU9LUk9mQTltR3FnbzgvOTIyaStaZUlwZ0ZTd3R5SkxyeXlqQjJi?= =?utf-8?B?dGh2d2F2Ukg4RG96dktwM2xZdWM1dXlNeGhSRDhhUS9NL3hJTE5Ua1UyU3hY?= =?utf-8?Q?mVFAFzX93pIZ08hd8n3mqfWpxie0zM/wKqQjISDv?= X-Forefront-PRVS: 0365C0E14B X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(7370300001)(4630300001)(6049001)(6009001)(39450400003)(39400400002)(39830400002)(39410400002)(24454002)(377454003)(7736002)(53936002)(4326008)(31686004)(53546010)(31696002)(42186005)(189998001)(4001350100001)(36756003)(575784001)(7416002)(33646002)(25786009)(86362001)(23676002)(6116002)(110136004)(8676002)(47776003)(3846002)(6666003)(66066001)(81166006)(38730400002)(6246003)(6916009)(93886004)(50466002)(5660300001)(50986999)(2950100002)(76176999)(83506001)(6486002)(7350300001)(305945005)(77096006)(90366009)(54356999)(2906002)(229853002)(65826007)(54906002)(2870700001)(478600001);DIR:OUT;SFP:1102;SCL:1;SRVR:DB5PR0801MB2728;H:[172.16.25.12];FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtEQjVQUjA4MDFNQjI3Mjg7MjM6OCtNUDlFSm9KN3RYRWZTWjd5Wk13NVR3?= =?utf-8?B?M1VDdTU4b1l5eDdVOWc0djlyT2kwdEsyQmw3V1dNWXNFMEwvVVAxcXhzc2lk?= =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6DvFemfcCtYob8+v2tE53oR00IUYAVkLaoaxWQYbayYEfXDBYz0ZCvDr7sfXlsPZ1S2;24:dT+pB2beWM0+LDI9uwhbiOfqx91Dqd9Sskttzt1J7//orGlZpyk3FkmCi67ZC20675+zMrMaCewY/CYdopyhILRjuWOMq7vkJs1w7g4/dgw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;DB5PR0801MB2728;7:1CRa/yTmP/xmOGRKzoNRtnx6znqvouA7Qji+i0If2aDicVNvocya64Gc+siPuIYLLm6+XvR51y7Ar/Rk6qtfZqxP+ulutSuJjYAQKwhiw+TDGP7zftM/PpDeSTgfW2FqReVc3zUAdCOlyI+Ubg2PEjv1dsEvPd3HlamfgIgYg0dH6lj6+QbDA4dwL87v8QXBUMo8iEmuLygSE9oxsaSklFF1tCvjN//KtBlPyTDLcU/IHS3/0fDOhWsfFx23fJO/TI9YH42Zej7MQT/UFABCZmuQFxBeCzgOj+bWlBKzbcAgP8dmf5e/+JrnnJ7dn6SQqRS0Tp4RvYev0xUNgfqsAm4sKWct+CKzs+MQ+soT5hkHNFm44bJM/5fZhZI2rS78t2hzL2zjXwUhBTO7/mgo7iboxLnyWXMB0VJCi5Gw6qSTogq7ZDloI5PUZZi9ig8lAm55MtvkYKIOwpKrgAjv39VLQimzA0kGvPRj3U94eQgQus8EM9alPXGm0kc32SBQZ/87QEOHUP4BH6HIi6XYdxsrQGJFH9P1SLwh6GeTjsvJrtG/7qt6PKbwTVOOPXqR/XQlMromRbg7+xIVv1HQNCXdlAK8g4VOcyyZFmvNYHK27BuMambaJ5B+28B8RUq2s81e0tph0tOeuHSVGLqlCUf1ILFlexaedvS3OsnPMt4WUBuyj4Aaf8oFuG8wSZrvCxV2mN2+BldMiXSZl10tbh4pzaw73D5p64rXoJg916pGYUGDQPpqaEsPE5/2C+B4lyO+mUxds5QfhFlleWzQ7+CajG47TTZLMAaitrGok2A= X-Microsoft-Exchange-Diagnostics: 1;DB5PR0801MB2728;20:S7ElAw6kzyA/pgUMLmt2OaXWMy1xTa4VTlaE81bavrVtanI5IXvn0wcn8tAbZdMjFRPeacV6svYSJzIbNx9mzHbL3J7+D0NrkzO3W96xmrl4ZNji/KkAWhqAcOwnYsxVhdlnydrdiRWCa9a8jVe7dXuaJ4nFP2ZUjen4ElxRCGk= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2017 17:27:40.0052 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR0801MB2728 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1052 Lines: 26 On 07/11/2017 08:03 PM, Kirill A. Shutemov wrote: > On Tue, Jul 11, 2017 at 07:45:48PM +0300, Andrey Ryabinin wrote: >> On 07/11/2017 06:15 PM, Andrey Ryabinin wrote: >>> >>> I reproduced this, and this is kasan bug: >>> >>> │0xffffffff84864897 mov $0xffffffff83f1d0b8,%rdi >>> │0xffffffff8486489e movabs $0xdffffc0000000000,%rax >>> │0xffffffff848648a8 push %rbp >>> │0xffffffff848648a9 mov %rdi,%rdx >>> │0xffffffff848648ac shr $0x3,%rdx >>> │0xffffffff848648b0 mov %rsp,%rbp >>> >│0xffffffff848648b3 mov (%rdx,%rax,1),%al >>> >>> we crash on the last move which is a read from shadow >> >> >> Ughh, I forgot about phys_base. > > Thanks! Works for me. > > Can use your Signed-off-by for a [cleaned up version of your] patch? Sure.