Received: by 10.223.185.116 with SMTP id b49csp3315056wrg; Mon, 5 Mar 2018 19:04:31 -0800 (PST) X-Google-Smtp-Source: AG47ELusrAWH4selyuer4hYTwRRYEDDbe5lCcev/Eiz+2A9bNtTA0Ap+nMa8HcSGSgLb0Tg+7eGe X-Received: by 10.98.205.140 with SMTP id o134mr17474458pfg.34.1520305471405; Mon, 05 Mar 2018 19:04:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520305471; cv=none; d=google.com; s=arc-20160816; b=MfhvY/lUgImgFfuKeo5hIibh1ugQq92YGXRopcpmjq1x0m5m4VsoZiZ2z9YDh3I/oY 9Zis98iUu5Phpkffld9tfQ9QVTTyxsU6IzhvSiSByWmbqoJNGffmFK1ZLUDd4o4Mj3e1 glS3+6UhfetE8qs7HdfDQ2t6MnODt9tOCIOjn92TV+bvN/LiTfGBlTyqG9Yp7qfJM7il j7c5xw+OgcTU3z7eeJgcNo4k2LdN1e1rHP+NwZ5qxJJcZjawtJIRKSGyXKhUooha4OPG 0tQkSTS/X6124HJBd3NWm4akTtvxu71OYQGibUOqEa6w9Wgyn+A5Syu7WZJF5iV3tKW2 6JWg== 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=0t09Fvz1DTO0l1POpHTpMCLEUd3mGX1KQ8ZYd0Sr+Ns=; b=B7o4ex2WZ6PkJ6OpXtRYOKe1DwBmU7gy0QLS22L66NGu5PGAa2m6t9dRWH+i1DRdCl oy4RXNqfkuJP0PDX/sa28AqSPr7EMLDX3fmc0DzfuRScmkqaNA4SyLmaGlM//0fTSXu8 7ki+JyjiljLiAAZ3fowSxyl+wT3Cxt1iPtFgXiylWevGylmlPS4IaC/UxqjuIYvytt4l SXfsHjpmOLRLkeDbYtLowLyFOpKxD1mxKmoXUsphAE9S7H/SCunPyX+LHTCd8wHjbtiT NpvIcIKFxquDiHLLovwXejy7a9FQKO1JMm3cKtHWt7EJ/f0SRvYH5pgp3qlbt5ttNtqu KOjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=nSYVlHPu; dkim=fail header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=H1iPkgui; 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 o2si11273360pfg.286.2018.03.05.19.04.15; Mon, 05 Mar 2018 19:04:31 -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=nSYVlHPu; dkim=fail header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=H1iPkgui; 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 S932314AbeCFDDN (ORCPT + 99 others); Mon, 5 Mar 2018 22:03:13 -0500 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:43578 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752719AbeCFDDL (ORCPT ); Mon, 5 Mar 2018 22:03:11 -0500 Received: from pps.filterd (m0044012.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w262tCl6008049; Mon, 5 Mar 2018 19:02:24 -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=0t09Fvz1DTO0l1POpHTpMCLEUd3mGX1KQ8ZYd0Sr+Ns=; b=nSYVlHPuG1vFVlqvb/j7bMCB5WMLp6WpnAFOk6BckwPfS2ZunHk3CqIYDTPwwG9x30Vz ZAk8PLjcNstkr1AkCmCwGdvVGdQrN63EhrrZ0UwyGxHXXtFXf6oume2/C/RNbVrmlhhl q20xJIlJge5KsHGeI/EfXnfZJwBoizT517U= Received: from mail.thefacebook.com ([199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2ghhwx03pp-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 05 Mar 2018 19:02:24 -0800 Received: from NAM03-CO1-obe.outbound.protection.outlook.com (192.168.54.28) by o365-in.thefacebook.com (192.168.16.17) with Microsoft SMTP Server (TLS) id 14.3.361.1; Mon, 5 Mar 2018 19:02:20 -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=0t09Fvz1DTO0l1POpHTpMCLEUd3mGX1KQ8ZYd0Sr+Ns=; b=H1iPkguiACZzNkOKkSLw4/FMSqRrgBFCM1pS99jw2GO9ARRqOHv9BgvjjD5cS1wrmQByVLftWTG0gcSnk+HFLrO+geJOG+kTLlNC4b2WIVHY6hgTfjy4ElBpFRnWY3Mzpky4ESFprlDvfsQE3pOCoB5ZNH3EJtwBf3sywdYImCo= Received: from [IPv6:2620:10d:c081:1132::1018] (2620:10d:c090:180::1:52a8) by BYAPR15MB2504.namprd15.prod.outlook.com (2603:10b6:a02:8e::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Tue, 6 Mar 2018 03:02:17 +0000 Subject: Re: [PATCH net-next] modules: allow modprobe load regular elf binaries To: Randy Dunlap , Alexei Starovoitov , References: <20180306013457.1955486-1-ast@kernel.org> <67abc3a2-80c9-7223-37c2-e15bbecdcd00@infradead.org> CC: , , , , , , , From: Alexei Starovoitov Message-ID: Date: Mon, 5 Mar 2018 19:02:12 -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: <67abc3a2-80c9-7223-37c2-e15bbecdcd00@infradead.org> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [2620:10d:c090:180::1:52a8] X-ClientProxiedBy: DM5PR1601CA0030.namprd16.prod.outlook.com (2603:10b6:4:5e::43) To BYAPR15MB2504.namprd15.prod.outlook.com (2603:10b6:a02:8e::12) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 74bd899c-0e81-4864-af82-08d5830eac62 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:BYAPR15MB2504; X-Microsoft-Exchange-Diagnostics: 1;BYAPR15MB2504;3:hjcR3e28yFOYh7Vx07z78w9Us+eQBF3h51Cvo/I1pYRTUA5wVIFmgsAIBi2pfLsf1Xm09DatRkZULcrgI848irlgqFEjFU9Z40FjepquNLXzUDpuefKqEv5apaKGecBbkvLCL1NgdLoFK1efO3/zWv6r71mQju7H56kZbuQb9Cm8T7ihud6B6qagfQjoh8B48SBiORavZzeaZ3lQ+GLCr00AqimfX055WC6e9VatfUTE4oTVAb9/RCUvWRLAniTf;25:d8xNuK9wT6C4JLYdkPSx/bjwOg0lXTTBlIDZMoZ0dH2C+Ov1vAPafF8TNlNulr7WbdMFZ85MzcUTHbRyDwMUkRsVVjl/A2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YZllfaYTGtSjf85tp95G09ue3/TQ8BLFfBWBIkWzWkXtMDVoDOjy+Obgw7S8iFAq79IPsFoUqLSp9Nc7jAA81oiC2XYErFiyqFB4DLhnfIG4OxtLlcDPzLuGA4u3GdA99/Oo1uXROXKAIdhdY9HPxCx6aurwB4fAoVeXPNi8UBRVeT3xY86qe3pVfAgEPvv2dt8jsLXOmnn99Z34ddwB9/vhuTTPFazBNDApYsb8sAgpk8DXwopX0+5mlodIAOSfHbhEXw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040501)(2401047)(5005006)(8121501046)(3002001)(3231220)(11241501184)(944501244)(52105095)(93006095)(93001095)(10201501046)(6041288)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(6072148)(201708071742011);SRVR:BYAPR15MB2504;BCL:0;PCL:0;RULEID:;SRVR:BYAPR15MB2504; X-Forefront-PRVS: 06036BD506 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(39860400002)(376002)(366004)(346002)(39380400002)(396003)(189003)(199004)(68736007)(6486002)(5660300001)(53936002)(6246003)(229853002)(105586002)(230700001)(31686004)(106356001)(65806001)(36756003)(64126003)(6306002)(50466002)(65956001)(2950100002)(6666003)(65826007)(47776003)(8936002)(1706002)(305945005)(7416002)(7736002)(81166006)(6116002)(58126008)(110136005)(8676002)(81156014)(2486003)(316002)(46003)(67846002)(31696002)(97736004)(86362001)(52396003)(52116002)(59450400001)(966005)(478600001)(386003)(53546011)(76176011)(2906002)(52146003)(4326008)(186003)(16526019)(25786009)(23676004)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:BYAPR15MB2504;H:[IPv6:2620:10d:c081:1132::1018];FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; Received-SPF: None (protection.outlook.com: fb.com does not designate permitted sender hosts) X-Micro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HcNGw+id2mFBn2Gte3/X0=;7:Bs91jqp5ILLMUT26qjku65vp9jfzZ1ob8IYwFiIP+D+vL2OB9aTS/iNFl9W3lafO42e9JWtdGlLqnxckps3ySjkO9xo8t2/TKSjBN/BI0FUh7G9nb8v7xt7aM9zMQJWgeqm7hsuYLdZ+5hk2kxuh50MF/r0F7ovyKGCLD1bJBjnSJmeMbssx9ABSNo5kRygFHaaviX4s+O6KSNlRb8tttxBksxfisyrX5Pcb1el9/X9B+pFnvEdORhjH8kZpGVse SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BYAPR15MB2504;20:Az9EsqE5/8rryke7uz3qGLhcRAgyhKi6EZ5Gc8LOydY2YeVkqg22JUzTToSoCcHK/KPw8Otl9HRa0RzhBTX3Wc6OteJXIvZEHQd2gJNuXcuED7LGJYoMkTIMDGZ0+tdHKu+Ln+g7VmkB7Z/g3RPkP6SC0T0cXeeYhjs1uVS0si8= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Mar 2018 03:02:17.0847 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 74bd899c-0e81-4864-af82-08d5830eac62 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR15MB2504 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-06_01:,, 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/5/18 6:13 PM, Randy Dunlap wrote: > Hi, > > On 03/05/2018 05:34 PM, Alexei Starovoitov wrote: > >> diff --git a/kernel/module.c b/kernel/module.c >> index ad2d420024f6..6cfa35795741 100644 >> --- a/kernel/module.c >> +++ b/kernel/module.c > >> @@ -3669,6 +3683,17 @@ static int load_module(struct load_info *info, const char __user *uargs, >> if (err) >> goto free_copy; >> >> + 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", > > That's not a very friendly message to tell a user. "umh" eh? umh is an abbreviation known to kernel newbies: https://kernelnewbies.org/KernelProjects/usermode-helper-enhancements The rest of the message is copy paste of existing one. >> + info->file->f_path.dentry->d_name.name); >> + add_taint(TAINT_UNSIGNED_MODULE, LOCKDEP_STILL_OK); >> + } > > And since the signature failed, why is it being loaded at all? because this is how regular kernel modules deal with it. sig_enforce is handled earlier. > Is this in the "--force" load path? --force forces modver and modmagic. These things don't apply here.