Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932094AbdGNQty (ORCPT ); Fri, 14 Jul 2017 12:49:54 -0400 Received: from mail-eopbgr30101.outbound.protection.outlook.com ([40.107.3.101]:45116 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753522AbdGNQtu (ORCPT ); Fri, 14 Jul 2017 12:49:50 -0400 Authentication-Results: google.com; dkim=none (message not signed) header.d=none;google.com; dmarc=none action=none header.from=virtuozzo.com; Subject: Re: [PATCH 1/4] kasan: support alloca() poisoning To: Greg Hackmann , Alexander Potapenko , Dmitry Vyukov , Masahiro Yamada , Michal Marek Cc: linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com, linux-mm@kvack.org, linux-kbuild@vger.kernel.org, Matthias Kaehlcke , Michael Davidson References: <20170706220114.142438-1-ghackmann@google.com> <20170706220114.142438-2-ghackmann@google.com> <66645c53-de05-8371-ead8-d4e939af60a7@virtuozzo.com> <39dd8c5c-e606-486a-bcef-b8481c5203a1@google.com> From: Andrey Ryabinin Message-ID: <0e51dc15-1c93-2326-444d-8257b61af54f@virtuozzo.com> Date: Fri, 14 Jul 2017 19:52:05 +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: <39dd8c5c-e606-486a-bcef-b8481c5203a1@google.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [195.214.232.6] X-ClientProxiedBy: DB6PR1001CA0046.EURPRD10.PROD.OUTLOOK.COM (10.168.69.160) To DB5PR0801MB2725.eurprd08.prod.outlook.com (10.166.176.21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4395381a-85a8-4497-1e5b-08d4cad85508 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:DB5PR0801MB2725; X-Microsoft-Exchange-Diagnostics: 1;DB5PR0801MB2725;3:LXHTakFdlpviRe6iBgaJ5ljUvRoUkUiwxU7aYuIOyj/6cOlMVa5SXwaFKkwlgMreMEE72IxLNSsOoXBMJ1IXOBBakiVjXgWZj+tzVh7SpKgGP/d7GbP6+i5Dop519MIVcyaoGQy91qb4tYfv7ge4ktdekeSkx8e0BlYjzjfk6FjMEGnWNPNo4xbyv5bT8+X2kwUjjQY0BpxY3ICtb/QXbVAL72VJsqdaUXpo69jrg1acqAjq5pcQ2pcs/qZSjOWVEKrX5H438qw8R/DM8Dq/zTOkVp6TYrxJbyWuzNWj/AAZewqUQh+F+FWi/B6WzGxfCeiCG/WUj8LuFZZUwISisWUG5to76lgpF6WKLRROXdtW39KnpOj8hA66AuhXNyUSyqTeVkhXsN4C0akr5ejKM2uOekc/nEYWdN59mgHSQkpSH6gt1DtsOHCMG0dcYd8S0/33furKzmMhvHvnmSu6ENKBYsDXW8MT3jXLJH8mD+JrP+RJHqeV4oFXTmIOVrKg789BRL/jmoAn1mHZA+sAj1O9fRydqJhuV1o2BAhwoOENlR61BVm4jid4mscg306PFHQ7O0TwD4oXGhVicyAWXznDhZLGQauXLBlBUn/ipNpx5/fcqmMNUmOrIhFLR//Rzdg4Ijjpcns3QJCZsu5OPMoZ0OJJUUqATlAtp+E2/BQlC+GfuhVC3D6cjT43chKJ4ockiVf3QXVfLLxitG65QqVn+2v7opfpG/rME4j0Rjs= X-MS-TrafficTypeDiagnostic: DB5PR0801MB2725: X-Microsoft-Exchange-Diagnostics: 1;DB5PR0801MB2725;25:kDYZzNQ5JgPkJ8ggS6vkGbLh+WLQ34De+iF4nbCpNY39zCfM/VgBvL+tYkKwTVwCg4wiiz5rw3vuPLxwZR8Y05i/jRDRHAmnZXBhcVjBbKijbqWQ/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AdcxBolYsehiYXcjKrwdJjzK2oo/kXitGJUEhS4llvQfYn6CA2usVApKJr4Z+Uit6fGabIswjTl0adCchPN4tUBDkuxgepE7t+Z6HCWlGJVk7+xTgU5Anzd+fEDxGFpI3rnc1Jew4PZHzAmFcsm8B9sqD3al9J3IjnkKhAo7bfSVL2GWA8+1Itc3grtdcrJ7eZFdgYjLY70k9naDe/GA8DfDTzmEkS8bz8ty2dC9kKA/Lz6XCN5nob2eAmH9oPYDhCpdMvPzaoCAUZvUMqCGdsyhH8lq59PQUVuJKZ+rDZWX+du+pPP+ZpmdkyOOYc4NQdPgzk0E7pPw0w3qwVznN5/WGQ+NP7IGDLhZQMGaWhlsIkOlmxJOnt/ZL/5uw+Y/jj22SSAyCLRL/SxG+XawVNjcHohBAIonJK60RRA6mBMWKv/6cKPPx2adg2Zj26WhnDeEaome2WFnkPsBp8UlIFtmPgejcnKV9mxaLzFJ9v+A/HX77+0mxSx8HlcpPx44B+x7Q== X-Microsoft-Exchange-Diagnostics: 1;DB5PR0801MB2725;20:zFid3kY4haQrTvqSLdsE4szTmvA75vlf73UA0Bykclf6GhYXhTK/26NEcTJg6hST7e3fmZdcDqDGGb1CW2o/YLaJCf1rhqLjo5rTDZhUC4x1UX5L9voWGmjqOZvSRx2yGI83irDx3lyEh/ankjSRk4IcGBRvK9h3WXc2XwgqMlGVYJ6nItJK7ec7LO6zUV11XD3cp6JWRMkcwQD0kM836KG0Ti7Z+iYNjxwCzAd67aqb974TUlWkS+hs8esdXUNJFK1vye42szazhCq4hyMvImlP3NCDAMzNG/kQRg9YMcdmscn214oD+R2wyLq+jPup1tVckY2mjJWuyz/1ruwbdM7FRhT2LcZZOP1bv5BEzr4dMF3tEJB2ULhYmGzl6yZvpKqbu2STVlhHEU8Ns3GRTl0KkLjbpym2rwubHbemOZI= X-Exchange-Antispam-Report-Test: UriScan:(133145235818549)(236129657087228); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(2017060910075)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(3002001)(6041248)(20161123564025)(20161123562025)(20161123560025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:DB5PR0801MB2725;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:DB5PR0801MB2725; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtEQjVQUjA4MDFNQjI3MjU7NDpabUloOEQ4cjJ3eURiTHZNTms2clplc3pZ?= =?utf-8?B?RGVJZmZ2TGtySFNMUFBwWUZ6TGJnUzVZelh1V20xL1hpQkhmOFhsdXhnKy96?= =?utf-8?B?YnprUFRqZjNjM0ljazlWanJJbEdIRHpMaGFJS3dYZjRiTXZYS0ZqZjBWQWFi?= =?utf-8?B?RHhFODQ4VWltZm5hOEdyWWRTSmZDRzgrbHV6M1JYMG9VY3BjU01DbnRPTEZO?= =?utf-8?B?VTlseW54L3B3aUVWemlDY3FpZjFMQjMvSW42NjQ5cDRRa0NlaUoxVWJHa095?= =?utf-8?B?RnBzRTBDeDNud2ErOThEK1M2WXhoVndvSTNmRlhVb0UwSVJvL2RrQ2FJYXE2?= =?utf-8?B?a05YUEIxVlY2ejZZMWx0a3NNaEptZXl5SzYrcnhaNzhyQWR1SDduZFJiSCtR?= =?utf-8?B?RDRSMWM0VWs0ZS9ibXk0Z2czOXlWWlQ3cktGMlV5dUVkZXNCRDdoNnBwWnpZ?= =?utf-8?B?TlZmQzRpZXVkY1VPSGk1UjRRaUJ3Q1UydEFDZzVEdHNTZ0tUUVZXaUFOSzNG?= =?utf-8?B?WnhQQ3BlTjJqNXhZcXVnN3dvSEtWOVZpSzU5V2RpRStaMl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lRnVoZHZaRlNZeDBNUkhKMXYrUjU0WkhQd2RL?= =?utf-8?B?TUhrZitYS0ZYbk5td2R2ajRpLzhOOFNrVFlzRU1VZ1YyellNSGVVNDhteU1C?= =?utf-8?B?SmFjU3ZDYm1CSGxIZUYwcFI3clVWNEtFanlqeThqTzlvTjhUV3NpTG5KaEw4?= =?utf-8?B?Z1pWUjhPbkFiNlJ0OGFpdDNzNnJWOU5SQ3dLSmh3TklBM1d5RzJUN3V1TENZ?= =?utf-8?Q?YR0jmJulqoH1Ljv/lGi4ByizeMhG4x6dAtiujLvQ?= X-Forefront-PRVS: 0368E78B5B X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(7370300001)(6009001)(6049001)(39840400002)(39450400003)(39410400002)(39400400002)(24454002)(377454003)(64126003)(8676002)(5660300001)(81166006)(76176999)(66066001)(2906002)(54356999)(50986999)(47776003)(305945005)(7736002)(65826007)(229853002)(33646002)(6486002)(4001350100001)(77096006)(36756003)(230700001)(53546010)(7416002)(7350300001)(31686004)(50466002)(42186005)(189998001)(25786009)(31696002)(4326008)(6246003)(38730400002)(86362001)(93886004)(6116002)(2950100002)(83506001)(53936002)(6666003)(3846002)(54906002)(478600001)(23676002);DIR:OUT;SFP:1102;SCL:1;SRVR:DB5PR0801MB2725;H:[172.16.25.12];FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtEQjVQUjA4MDFNQjI3MjU7MjM6eFVtSFhUTUtkNTJhT1d3RDJpVW1YN3k4?= =?utf-8?B?ODA4ZDJXM1Nnb0w4bWRBWHJISW0razJhU0ZubVZ3V3VxVmlTM3dFV0Z2dFcr?= =?utf-8?B?Y1BVY0pkTElBSHY2bDF4OVUxbGNvcklOaW45ZndxR29yT09rZ2tFYUFML0VB?= =?utf-8?B?Y3JxZDRGc2YxbWE0ZE9vejAwMHdSSmtCU3plUXN4ajBHN3M5blVGaTc3OEdF?= =?utf-8?B?bTBKZ0NGeW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0VlMU9xY292bWNBOW9yU1BQMWJ5amRWOTNn?= =?utf-8?B?Szl2cEZDK2MwZGlDNGd3RUVha3FpWGxnbkdLM2huUWNqQlpCZnNEOWVaRHQx?= =?utf-8?B?NkNJMmhPOGYyaWdXQmF0YjkrU0xyMmZ2RGQvVk9OcVhYdGthcE56Yms1bjJa?= =?utf-8?B?eEI1NnEyaUJVNVAzUnY5bG84QmZ4SUMrS2dWcFdnOUEzbUllNG53OHE3RzFN?= =?utf-8?Q?16fToQSOPCHXgaWYEJuNzGeb3NCXfV2tk=3D?= X-Microsoft-Exchange-Diagnostics: 1;DB5PR0801MB2725;5:7LoKNfRcGJuwm/Azqil5b8kQWmdZUXmRf3E28VTEeej4EXX+R4meUa+q8m/JvsHK1CnzitMtRW18lDvch5fn27M8zNyOJRGCLEyizYGZUAawILGVjQJlWQulzjed+IoZSbfhPK/koCE/hfgGWeFYEDMPUEI+xTKPMBw17+909chDuWjyVn0eagyfXklAzZpuxYjYoU+CkgAqN8LzwqrnQDqpMI5nOWDdZz+mSCYDEjkeD/DaS8taedjWVmGh1eaHPkUwLbiq3hq3AhymlS87ddfAig5DCxwcQhFqI3n8wJvlVNoNVqtiI5DKBbVdgLIs8DBEDHnX60lVtTNtzxso0pmF7gZU76LgFXAVUrLSdZ3mnlKgoZ+DKj/8Yjg3sjuqurG3N35MtwfyKb+z/MhafxkbGzqFQThAlHtRWl16UU6eVcPH2QcU5pA4eg4vu/x/eyC7AmeSXwWH6JS8RJwEPuvnuTACfbYSODNfKf6OYwPXxKeLdNOwT2JnUwiwaX00;24:R/z+HGQDpFHDB/k3EbIPqoqhhvfWNFGobJIGY8vfSnnldx83ArFMEWy4DZnUvCpRvsGKn14HLsouVXB9V+C+lEZP0XpecpEr+oUjrrh+0XE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;DB5PR0801MB2725;7:LL3kwX29L7RHtFc8VoF326gsFlwvUWNdB0tMhNxwIxw9qELTAsKOSUN/pQ/0MwMZmlJXs4sPCRj4TST6fV57WSHsLzmU8qoa3bRTEyFZdeeZZ2iQXt4HCOL9CShqJSw3BP5UivdfivFZOAGGLTw37TEHRyw+5SotXMbRRNwC/wisowtYI4mb29CqDoQzpRufXGaVV1oKq2la2PeJWZlwbQgVIq9FX8sXyHPjfu7P6Jq6XFuEmPAsIvrDO8tvFz7iClfVSed8o3FjcCqr1vzrjV5NKLpwRhqjtFJ/P8FzDb8vqJcMKM6Y3/zI4tRSWqcBEvBTtzEwAjKStekWmYHSjUWL9Nb/yprf3ESo2UgTuJcHJ9v9eIFmN05+zEpwT18WCjECc9q0LrW57ZrMK+3jAYuKHostyXhn5ar2i7NCl5/TBAxX9c9myr3ihHTs+/MhcUcNKHQHgoc7ndqkPaOmU4kxGEWlPMi+x/qK/o21Q8D8aTWwTC9SxIlgLdeEg1d+96Xda6S+HKSF1UQSPcQ7dCi/qreEF/1NV9HUocegzd02v+JT8JwTlHq8Phu4KuNMn0XhlI7Qyr6RJZwDG4qW4BbWDfrPLr1vC8dSAmO5XVaWgfTvdi//GSFFfdXdCcSyCTpzqNHmqeFZIAyn8A2Pg3vOnECpmviL4t4HfcUnZztFHjsH485qQ2884OWuxHpNOQ5kjN1WxMDq570g42eoOMYnlD/eE5Trxm4srxP6++jN9Tgf0q2aednEEnY6dCXSzP8iEXmPW/mRj0uTKhUEoYVywK91VIyiSuJSZXsNVVQ= X-Microsoft-Exchange-Diagnostics: 1;DB5PR0801MB2725;20:URNNWQfhXHPsDvuC50aB8m4OoX5+u/B58DhKF/+807fPCQOvQ0E3BHRSSEqfbSOEzPsa+A45bvoK/RSasmjHaWItLSUwF05XOaITjp+UdycEdrZCCtKVVSMI6Qbe89xn5t5rcFMTKwOOfic+3qWDRc9SQlzH6rlIqsEqGNCwMPM= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jul 2017 16:49:44.5767 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR0801MB2725 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 766 Lines: 18 On 07/14/2017 01:49 AM, Greg Hackmann wrote: > On 07/10/2017 03:30 AM, Andrey Ryabinin wrote: >> gcc now supports this too. So I think this patch should enable it. >> It's off by default so you'll have to add --param asan-instrument-allocas=1 into cflags >> to make it work > > Thanks, will fix. For now, it looks like I'll need to build gcc from git to test this? > Right, you'll need quite fresh revision >= 250032 >>> lib/test_kasan.c | 22 ++++++++++++++++++++++ >> >> Tests would be better as a separate patch. > > I was following the precedent in 828347f8f9a5 ("kasan: support use-after-scope detection") which added both at the same time. But I can split the test off into a separate patch if you feel really strongly about it. Please, do the split.