Received: by 10.223.185.116 with SMTP id b49csp174886wrg; Thu, 8 Mar 2018 15:08:46 -0800 (PST) X-Google-Smtp-Source: AG47ELvHT4r6CQ/jegoWebD3DUQJrUw2VKKOdVv7stt/8hhVQQa/5ZqOJBYF2KMz/xc3Mb3hpjzG X-Received: by 10.98.220.80 with SMTP id t77mr27806991pfg.55.1520550525994; Thu, 08 Mar 2018 15:08:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520550525; cv=none; d=google.com; s=arc-20160816; b=NUhHn+xIvxCmv5WLnLnrWt+aPKohdfA4FraRJcyunYoRM/pP0EAMqf8aG12k1Pfz0J YLEt8aieltxx02bsA2osDYHMZG1901exfzrQnz2FHXpRl36QB9ZGFofv2pSIQzd3x3F9 p/qeb1D7c2G+oKE5qUFMGtx5YMe2tlsL7gpaNpfQffpwsqT3gQJMBnrWZgu8CPYhoY5u eStBt1ichObRBvmZw99ZLSThJOMMD1wP5XwmZ5mf6DmvdXUA8Qnf6rhUQWcNjBfXOI5b 6UJMJ0QxQJM8koycMqUWAn3gLhawlLQxWHgDEOf8MYjIP+CnfjsXJbEvhk4tIAdhDO76 +WWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature:dkim-signature:arc-authentication-results; bh=ggThZ85XyjEgdzl5cxsQj/p0L4QjrNfvIQ5kK42gC+A=; b=KO39SQJNtlnjgEvlbk2pnnvLdWyPfZx0N0SK/sS24LSvrihuBGVf3AUaTnxTfyPDP1 az4pTtSMG+9XWpu7ubr1gAxsGyFKp9nRigoeMDcwLJPTVdbouiFIobpjGZaxCWIaCrYn 3/F5SScNmZZGWGf1FCbhd3EyegsR/aaj5pLBoArZhujjcikt9qbN9BJz7rYYMpgaxym9 30ACSPqTABNsr89YXvhSfuUwEh2Q9xP7wOdj4x9BJ/Z2VfcIRRSqbkvXlPqLGgG7w8GH +1csAi4EflTivxVYDejmPQlR/WdYeFoOPvSf7ZGCW02VbZiLWOiLa3hbcxQpJNnvp5fI mo7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=LNHdeXGV; dkim=fail header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=KMi8fffc; 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=NONE dis=NONE) header.from=fb.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x6si1706779pfx.81.2018.03.08.15.08.31; Thu, 08 Mar 2018 15:08:45 -0800 (PST) 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=@fb.com header.s=facebook header.b=LNHdeXGV; dkim=fail header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=KMi8fffc; 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=NONE dis=NONE) header.from=fb.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751145AbeCHXHh (ORCPT + 99 others); Thu, 8 Mar 2018 18:07:37 -0500 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:58072 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750824AbeCHXHe (ORCPT ); Thu, 8 Mar 2018 18:07:34 -0500 Received: from pps.filterd (m0089730.ppops.net [127.0.0.1]) by m0089730.ppops.net (8.16.0.22/8.16.0.22) with SMTP id w28N46Nw019470; Thu, 8 Mar 2018 15:07:11 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=subject : to : references : cc : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=facebook; bh=ggThZ85XyjEgdzl5cxsQj/p0L4QjrNfvIQ5kK42gC+A=; b=LNHdeXGVY+NeA4KXnhRyiz35mAVTrmx9exImL+j1Sm/6BLNaZMTFeii//uioOyp/FynC dmW/65tVbexFIBAsuz7HV8dml7CIFgtFyK4izHtjEaEHzv3uchg0XMcpzY2tJbmD3zA6 Zo2T/ucvgg7GpUI763kHlbTKNNnyvjuwrjA= Received: from mail.thefacebook.com ([199.201.64.23]) by m0089730.ppops.net with ESMTP id 2gkeb1g1es-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 08 Mar 2018 15:07:11 -0800 Received: from NAM01-SN1-obe.outbound.protection.outlook.com (192.168.54.28) by o365-in.thefacebook.com (192.168.16.15) with Microsoft SMTP Server (TLS) id 14.3.361.1; Thu, 8 Mar 2018 15:07:08 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector1-fb-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ggThZ85XyjEgdzl5cxsQj/p0L4QjrNfvIQ5kK42gC+A=; b=KMi8fffcz2QfYgB5+uQyabcgWWh0fvrvq2LGj3AbWkM9aKwtiEdW9SJRSo1vBwo5Iprt0djoZDPr2EYBYX5UINFIfOABQZJPUP/LukiPWo4OexoaxCfPJ92hnj3oWfdaVx3Y2htP5fIrnbfWdICQ89JdSzrbsWgR/KcGRQUuUI4= Received: from [IPv6:2620:10d:c081:1131::116e] (2620:10d:c090:180::1:b108) by SN6PR15MB2510.namprd15.prod.outlook.com (2603:10b6:805:25::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Thu, 8 Mar 2018 23:07:04 +0000 Subject: Re: [PATCH net-next] modules: allow modprobe load regular elf binaries To: "Luis R. Rodriguez" , Alexei Starovoitov References: <20180306013457.1955486-1-ast@kernel.org> <20180308012353.GO14069@wotan.suse.de> CC: , , , , , , , , Jessica Yu , Kees Cook , "Rafael J. Wysocki" , Mimi Zohar , Jiri Kosina From: Alexei Starovoitov Message-ID: Date: Thu, 8 Mar 2018 15:07:01 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20180308012353.GO14069@wotan.suse.de> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [2620:10d:c090:180::1:b108] X-ClientProxiedBy: MWHPR20CA0003.namprd20.prod.outlook.com (2603:10b6:300:13d::13) To SN6PR15MB2510.namprd15.prod.outlook.com (2603:10b6:805:25::23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 82c75465-6bcd-47f5-b046-08d585494ffe X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:SN6PR15MB2510; X-Microsoft-Exchange-Diagnostics: 1;SN6PR15MB2510;3:+eQMREbBPW0gDlnfosc0ZWiBY8FeBCJ4F6lmuM7YhSBwcWO7eez2w5HZtiOnI3Bo4CXy6YFa+D+vRPNzOgKDrsGkRW8a3aGNM2qxSvS5QkqkpsljhJRnKHfTo21v7kUok5IthCni7a/utmo99GtosPywrp87hTSCWzDByclnn7XC/Gwtj530HcO7SpsgSdkQa1fredMAybvx73TJ7eI0utZ1xCqnoR0tVfliegWf/EsekBcAD6/eWW/HdQWyVWuN;25:6irITEYxhojKCLFfNGv2ISDyIviOx5JgoFsP3YYyWm750ieKa+tsorFPKqvfdbj1h4jRWvO71MY9EiQCgHYU87c8+5cRmP/pHXtSqm3s2yNe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EP4ZDwp9ZPJlyCpVXOiTaarcn4QYGLNXw9nSbDqZYKghEzn3DeS5rxE9TJPBG4LORp/Qq1GxJn1uOAk0Cv8Rlpo8zEoGw5p0JtQ5F6Kedp7Lw9oxDxXu5/Fg+poyM2gypkIyPVJHA4DJVS3ZT/X+HvjKAudjDOf44RbxgSyB6Phe8U/f79t9ECNQcGXY/yHf/t3muwE2//KS4/IoAktefz4vJvvD3Dn2eYiN1b92PiXPfsPNYCUOPixSXP/L3EenA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040518)(2401047)(8121501046)(5005006)(3231220)(11241501184)(944501244)(52105095)(93006095)(93001095)(3002001)(10201501046)(6041306)(20161123560045)(20161123564045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:SN6PR15MB2510;BCL:0;PCL:0;RULEID:;SRVR:SN6PR15MB2510; X-Forefront-PRVS: 060503E79B X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(979002)(376002)(366004)(39860400002)(346002)(396003)(39380400002)(199004)(189003)(386003)(53546011)(31686004)(59450400001)(186003)(68736007)(4326008)(25786009)(105586002)(230700001)(106356001)(305945005)(6666003)(23746002)(2950100002)(81156014)(6486002)(81166006)(8936002)(7736002)(7416002)(16526019)(65826007)(50466002)(229853002)(64126003)(6246003)(53936002)(5660300001)(8676002)(36756003)(2906002)(97736004)(58126008)(110136005)(52116002)(76176011)(47776003)(31696002)(46003)(54906003)(316002)(478600001)(52396003)(6116002)(65806001)(67846002)(65956001)(86362001)(1706002)(42262002)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1102;SCL:1;SRVR:SN6PR15MB2510;H:[IPv6:2620:10d:c081:1131::116e];FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; Received-SPF: None (protection.outlook.com: fb.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;SN6PR15MB2510;23:gmKjP3H0+cr9EfQW4aaDTZoUWZH2vkrvJNBEQ?= =?Windows-1252?Q?6aUuhv16d+pRdfl3TclwP3gCT6mYJRoFj5pz78mVK9qR+lhfdkAzISCa?= =?Windows-1252?Q?BtHp4HcwdcIGV817l4D4pU17YsvWnRhd1fnPAK/RCbGhel0pd7d9x+6/?= =?Windows-1252?Q?tXNB7bUMsixOJiXn3HJGP3i+rxBuAigVl2gxUYzhX2UhXeGIS3vpIF24?= =?Windows-1252?Q?9FkzokMd+0j/TsK7reiFO+eSeIaypiwHbjdug4EKtsiigUbWtYZaHcog?= =?Windows-1252?Q?mNIGTxPg8vqSHWlBI9lXZ3Ea7UYkYczgqIazZ2WjTDGxmUgTJsLjhXfg?= =?Windows-1252?Q?GX+k/Pm4BTeVB1cVfsT7nmxNns57gLOVvPYZ3oTU7qp2uYtJV6idBL7l?= =?Windows-1252?Q?s0IXF368hYXHjaEgJ/W3TdEmdBkQyhJ9S6XrgL/XC7q1w7shSeF0G3H/?= =?Windows-1252?Q?h6gWVUcIDaieyhp+3M3kbfs597IaQ5s54GvfVlzj49q6n17NrOQLPSow?= =?Windows-1252?Q?ILHeYjxDHUztxcUD78baF23KkbB7B3DvQDt1bKDh+u2A2xdb34wlea2T?= =?Windows-1252?Q?5wi9G43Z/QXGtgkrpfz/2c0U0aT6arf/ByoukPzIQONDlrahW3oL2uFu?= =?Windows-1252?Q?tKC0YeLFnZPtTqHJUJ7Tyc89HuQIZK6jGKeqTBpQQfJh4iV7QnU7WaEx?= =?Windows-1252?Q?wnsmb1EFFOVTT/+DTDLP8YdExybFPIdngwcYfuDAL19WoSiIge6wMbPU?= =?Windows-1252?Q?dVUkiUW9J8AVECrYsMQXSErv+LuntoNyv61V9LrA9v05XXi/33/AT13e?= =?Windows-1252?Q?u90VVkWi1ROyflwU+xkzh0pfo19MO5eAahMdCuFJUijm9tlewQNFafU0?= =?Windows-1252?Q?GJqC1y/A0dYtvBeIFSb6uhEhWagKQhqYo7NwKEwv608EKUqrqlcXjc2y?= =?Windows-1252?Q?j2RL0SChpJBnFSvbcOj9A7HNKd3orW/5SEm7z2O6ccesXXJMkHTTFu5H?= =?Windows-1252?Q?wf4+WyvwKQIGTaMRSZdIrIV6T8Rqj9uhZx2n09OtqviTEJQbVic5G8gT?= =?Windows-1252?Q?etsNQVn6pWrCg/UPeQoyn4uShgxOttCGSLb5Yv1CXLXjx0zy115n2FPy?= =?Windows-1252?Q?9KnCY85rd8cWtphTUBt6h9DD5dg8L5pmnaL2FiZexd96IcIYZhwf0hsW?= =?Windows-1252?Q?S+iz1IKKg5AYT1SRcaAb7s6OKT51ZP2M5Spwwls+LGJuUKAdRkPxhzQA?= =?Windows-1252?Q?/jFFDswaVmmwrIyDNwP19CI3Wo7uTxXP8BCdirQp4P3B/RCp9gXO5JB+?= =?Windows-1252?Q?PbrJ1HqI09UVq/5KPCv2gp1eTWsYFt8cFSjMzmkyMe1V7jZjP0NyAJ7W?= =?Windows-1252?Q?XT0qvo16FliSXYLuMjfhocrimou64inTq88MZuy6Hx5F9frzYJwBpunD?= =?Windows-1252?Q?MEGUZXkmae6j76aM2XuC/nzEr4VE3JgIIvr+vye9rKF3/quPApxwqbFg?= =?Windows-1252?Q?JWs5glS+xQCKYASEtSsU4zeCftuNiU9V4Q1ZqCkaB2tnvrw+kiNPSxDu?= =?Windows-1252?Q?7MWA8XUg2gDuz8=3D?= X-Microsoft-Antispam-Message-Info: h85ZiZ3T/+rSrnES4dO635ZocXRjzfyesYC+oQPzoaz4sLz2qc7jjb+7qC5hrGn5RtDv5WbcShdAL68QwUq1v70vafc75SKWxUxEDj80dQ9GvxJpqGjWnSrPvgGNTdUFQyWypn2Sf39nh+6qbE0V3YQCdKUNQxPYE5Iru0j4LsuzEA089JMZV5MnWZBMejTJ X-Microsoft-Exchange-Diagnostics: 1;SN6PR15MB2510;6:H58X8ol74dneg+KAYX1MIz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WeRAWGkQteT10k8GsP08XNbDabetYOYQQDjoYdnqSt0bou6qQswq9ifoaiOKasiWpLnE= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2018 23:07:04.8209 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 82c75465-6bcd-47f5-b046-08d585494ffe X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR15MB2510 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-08_13:,, signatures=0 X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/7/18 5:23 PM, Luis R. Rodriguez wrote: > > request_module() has its own world though too. How often in your proof of > concept is request_module() called? How many times do you envision it being > called? once. >> +static int run_umh(struct file *file) >> +{ >> + struct subprocess_info *sub_info = call_usermodehelper_setup_file(file); >> + >> + if (!sub_info) >> + return -ENOMEM; >> + return call_usermodehelper_exec(sub_info, UMH_WAIT_EXEC); >> +} > > run_umh() calls the program and waits. Note that while we are running a UMH we > can't suspend. What if they take forever, who is hosing them down with an > equivalent: > > schedule(); > try_to_freeze(); > > Say they are buggy and never return, will they stall suspend, have you tried? > > call_usermodehelper_exec() uses helper_lock() which in turn is used for > umh's accounting for number of running umh's. One of the sad obscure uses > for this is to deal with suspend/resume. Refer to __usermodehelper* calls > on kernel/power/process.c > > Note how you use UMH_WAIT_EXEC too, so this is all synchronous. looks like you misread this code and the rest of your concerns with suspend/resume are not applicable any more. #define UMH_NO_WAIT 0 /* don't wait at all */ #define UMH_WAIT_EXEC 1 /* wait for the exec, but not the process */ #define UMH_WAIT_PROC 2 /* wait for the process to complete */ #define UMH_KILLABLE 4 /* wait for EXEC/PROC killable */ bpftiler.ko is started once and runs non-stop from there on. Unless it crashes, but it's a different discussion. >> + if (info->hdr->e_type == ET_EXEC) { >> +#ifdef CONFIG_MODULE_SIG >> + if (!info->sig_ok) { >> + pr_notice_once("umh %s verification failed: signature and/or required key missing - tainting kernel\n", >> + info->file->f_path.dentry->d_name.name); >> + add_taint(TAINT_UNSIGNED_MODULE, LOCKDEP_STILL_OK); >> + } >> +#endif > > So I guess this check is done *after* run_umh() then, what about the enforce mode, > don't we want to reject loading at all in any circumstance? already answered this twice in the thread.