From patchwork Tue Nov 15 23:07:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Iooss X-Patchwork-Id: 9430641 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 64AA860469 for ; Tue, 15 Nov 2016 23:09:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 511B128CE6 for ; Tue, 15 Nov 2016 23:09:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 454A228CF1; Tue, 15 Nov 2016 23:09:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from emsm-gh1-uea11.nsa.gov (smtp.nsa.gov [8.44.101.9]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5C9FF28CE6 for ; Tue, 15 Nov 2016 23:09:22 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.31,496,1473120000"; d="scan'208";a="795775" IronPort-PHdr: =?us-ascii?q?9a23=3Av1mSHB2EhjgWnK4usmDT+DRfVm0co7zxezQtwd8Z?= =?us-ascii?q?sewVK/rxwZ3uMQTl6Ol3ixeRBMOAuqkC0rGd6vmocFdDyK7JiGoFfp1IWk1Nou?= =?us-ascii?q?QttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZr?= =?us-ascii?q?KeTpAI7SiNm82/yv95HJbQhFgDSwbalvIBi4ogndq9QaipZ+J6gszRfEvmFGcP?= =?us-ascii?q?lMy2NyIlKTkRf85sOu85Nm7i9dpfEv+dNeXKvjZ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-ascii?q?Vbi9TI8szQuhuxLgy7pmMOXU4DYVuoj/29hw/eHTkgsy9TNsBcSHz26NV310nn?= =?us-ascii?q?8PRzIu3KBwv0h9ylOE0aVjh/xYCMBT5/RMUgggL5LcyPZ6C9/qUALbYtiJUEqm?= =?us-ascii?q?QsmhATwpVdIxzcUOY0FmG9W+lR3DxCyqA7gblryOHpM09LjQ337vKMZh03zGzr?= =?us-ascii?q?Uuj0E6QstTMm2rnqB++BLXB47VjUqZjb2qeL8C3CHT7meM1neOvERCXA53S6XF?= =?us-ascii?q?UmgVZlHKotTh+kPCU7iuBKw7MgRc1MGCK7FFatnygFpaQ/fjPcjRbHiqm2esHx?= =?us-ascii?q?qIwK2DbJbycWUHwCrdEFQEkxwU/XueMwg+ByOho2bAAzx1Dl/geV3j8fN5qH+h?= =?us-ascii?q?SU801Q6KZVV717Wp4h4VmeCcS/QL070Zoighty97E0iz39PZENePuwphc79GYd?= =?us-ascii?q?Mh/lhHz3jVtwpjMZy8N6pinEIRcxxrv0Py0BV6EptAkck2o3M2ywpyM7iU309B?= =?us-ascii?q?dzOf25DwNabaKm3z/BCpcaHWwFbe3MyR+qcV5/Qys0/jsx2xFko+73Vn1MFY03?= =?us-ascii?q?+d5pXREAoeSInxXVgz9xh7obHafyY86pjP1X10MKm0tD7C1M4yBOc/zBavYctf?= =?us-ascii?q?OrueFADuC80aG9SuKOsyllizaRIEOORS+7AuP8y6cPuH1rWmPP19nD26lmRL+o?= =?us-ascii?q?d90liD9yBkUO7Hw44Fw+2E3guATzr8lE2ust3zmYxefz4eBHGwyS/gBI5NYa1y?= =?us-ascii?q?e50GCWKyL82xwdVxm4ThW3hG+16/H1kGwtOmeQKOb1zh2g1dzUEXoXi+lSSmyT?= =?us-ascii?q?x5iC8pobSb3CzK3evibgALOmhVS2l+lV3sO5S7j8gGXEi0aAgkjBil6lj8x6hA?= =?us-ascii?q?v6l/LHfcQUFTfyjwMW5iTrG8tr2YY85A8JkoqzlYUPygYVCGTb7wuwUa0yX+EG?= =?us-ascii?q?ZF2jA7cSylupXjkxx8lm2dMG55rGDFdsFo2Rff+NvcSOZJ3jUcWSl4jSLaCUS9?= =?us-ascii?q?P9m1/dSYjpnDvfq4V267UZ1Taybrx5uatCSn/W1qHQG/n/erl939DAc1zDT219?= =?us-ascii?q?ZvVSTHthr8ZJfk17iiO+J9YkZoHEP869Z9Goxmios/nowQ2XwEiZWN53UHl3vz?= =?us-ascii?q?PstB2a/lcXoNXiAEw8TO4AT/w01jKW+Jx5jlWXqDzMthYMO6YmwI1S4n6cBFFr?= =?us-ascii?q?uU5qRenSRpulq4sR7RYf9lkzcT0/Qu7mIag+YMuAc2wCWSHK0dHU5CPSP2jxSI?= =?us-ascii?q?9de+rKdJa2mzbbi8zk1+ncquDLuauAFTRG75eos+HS939sh/P1LM32Hp6oDkYN?= =?us-ascii?q?nQcdUTuwaSkxjek+hVM44+meAShSV5I279u2Mqy/Ijhxx0wZ66pJSHK3lq/K+h?= =?us-ascii?q?Bx5XLDn1Z8cN9THxkaZRhNyZ0pupHpp/BjULR4fnQuiwED0Mr/jnMRiBECEkoH?= =?us-ascii?q?eBBbXfBROf6Fthr3/XCZCnLX+WKGMczdp4QBmdI0xejRsOUzomm541DAeqxNbu?= =?us-ascii?q?cE1h/DAe+kb4qgdQyuJvLxT/VH3fqx2wajcsU5WfIhtW7htZ50fJP8ye7+RzED?= =?us-ascii?q?te/pK9rQyCMGibax5PDWETVUyOH0rjMaW25dnc7+iYAfKzL+PQbrqVt+NeUfaI?= =?us-ascii?q?xY6o0oZ9/jaDKNuAMWd4A/08wEpDUmhzG97FlDUXVywXiyXNYtaGqxen5CJ4tM?= =?us-ascii?q?+/8O7xVwLx/oaPEKFdMdZy+xCsm6iPLeqQhDt/KTlCzJMA3GPIyL8c3F8SjCFi?= =?us-ascii?q?bT+tHqoctSTVVqLfhrdXDwIHayN0LMZI9Lgz3hdXNs7UlNz1zaV1juUvBFdbT1?= =?us-ascii?q?Phld+mZdcQL2G7Klz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=?us-ascii?q?rGMqurb30H/W5yg8sEumxDW0A6K4QPhZ8HcYGgU1PGmeq04vDuUq8mfO8lDCrF?= =?us-ascii?q?F0/+FHBreRl0V9ujB9EY5SBjxRz3CqM0xzTGVas+VdMKnVb8tcQ/wpaB+zJxA+?= =?us-ascii?q?EOUp01aP/U5qgXfzezZyuRdC+yDBQwk0UjEYgrf3lj0EsM6nPSIVRolVYjo/dy?= =?us-ascii?q?fFMxyUmSRJsxZFcU1qXIoZAtld8bEBwYRU5tbCSVqrKSwdXhxiMRw33OFCmkFd?= =?us-ascii?q?q0WXZzrdDRa2evnSqBF3e9merNKxJvTj4AhHkp/nsPw/96gbXHKmlxGiTczcoo?= =?us-ascii?q?PhuNCHrVeBdKD9M+Kge3DBVyTMgQq2hbg6E5nA5zLTPxZDK5lm1XokZoDsCXTV?= =?us-ascii?q?MhtbJ6IUPVZbWLt+adVBvOBVedFod7oO+aBwGB2LXBXvF5KzrPNeNFbcWSzeLz?= =?us-ascii?q?md8uy4uY/T9afdSfT6acOR23bKWLl3PpBn6TnhB7jlz4le+lbs2vh38kN2U1/G?= =?us-ascii?q?MzqOrN75PAME+NGidlf+vp0uBT7WHI1wn2TzyU5dbMcXXimq8IgCyJxD9nbwSO?= =?us-ascii?q?V40kztv+1O7bVk7pM3479xw8euOajSMehasVNgAhWMGwpq8I8iDXNiSGBXeOAd?= =?us-ascii?q?MvDRfb4Wjcr2seD4C7QX6AGJ++xecdbHJVvOmtO4CjGHTRxLhhkBpCUfLguB0/?= =?us-ascii?q?6Fh650Rtqkpefj3EIt+EKyLhkczLBi/Y2E4LaHpPfLbxvNyrgJQqrqSdn1rrQi?= =?us-ascii?q?oUOS4uArm6AVd2xpeQKnFvMdVskHymfm068q0TomE9nfELL45P5DS3U5kyrmm5?= =?us-ascii?q?B5BFgWG/UUHb+R8YRfmGc4lfbZOccNcqBegGaPCAKrEqMfyX6x9SSbOm5lggvB?= =?us-ascii?q?0xvoW2O88Ef2rTNkQSvL19rjlEtV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d+Qv?= =?us-ascii?q?Pesn9V8Z5gK7MIPFWFoZzqqTFIqEw5AAA3c7Iwqz1aeVPInAJLR6b1trkAihEf?= =?us-ascii?q?Ud5io0NMH3y/OH4m7TrdSatVlLWRCOAS8jiLQawBT15oMjhnTx2o15tgfbqpnf?= =?us-ascii?q?ZasmJJhS59r/0q3CZgRBSioyHsoLgN2T048rGiqDoBoWBFTvmZkyrQC1VDy/QK?= =?us-ascii?q?jaEGB3n+6Vy8ZGQDY5bz4blmI8Tg7ooh43UkbBU9fi0GQ/6vCyXtgKOJGICPts?= =?us-ascii?q?xThAKVssXUcbCzNTQSNqg6yR/7Rnh9zBLRnBBz/WsPXzWv8d4kJIKmOco/wSqo?= =?us-ascii?q?A2fbfk4W4qxVqMvxqUILTOwuZFNj3mpj3MaHRikWSc3BAWk1iBYraXlefJJF9x?= =?us-ascii?q?AaC7EigiyUsale4gEUfDDUH5yq+onUmsfJ12cyTdNuxm/Nva2FgZUq0Hx5lN9u?= =?us-ascii?q?6C6BpmgSffTCU8BwGnjzyptfyevmavWvsuAGSJNmyLOlUP8DLsms53C72JBrWk?= =?us-ascii?q?+53LQRAUC1MOgZxrfUSy2lU3GXWfyXc2iQmDY0KlLy5RitLlAsdMdKrlMyMujc?= =?us-ascii?q?iZ5YjQHhV617RjmIr1/B0GMjKf8adx4xuIq/fgwKTe0RZ+ubJeU1wv0xElgMb3?= =?us-ascii?q?jPHSRoDe+6q1itk5ZnO394+0X1ffzt8hz6MNuVAhQLCpDVrpht+fGhXWKBPXhg?= =?us-ascii?q?zAFuPElq6ejQCk49tuhGc5aehdLQnch00fYZd/dxNi0wosYTmoVn6YaOyseLfx?= =?us-ascii?q?bRzpL8JdzOp/iYBPrfz180dW5GSLoZZhj15547Pt4/VL3fB7xZvQ4TBaIiWpwu?= =?us-ascii?q?K3/x9L1oLAN0agPRaqq7gs3rpuKTeJRZvH7X7lM1LCfZpRID0Pi0QhJhY5CtnX?= =?us-ascii?q?XyL4g6RihdoN11Fht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f6mk2+PF2RF2ATC3FfmjB1IWm?= =?us-ascii?q?F5EH+SA7un3g1szJrshxJbBaoMd/G15MDiVodf7H+jUUd2D/3w+7pF6aGzOFO3?= =?us-ascii?q?pN5jcAIigMbaB0yOhgqz7NKsaH7lmf4fFy4HC3ABqGX+LnkKdADdvkgEDhMSQ?= =?us-ascii?q?=3D?= X-IPAS-Result: =?us-ascii?q?A2EVBQAdlStY/wHyM5BdHgYMgzcBAQEBAR+BWLsqJ4gtUwE?= =?us-ascii?q?BAQEBAQEBAgECXyiCMxqCHAIkExQgDgMJAhcpCAgDAS0VHwsFGASISwQBs049K?= =?us-ascii?q?gKDZogIhjyIcgIRAWiFFQWaQYFvjmiKI4YKkVFVWg44hR1xhV4PF4IWAQEB?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP; 15 Nov 2016 23:09:20 +0000 Received: from prometheus.infosec.tycho.ncsc.mil (prometheus [192.168.25.40]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id uAFN9ImS015764; Tue, 15 Nov 2016 18:09:19 -0500 Received: from tarius.tycho.ncsc.mil (tarius.infosec.tycho.ncsc.mil [144.51.242.1]) by prometheus.infosec.tycho.ncsc.mil (8.15.2/8.15.2) with ESMTP id uAFN7aWW122392 for ; Tue, 15 Nov 2016 18:07:36 -0500 Received: from goalie.tycho.ncsc.mil (goalie [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id uAFN7aYX015669 for ; Tue, 15 Nov 2016 18:07:36 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1BXAAColCtYhyIeaIFdHQEFAQsBgzcBAQEBAYF3tx6ELogyUwECAQEBAQECEwEBAQoLCQkdhT+CI4hsBAGhapFoPYQSiAiGPIhyfIUVBZpBgW+OaJAtkVGBPYMJAQsBgj9xhV6CPAEBAQ X-IPAS-Result: A1BXAAColCtYhyIeaIFdHQEFAQsBgzcBAQEBAYF3tx6ELogyUwECAQEBAQECEwEBAQoLCQkdhT+CI4hsBAGhapFoPYQSiAiGPIhyfIUVBZpBgW+OaJAtkVGBPYMJAQsBgj9xhV6CPAEBAQ X-IronPort-AV: E=Sophos;i="5.31,496,1473134400"; d="scan'208";a="5826140" Received: from emsm-gh1-uea10.corp.nsa.gov (HELO emsm-gh1-uea10.nsa.gov) ([10.208.41.36]) by goalie.tycho.ncsc.mil with ESMTP; 15 Nov 2016 18:07:35 -0500 IronPort-PHdr: =?us-ascii?q?9a23=3AeIbMlhwlOtgle5TXCy+O+j09IxM/srCxBDY+r6Qd?= =?us-ascii?q?1OIQIJqq85mqBkHD//Il1AaPBtSArasfwLKG+4nbGkU4qa6bt34DdJEeHzQksu?= =?us-ascii?q?4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1?= =?us-ascii?q?Ov71GonPhMiryuy+4ZPebgFGiTanfL9/Ihq6oRnSu8ILnYZsN6E9xwfTrHBVYe?= =?us-ascii?q?pW32RoJVySnxb4+Mi9+YNo/jpTtfw86cNOSL32cKskQ7NWCjQmKH0169bwtRbf?= =?us-ascii?q?VwuP52ATXXsQnxFVHgXK9hD6XpP2sivnqupw3TSRMMPqQbwoXzmp8qFmQwLqhi?= =?us-ascii?q?gaLT406GHZhNJtgqxVoxyvoAdyz5LIbIyPKPZzZL/Rcc8cSGFcXshRTStBAoak?= =?us-ascii?q?YoUXDuoOIeFYr43nqFsVsBCwBg6sBOT0yj9Tm3T72qs60+U9HgHB2AwvBckOvG?= =?us-ascii?q?7VrNXyM6cSSvu1wbLNzTjMYPJawzD96JLHch04p/yHQLF+cdLJxEUyCQ/Iik+c?= =?us-ascii?q?pZH5Mz6azOgAvXSX4/BuWO+gk2IqqBx9riKuy8otkIXFm5wZxkze+Sln3Io4J9?= =?us-ascii?q?u1Q1Nhb9G+CptfrSSaOpN2Qsw8R2Fovz43yrgJuJKmZiQK0JMnxxrfavybbYeH?= =?us-ascii?q?/hLjVOCQITdhmXJqZqizhxGo8Uiv0uH8V8+030hWriddj9XAqHQA2wbO5sSbRf?= =?us-ascii?q?Zx5Ems1SqV2w3d5exIOUU0mrDaK54lzL4wjJ0TsUHbEyHrhEv4kbOae1069eWo?= =?us-ascii?q?6erqYK3rqZ6AOoJsjwHzPasvlta4AeQiPQgDR26b+eWg273k+U32Wq5Kguc3kq?= =?us-ascii?q?net5DaPt8bq7WiDA9Sz4Yj7QqwACm90NgCmHkKI11EdAiAj4jzNFHCOOr4Auun?= =?us-ascii?q?g1SwjDdrwOjLPqb/DZXJL3jDlqrhfLlm5k5AyAs80dBf55VOBrEHO/L8QFX9tN?= =?us-ascii?q?PfDh8nYESIxLP8BdF80J4OcX6eCa+edqXJuBmH4fx8DfOLYdozuT36L/E+r9/p?= =?us-ascii?q?imQi0QsbfKKu2ZIMLnG/Ge99C0DFcTzrmNhXQjRChRY3UOG/0A7KajVUfXvnB6?= =?us-ascii?q?8=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0GYAADwkytYhyIeaIFdHgYMGQYMgwwBA?= =?us-ascii?q?QEBAYF3tx6ELogyUwEBAQEBAQEBAgECEAEBAQoLCQkdMIIzGIJEgiOIbAQBoWe?= =?us-ascii?q?RaD2EEogHhjyIcnyFFQWaQYFvjmiQLZFRgT2DCQELAYI/cYVegjwBAQE?= X-IPAS-Result: =?us-ascii?q?A0GYAADwkytYhyIeaIFdHgYMGQYMgwwBAQEBAYF3tx6ELog?= =?us-ascii?q?yUwEBAQEBAQEBAgECEAEBAQoLCQkdMIIzGIJEgiOIbAQBoWeRaD2EEogHhjyIc?= =?us-ascii?q?nyFFQWaQYFvjmiQLZFRgT2DCQELAYI/cYVegjwBAQE?= X-IronPort-AV: E=Sophos;i="5.31,496,1473120000"; d="scan'208";a="980690" Received: from mx1.polytechnique.org ([129.104.30.34]) by emsm-gh1-uea10.nsa.gov with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Nov 2016 23:07:34 +0000 Received: from localhost.localdomain (81-66-120-207.rev.numericable.fr [81.66.120.207]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTPSA id 7BB2B564CBF for ; Wed, 16 Nov 2016 00:07:33 +0100 (CET) From: Nicolas Iooss To: selinux@tycho.nsa.gov Subject: [PATCH 1/3] libsepol: replace an assert with an error message Date: Wed, 16 Nov 2016 00:07:21 +0100 Message-Id: <20161115230723.20043-1-nicolas.iooss@m4x.org> X-Mailer: git-send-email 2.10.2 X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Wed Nov 16 00:07:33 2016 +0100 (CET)) X-Org-Mail: nicolas.iooss.2010@polytechnique.org X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: MIME-Version: 1.0 Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP When fuzzing hll/pp inputs, a policy module where the value of scope->decl_ids_len has been modified to zero makes the program abort (when it has been compiled without -DNDEBUG). Change the behavior to report an error message instead. This eases fuzzing functions like policydb_read(). Signed-off-by: Nicolas Iooss --- libsepol/src/policydb.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libsepol/src/policydb.c b/libsepol/src/policydb.c index cdb3cde6b5e2..e36d82f0a1e8 100644 --- a/libsepol/src/policydb.c +++ b/libsepol/src/policydb.c @@ -3635,7 +3635,10 @@ static int scope_read(policydb_t * p, int symnum, struct policy_file *fp) goto cleanup; scope->scope = le32_to_cpu(buf[0]); scope->decl_ids_len = le32_to_cpu(buf[1]); - assert(scope->decl_ids_len > 0); + if (scope->decl_ids_len == 0) { + ERR(fp->handle, "invalid scope with no declaration"); + goto cleanup; + } if ((scope->decl_ids = malloc(scope->decl_ids_len * sizeof(uint32_t))) == NULL) { goto cleanup;