Message ID | 20170407204431.8572-5-nicolas.iooss@m4x.org (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <selinux-bounces@tycho.nsa.gov> 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 E168260364 for <patchwork-selinux@patchwork.kernel.org>; Fri, 7 Apr 2017 21:40:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D1A4128668 for <patchwork-selinux@patchwork.kernel.org>; Fri, 7 Apr 2017 21:40:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C5F942866A; Fri, 7 Apr 2017 21:40:18 +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]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 91EA228669 for <patchwork-selinux@patchwork.kernel.org>; Fri, 7 Apr 2017 21:40:17 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.37,168,1488844800"; d="scan'208";a="4719057" IronPort-PHdr: =?us-ascii?q?9a23=3A+SFJ8RO9+mKTQVIvQ7Ql6mtUPXoX/o7sNwtQ0KIM?= =?us-ascii?q?zox0LP38p8bcNUDSrc9gkEXOFd2CrakV1ayO7Ou4CCQp2tWoiDg6aptCVhsI24?= =?us-ascii?q?09vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7?= =?us-ascii?q?Ovr6GpLIj8Swyuu+54Dfbx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DFIenayWb?= =?us-ascii?q?485iwhBIKhF4fDSZingKad0yejAp1WemdGB0iCEHfpc4WEXukDaDiJL89vjDML?= =?us-ascii?q?SL+hS5U72hG2rg/6zLhnIfTI9S0Er57j08J15+LLnxEo6TN0F9id032KT2xsg2?= =?us-ascii?q?wHWzo23Kd5oUxh11uOyrZ4jOJCFdxS5vJJVQE6OYTaz+NkF9D4QhjBccuRSFa6?= =?us-ascii?q?XtWmBik8Qc8tw9AUeUZwAMmtjhfG3yW2GbAVjKCLCIYy8q3Cw3j7P9x9xGre1K?= =?us-ascii?q?k9k1kmRdNCNG2nh6548QjeHIvJk0GAm6arc6QQxijN+32ZzWqNvUFYThB/Xb/D?= =?us-ascii?q?XX8Bekvctc756V/aT7+yFbQnNRNMxtCaKqRQcN3pjE5GSez7ONvEeWKxmnywBQ?= =?us-ascii?q?6MxryWcIXlZX8R3CLHCEgLiwoT52qJNRAiBie9pGLTFDJuFUj1bEPq7eZ+qWi7?= =?us-ascii?q?Q1QxzwGSbk1tzqG1+xAOhfCGTPMTxL0Esj87qzpoBFa9w87WC92YqgpiZqpcYt?= =?us-ascii?q?Q94Epc2GLarQN9PZugL714il4ZaQR3sFvk1w9rBYVYjcgqsHQqwRJoJq2FylNB?= =?us-ascii?q?di2X3YrrN7LNNmby+Qqja6nM2lHRyNyW4LsA6Owkq1X/uwGkDlEi83t909lSyH?= =?us-ascii?q?uc+o7HDBEUUZL2XEc38gJ1p7fAbik7+YzUyWVmMbOovT/ax9IpGOwlxw6ufthF?= =?us-ascii?q?NKOECBH9E9cBB8W1NuwlhUKpYQkZPOBX7qI0ONmmd/Se0q6xIOlghC6mjXhA4I?= =?us-ascii?q?1lzkKD6jdzSu/S0JYB2PyXwgyHVzLgg1i7qcD3hZpIZTcMEWqj0SLkHpJeZrVu?= =?us-ascii?q?fYYXDmejO8u3xtR6h57pRXFY70WuCEkY18+zfhqedVv93Rdf1U4Pu3yohTO4zy?= =?us-ascii?q?BokzEutqefwi3OzPj+dBoAIG5HXnVtjVfrIYiygNAXR0yobwkvlBS//0b6wLJX?= =?us-ascii?q?pKNlL2ncWU1IZTT5L3l+UqussbqPe8pP6JIzsSVLSei8ek6VSrr8oxscziPiEH?= =?us-ascii?q?BTxCsjdzGrvJX5ngB1iHmHIHZ1snXZZdl6xQ3D69zEWf5Rwj0GSTFiiTnQAli8?= =?us-ascii?q?O8em/c+ImJfEvOGzTHmhVoBPfinw14+AszG75WJyCx2lg/+zgsHnERQ90SLjz9?= =?us-ascii?q?llTzjIrBLmbobxzai1KuVnfk10BF/77cp3AYR+npc2hJEXxXcWnJOV8mQbkW3r?= =?us-ascii?q?K9VUxbr+bGYRRT4M29PV4xbq2Et4Ln+SxIL2SHOdwtBnZ9akfmMawCU979pFCK?= =?us-ascii?q?2M9rxLgTN1okakrQLWefV9gDEdxuY15X4EheEGpQotwj+bAr8MAUlSJTbsmAiQ?= =?us-ascii?q?79CisKVXY36icaCq20pjmdCsF62NogBAWHf5Y5siEzV/7sNlPFLLyn3z5ZnueM?= =?us-ascii?q?PMYtILqh2UjxDAgvBNKJ0ri/oKgTRoOXrnsn0j1+40kwZu0IqnvIicNWpt5rm5?= =?us-ascii?q?DgRDNj3yesMT4C3igrhQnsaRxYCvEYtuFi8NXJT2UfKiCCgSuuj/NwaSDD08rW?= =?us-ascii?q?+WGbTFEg+Z9EdmqHfPHoulN36JOXYZys9iSwOFJExFhwAUXis1kYIlFgyww8zh?= =?us-ascii?q?akh57CgL5lHkshtM1v5oNx7nX2favgiobjM0R4aDLBpK9A5N/VzYMcqA4eJvBC?= =?us-ascii?q?FX4oeurBSTJWCBYQRHE30JUFSeB1//Jrmu+cXA8++AC+qkNffPb6+CqelEWPeM?= =?us-ascii?q?wpKu0pBr8CyQOcWKJHViCOc72kVbV3BjB8vZgykPSzAQly/VYc6bvgmz9TBsrs?= =?us-ascii?q?+l9vTrRAXv5ZCUBrRILdpv/gq6gaCZN+6fnCx5MypX1osQxX/Uz7gSxFgSizt0?= =?us-ascii?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pR+JKHqF?= =?us-ascii?q?dUi0RtPDCnxpVCMc1N5SQMXDdXqzWHoNSyUNFD2dNxD5IUONh/oWr9GKVeNJiS?= =?us-ascii?q?uHA2u73vyn7F+z8nqlu6wiu8G7OgReJD42IeAhkpJ3iZqkQ3Duss9HvS/U7Jsl?= =?us-ascii?q?9q+udUGKSPjV9xoTtmGZBOHihG1XagL1tpTXlGt/5VKKPacsBGRPkyfxCvMQQk?= =?us-ascii?q?FfE6x0yJ4V10nXDhbix9rAtV4SbdXxUvWCkUhbfslzseqt2nOTAESpJIaykhYD?= =?us-ascii?q?nfKw6BnyBYogpfYVlwW58FGtZF560b3YxM88reTkasLDoIXAB+OgI9yvVTj0hD?= =?us-ascii?q?v1uEeSrFFwqnae7PsgFrfceWtMOpLO72/B1dhYPjre817LgMSGO+mQ21X9/eq5?= =?us-ascii?q?HztseQukuJbqf4PPW2YWXdQzjUkRCwmbAkAoHI/yjULgVWMIR1xmQ/YZf/E27L?= =?us-ascii?q?IQpJKL8BK0pdS696dc1MovpGaM98ZKYJ5ahtCwqcSRPhBIOjsPtLIkvdSDnFMy?= =?us-ascii?q?qB9em/rp7J4rzGVejsfMqMyGjbQ6hvJJd19SH7G6v20Y9Z4kf2wOli+V56SVfc?= =?us-ascii?q?LyCMt9DhJgQV5Ma8aEftopopEi7ID5tqlnri2F1AfdINQyK26JQY1I9Z6HHoRO?= =?us-ascii?q?JgyUjzrPdd+KR46YQs+LBpztq0Jb3OJvtEt09nHgKUCR9u9pk3B2h/XW9RaPcL?= =?us-ascii?q?KPjNZaQZkdzuq+fvGqwL8h2a5fJWZsbcKkHcnsm/FiucRgZanAcArj4aKhWT1+?= =?us-ascii?q?Kfl69zU8alqvDz2lgx7FimMh4G0Ldt6J+Z9aqOvuDadAbezb4eVaTwQcPztLss?= =?us-ascii?q?sVuI5fI4jL4OZnB1Ywq/HegfTMEd3GDgzbsuzS02DcPOBLfg+ONHV3IlnzLvh5?= =?us-ascii?q?F9EE8QGvMPB7aL+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?N2jt7KF0MB9zcgnJabS6nMbqouOLZoNKqHLN71MwLSLcuxgdxfyuSQx0cYqmh3?= =?us-ascii?q?LoIJA/XjhBtcFiCgN6HItTHMMNtwSmA4aOmKG6l9C+5Vh3u+oLsarsEPDFys61?= =?us-ascii?q?34JrX5hV/UaLJireBLF3gkR5ieS/mvDA0p3vBs75YdMEUPJ0QnXZar/HAoq/Ni?= =?us-ascii?q?iONdzidEJc9b6Tzq55WA2LZC/lR6qGqDGkNPJ87EU/y4x4evfTzTM047Hf2dvy?= =?us-ascii?q?fH1bpjy4oH6ILpRf6lvKCfbZXxJORvqP6HxlErEPbYvo6OcONsQvwMOC7Al37T?= =?us-ascii?q?RC1taFIqemokHDxkJ7dYzULFH31CYhQ4YHOxe/PlU2gW/ftHvdBW9TLtWrKcV3?= =?us-ascii?q?h9aVFBPt7VFrmW4xfm5BBnboRdCJNGgewc2xeA2K9ANND9YEhOO3Z084tqusRu?= =?us-ascii?q?lsO5VFn/iqtbodndZuMSHPS9BQPzvMI79uIjpREuLPqUAqYhEesLg1XZw6aIOT?= =?us-ascii?q?IEMBLEeAySTyzRbN0U30a9ygzqCJLzgK8n9f1bLKzSBMpxWlufaemsDjX6rWY4?= =?us-ascii?q?rsXP7TLiUlUiqXRSo2EUmz4lekuucEsOCeIWgBvlAeejiSBxILpqBzsdjQCXfe?= =?us-ascii?q?me9mfJ0NnvCaQSHwSDZjmao0HClLsF6DQ/sZGQnRdX/hj3JWuBa+Kf9U4XLlc7?= =?us-ascii?q?qYy7JOW+wYB4tDbvyUTtjDdPBAOTgojDQZOee7f93atbo51EzHTXcBGanS6FKe?= =?us-ascii?q?VFKWQuCbxz/zX4UVuI40ui4z99LVgCB4DqrIP7GFpzGy7IG0liCYtvPCVjplX0?= =?us-ascii?q?tgm+8GAW+c0DFcOWoEDJcTo0irTameNGhW03d8r+Nl3BsFY0xSVXp1yTUCmve2?= =?us-ascii?q?HclQUhgVi2S1W9UDMEAxCyk/qxzZqjbuaMAN7JiAD1RV8aEBHM9EdPQ=3D?= X-IPAS-Result: =?us-ascii?q?A2FWBADYBehY/wHyM5BdHAEBBAEBCgEBGAEFAQsBgn8pgWy?= =?us-ascii?q?ObKgtKYljVwEBAQEBAQEBAgECaCiCMyKCQQYBAiQTFCAOAwkBARcpCAgDAS0VE?= =?us-ascii?q?Q4LBRgEiCmBRQQBrGY6JgKDaIcMhk6JGBEBaIUZAQSceIIHkESLB4ZGk39YfQg?= =?us-ascii?q?lFi1Jhl1zhwuCLgEBAQ?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP; 07 Apr 2017 21:40:16 +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 v37Le27S022600; Fri, 7 Apr 2017 17:40:03 -0400 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 v37Le0qH028663 for <selinux@prometheus.infosec.tycho.ncsc.mil>; Fri, 7 Apr 2017 17:40:00 -0400 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 v37LdtiE021906 for <selinux@tycho.nsa.gov>; Fri, 7 Apr 2017 17:40:00 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1BnAQDtBehYciIeaIFdg1qCFY5sqFGJaFcBAgEBAQEBAhMBDAsLBiWFSAYnYlFXGYhKgUUEAaxoOoQQhwyGTooShRkBBJx4ggeQRJFNk3+BXCUWLYRUDIJGc4k5AQEB X-IPAS-Result: A1BnAQDtBehYciIeaIFdg1qCFY5sqFGJaFcBAgEBAQEBAhMBDAsLBiWFSAYnYlFXGYhKgUUEAaxoOoQQhwyGTooShRkBBJx4ggeQRJFNk3+BXCUWLYRUDIJGc4k5AQEB X-IronPort-AV: E=Sophos;i="5.37,168,1488862800"; d="scan'208";a="6009788" 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; 07 Apr 2017 17:39:57 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3AK5JDLRJCQ4VYY6HSldmcpTZWNBhigK39O0sv0rFi?= =?us-ascii?q?tYgRI/zxwZ3uMQTl6Ol3ixeRBMOAuqwC07Wd6/GocFdDyK7JiGoFfp1IWk1Nou?= =?us-ascii?q?QttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZr?= =?us-ascii?q?KeTpAI7SiNm82/yv95HJbQhFgDuwbaluIBi0ogndqs0bipZ+J6gszRfEvmFGcP?= =?us-ascii?q?lMy2NyIlKTkRf85sOu85Nm7i9dpfEv+dNeXKvjZ6g3QqBWAzogM2Au+c3krgLD?= =?us-ascii?q?QheV5nsdSWoZjBxFCBXY4R7gX5fxtiz6tvdh2CSfIMb7Q6w4VSik4qx2ThLjlS?= =?us-ascii?q?UJOCMj8GzPisJ+kr9VrhyiqRJ4wYHUbpqYOOZicq7HYd8XX3ZNUtpXWidcAo28?= =?us-ascii?q?dYwPD+8ZMOhAronyu1wOrR+kCgm3GejhyThIhnjt3a0hzu8sFgfG3A08ENIJtH?= =?us-ascii?q?Tbts71OL0TUeCyy6nI1i7DYuhT2Try54nEaBchoeuDXb9pd8fa1EohFxvdg1mN?= =?us-ascii?q?t4DoOymZ2vkRv2WU9eZtW/6jh3Qppgx+ujSixdoghpPIi48U0FzI6Dt1zJovKd?= =?us-ascii?q?GmVEJ2Y9ipG4ZKuS6ALYt5WMYiTnlouCkkzr0Gvoa2fC0FyZg63RLfc/uHc4yI?= =?us-ascii?q?4xL/SumePTd4hHRkeLKmmha971KsyurmVsm7yFpKryxFncfQtn0VyhDf9MyKRu?= =?us-ascii?q?Fg8ku91juDzQ7e5v1eLU06mqfXM5shzaQxlpoXv0TDBCj2mEDugaGLaksq5/Sk?= =?us-ascii?q?5vzkYrn6u5KRKZd5hw/kPKk2n8yyDus5PhIJX2iB9uSxzLvj/UzlT7VNiv05iL?= =?us-ascii?q?LZvIrbJcQcoa65GBRV35045Ba4Ejem1sgXkmccLF5ffRKKgIfoN0vJIPDiAvez?= =?us-ascii?q?m06snytzx/DaIr3hBY3ALmPdn7flfLZ97VNcyQUowNBD55NbFrEBIPXpVk/3r9?= =?us-ascii?q?zXFAU1MwOzw+b5W51B0dYFVGaOBLKJGL/Dul+PoOQ0Kq+DY5FGliz6Lq0D5vXp?= =?us-ascii?q?iXYi0X4aerKylc8RaXu/Gv19ZUSeZmH3qtJdASENpAVoH7+is0GLTTMGPyX6ZK?= =?us-ascii?q?k7/DxuUI8=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0FeAADtBehYciIeaIFdg1qCFY5sqFGJa?= =?us-ascii?q?FcBAQEBAQEBAQIBAhABDAsLBiUygjMggkMGJ2JRVxmISoFFBAGsaDqEEIcMhk6?= =?us-ascii?q?KEoUZAQSceIIHkESRTZN/gV0lFi2EVAyCRnOJOQEBAQ?= X-IPAS-Result: =?us-ascii?q?A0FeAADtBehYciIeaIFdg1qCFY5sqFGJaFcBAQEBAQEBAQI?= =?us-ascii?q?BAhABDAsLBiUygjMggkMGJ2JRVxmISoFFBAGsaDqEEIcMhk6KEoUZAQSceIIHk?= =?us-ascii?q?ESRTZN/gV0lFi2EVAyCRnOJOQEBAQ?= X-IronPort-AV: E=Sophos;i="5.37,168,1488844800"; d="scan'208";a="5745660" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from mx1.polytechnique.org ([129.104.30.34]) by emsm-gh1-uea10.nsa.gov with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Apr 2017 21:39:57 +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 50C8D564678 for <selinux@tycho.nsa.gov>; Fri, 7 Apr 2017 22:44:59 +0200 (CEST) From: Nicolas Iooss <nicolas.iooss@m4x.org> To: selinux@tycho.nsa.gov Subject: [PATCH 5/6] libsepol: refuse to load policies with no block Date: Fri, 7 Apr 2017 22:44:30 +0200 Message-Id: <20170407204431.8572-5-nicolas.iooss@m4x.org> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170407204431.8572-1-nicolas.iooss@m4x.org> References: <20170407204431.8572-1-nicolas.iooss@m4x.org> X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Fri Apr 7 22:44:59 2017 +0200 (CEST)) 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" <selinux.tycho.nsa.gov> List-Post: <mailto:selinux@tycho.nsa.gov> List-Help: <mailto:selinux-request@tycho.nsa.gov?subject=help> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" <selinux-bounces@tycho.nsa.gov> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/libsepol/src/policydb.c b/libsepol/src/policydb.c index 3cff6d276d68..7093b29833bf 100644 --- a/libsepol/src/policydb.c +++ b/libsepol/src/policydb.c @@ -4044,6 +4044,10 @@ int policydb_read(policydb_t * p, struct policy_file *fp, unsigned verbose) if (avrule_block_read(p, &p->global, info->sym_num, fp) == -1) { goto bad; } + if (p->global == NULL) { + ERR(fp->handle, "no avrule block in policy"); + goto bad; + } for (i = 0; i < info->sym_num; i++) { if ((rc = next_entry(buf, fp, sizeof(uint32_t))) < 0) { goto bad;
Some functions assumes that p->global is not NULL. For example range_read() contains: p->global->enabled->range_tr_rules = rtr; However p->global may currently be NULL when loading a policy module with no avrule block. Avoid a NULL pointer dereference by making such a policy invalid. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org> --- libsepol/src/policydb.c | 4 ++++ 1 file changed, 4 insertions(+)