From patchwork Fri Apr 7 20:44:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Iooss X-Patchwork-Id: 9670669 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 A1307602A0 for ; Fri, 7 Apr 2017 23:45:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 91FB12862E for ; Fri, 7 Apr 2017 23:45:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 86D8E28636; Fri, 7 Apr 2017 23:45:35 +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=-1.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from emsm-gh1-uea10.nsa.gov (smtp.nsa.gov [8.44.101.8]) (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 29CA72862E for ; Fri, 7 Apr 2017 23:45:33 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.37,168,1488844800"; d="scan'208";a="5747983" IronPort-PHdr: =?us-ascii?q?9a23=3A7AarxB8B6ME1W/9uRHKM819IXTAuvvDOBiVQ1KB5?= =?us-ascii?q?0u0WIJqq85mqBkHD//Il1AaPBtSFraobwLGN+4nbGkU4qa6bt34DdJEeHzQksu?= =?us-ascii?q?4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1?= =?us-ascii?q?Ov71GonPhMiryuy+4ZPebgFJiTanfb9/Lhq6oAvfu8ILnYZsN6E9xwfTrHBVYe?= =?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CenGZ1bfnhGBU6XHnj2cYWEWusMaCWJL89gjDML?= =?us-ascii?q?S6auR5Um1RG0uw/w06BnIfbM+i0EqZLj08B46PDUlRE08zx7EtqS02WMT2xvhG?= =?us-ascii?q?wHWSU23KdlrUx60FeD3rByg+ZEGtxL+/NJTgA6OIbBwOxmEd/yQBnMccuOSFaj?= =?us-ascii?q?XtqpGyoxTs4rz98IfUl9B82ojgrf0CqyH78Vi7uLCYQ18qLaw3j+OcJ9xGjD1K?= =?us-ascii?q?Y/k1kmWMtOOHahhq5n6QfTAYvJnF+Yl6aubqsc2yHM+H2EzWqUs0FSSBRwXrnd?= =?us-ascii?q?XXADekvWqsz050PDTr+pD7QqKQ5BycqbJqtLbN3ll1NGS+35ONTdYmKxhXm/CQ?= =?us-ascii?q?yOxryScIrgY38d0znFCEgYjwAT+m6LOhYmBii7uWLeDSduGEn3Y0z26+l+qWi7?= =?us-ascii?q?Tlcwzw6Qc0JuyaC5+hkPhfyTU/kTxK4LuD89qzVoG1awx9zXC9uEpwpkYqpce8?= =?us-ascii?q?gw4FlZ2m3EsAx9JIavL7h4hl4ZcQR4oV/h1wltBoVHi8gqo2sgzBBuJqKAzFNB?= =?us-ascii?q?azSY0Ij+Or3NMGby+gyga6/N2lzF1daW4qYP5O0jq1TtpwGlDE0i829o09NNyX?= =?us-ascii?q?uT+o3KDBYOUZL2Sks39AJ1p7LdYikg/I7U1mdjMaqzsj/fwd4pA/Elyhm4dddF?= =?us-ascii?q?LKyEDBPyE9EdB8W2MuMlhkKpbhMaM+BI76M7Jd+pd/6c1K6sJuZgkyqsjX5b74?= =?us-ascii?q?BlzkKM6y18R/bU0Jkfx/GXwBCHVyv8jVemqc33gpxLZTAMEWq51SjkBZReard0?= =?us-ascii?q?fYkVFWekO9e3yclmh57xR35Y80auB0gI2M+zfhqSdED90BZL1UQRpnymly64wC?= =?us-ascii?q?Zykz0zqKqQwjDOyfz4dBUbIm5LWHVijVD0LIm6ld8aWFSoYBYzlBu+/kv62bZU?= =?us-ascii?q?pL5kIGnOREdEZS/2L3ttUqGorLqNf9ZP6I80sSVQSOm8fU2VRaP8oxQA1yPuBH?= =?us-ascii?q?dRxDc+dz62oJr5hAB6hHibLHltsHrTYdtwygvH5NzAWf5R2SILRC95iTnTAliz?= =?us-ascii?q?IcKp8M6OmJjdqOC+UHitVppJcSnk1YmArje05XV2AR2jmPC+gsPnEQkm3i/n0N?= =?us-ascii?q?lqTz/Eowr8Yons0aS6Pvlqfk1pBF/68cV6AIZ+npE3hJEK1ngQno+V8mYfkWfv?= =?us-ascii?q?LdVb3rrzbH4MRT4Q397Z+RPl11NnLnKIwYL5S3qcz9B6Z9miY2MW3CM94NxRCK?= =?us-ascii?q?uO6rxLgzd1qEKirQ3Nefh9gisdyfw25X4AhOEJvA4twTuHAr8OGklZMzfhlw+V?= =?us-ascii?q?79+it6VbfmGvcaK/1EBmh9CuEKmCoh1AWHb+YpoiBTV/7th7MF7WynL/8JrreN?= =?us-ascii?q?7UbdIPsR2UlQzNj+1JJJI3kfoFmTBrOWTjsn050+Q7lwBh3YmmvIibLGVg5KG5?= =?us-ascii?q?DQBeNj3ufM4T+S/ijaBFnsaQwY+vAo9tGjIRXJvnVfioCi4dtez7NwaSFz0xsm?= =?us-ascii?q?+bFqDCHQ+b9khmt2jAE5a3N36JPnkU1shiRAKDK0xFmwAYRi46npkkFgCw2MPu?= =?us-ascii?q?bkl55jcL5l73tBRA0ORoOAfjUm3Hvgendi80SISDLBpR9gxC+UHVPtGF4+JtGS?= =?us-ascii?q?FX452hoBaLKmOFewRCFXsJVVCcB1D/Irmu4sHN8/CCCeqjK/vDeqmBqe1CV/aI?= =?us-ascii?q?3J6v3JFp/zCWOsWIJHliAOUx2lBfUnBhB8TZhzIPRjQUlyPNa86Uugyx+ihwrs?= =?us-ascii?q?Cx/vTkRh7v5ZePC7tVNNVg5Qq6gaGdOO6MnCx5MypX1osQxX/Uz7gSxFAShDto?= =?us-ascii?q?dzmxFrQAsDXATKzOlaBKCB4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lzfRLJZLSonsnqofqGZpxQp3DI9V8wNCPctAcYyvyoTAx0c4yqh2?= =?us-ascii?q?/sL58uXD5BqcNiCgd+FotVB8wAtxanA4KTmKyjj9+x+kV6u/IFsKbpDvDK1c+5?= =?us-ascii?q?35lqX5VB5EyEJjDRBK5xjkRilOSyje/K0oPtBsP6ZdMESO97T3bearDYGoW/Kz?= =?us-ascii?q?SOOt/zekJB/LCczLJ5XQuLZC/nR6qJrjapNPZ67kUhzIx3Yu7Twycw77HUwtfy?= =?us-ascii?q?YHtbpii7p36TKJRf9EDKBfDZXx9MTPqK6npqHa0WbYvy8+cDKsIiwNma4wZt6D?= =?us-ascii?q?RC0c2FI7Wur0PW3UJ7b53bJlPz2yklQYkKPAi/MUw0jG/bsHvdAnNcIdO/JMlw?= =?us-ascii?q?htaVEhzt505smWEiZm5BBnDkRdGPNmgHw8i+fhGF9BpXD9YfmO66YVU3uba1Re?= =?us-ascii?q?lsO5VFgvmqtK4dndZyNS7AWNJWPzrOI79yPzpRCPjPpVczbxEYs7k1QJo1ZYOU?= =?us-ascii?q?LEIJKkiA1TjyzQzE0UHucNyszqmJKj4M8npb17LFzSRMpw6htPaWmMLsS6rZbJ?= =?us-ascii?q?DoU/7WKyclSDWaSi4pEUao5FeoofwEs+SEIW0HuFAbfjqSCBIPpqBotdXQDGrT?= =?us-ascii?q?mep5fJ0QhfCaQDv9SCtim6o3GClLtFqAQ/0ZFQnZd3XhmnZTuBS+Jv9Q+nLod6?= =?us-ascii?q?aYxqRQW+MKA4ZBceaUQ8XGdvBEJjcplzIZOOCmc93asbk5zkrCTXEFHKnQ6F2e?= =?us-ascii?q?UEmWT+SexzLsW4UVu5M5ui829d3NkC93FL7IMKqBqDK09I63kjqY6qXiUTw2bk?= =?us-ascii?q?g0hv8SKHWQyxlHbmcfApcav1++bLSHYhNq1Xkujet1kz4Lfx9oGilo03ZRmP+m?= =?us-ascii?q?XMxeTkUPpGbyULsBdl8hX2B4xlOD/gCnOY9IgsvUXWILs+JURA=3D=3D?= X-IPAS-Result: =?us-ascii?q?A2FWBABPI+hY/wHyM5BdHAEBBAEBCgEBGAEFAQsBgn8pgWy?= =?us-ascii?q?ObKgtKYljVwEBAQEBAQEBAgECaCiCMyKCQQYBAiQTFCAOAwkBARcpCAgDAS0VE?= =?us-ascii?q?Q4LBRgEiCmBRQQBrFE6JgKDaIcMhk6JFgIRAWiFGQEEnHiCB5BEiweGRpN/WH0?= =?us-ascii?q?IJRYtSYZdc4Z8DxeCFwEBAQ?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea10.nsa.gov with ESMTP; 07 Apr 2017 23:45:32 +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 v37Nj1Sn025946; Fri, 7 Apr 2017 19:45:06 -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 v37Niwbs029390 for ; Fri, 7 Apr 2017 19:44:58 -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 v37Niv27025756 for ; Fri, 7 Apr 2017 19:44:58 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1BnAQCXI+hYciIeaIFdg1qCFY5sqFGJaFcBAgEBAQEBAhMBDAsLBiWFSAYnYlFXGYhKgUUEAaxSOoQQhwyGTokWfIUZAQSceIIHkESRTZN/gVwlFi2EVAyCRnOGfII9AQEB X-IPAS-Result: A1BnAQCXI+hYciIeaIFdg1qCFY5sqFGJaFcBAgEBAQEBAhMBDAsLBiWFSAYnYlFXGYhKgUUEAaxSOoQQhwyGTokWfIUZAQSceIIHkESRTZN/gVwlFi2EVAyCRnOGfII9AQEB X-IronPort-AV: E=Sophos;i="5.37,168,1488862800"; d="scan'208";a="6009962" 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 19:44:57 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3A5u05xx08fHbhT50esmDT+DRfVm0co7zxezQtwd8Z?= =?us-ascii?q?se0fKvad9pjvdHbS+e9qxAeQG96KtbQc1KGN6OjJYi8p2d65qncMcZhBBVcuqP?= =?us-ascii?q?49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6?= =?us-ascii?q?JvjvGo7Vks+7y/2+94fdbghMhTexe69+IRe5oQjfuMQdnJdvJLs2xhbVuHVDZv?= =?us-ascii?q?5YxXlvJVKdnhb84tm/8Zt++ClOuPwv6tBNX7zic6s3UbJXAjImM3so5MLwrhnM?= =?us-ascii?q?URGP5noHXWoIlBdDHhXI4wv7Xpf1tSv6q/Z91SyHNsD4Ubw4RTKv5LptRRT1ii?= =?us-ascii?q?kIKiQ5/XnXhMJukaxVrhGvqRt9zI7ae4yZKOZyc7nBcd4AWWZNQsBcXDFBDIOm?= =?us-ascii?q?aIsPCvIMM/5Zr4bhoFsOqQGxBRKxD+3szT9IgWT23bYn2OkmFwHG3RAvH9UKsH?= =?us-ascii?q?vOt9X5LqYSUeeyzKnT1jXOdPZW1Djy6YTSdRAhu/6MUKt2fMHMykcvDxvIgkiO?= =?us-ascii?q?pYHhJT+Zy/gBvmeB4+duSe6jkWAqpg5prjWs28sgkIjEi4MPxlzZ6yl13Jw5Kc?= =?us-ascii?q?OkREN5Z9OvDYFeuDuAN4RsR8MvW2Fotzg+yr0BoZO7eScLxIk9yx7HbPyHd4iJ?= =?us-ascii?q?4g79W+mNITd4gnNleKuihxms60Sgzff8Vsas3FZLqCpKjMXMu2gQ2xDN7sWLUO?= =?us-ascii?q?Zx8luu1DqV2Q3f9vtILE47mKbDLp4u2L8wlp4dsUTZGS/2nV37grKKeEs55uSl?= =?us-ascii?q?8+fnbqn7q5KCL4J5hBvwP7wrmsGwDuU0KA8OX3KU+emk0r3j/FH2QLJOjvIsia?= =?us-ascii?q?nVqpHaJcMcpq6iGA9YyZ0s6xGiDzegzNsXg2IHIEhAeB+IgInlIVbOIOr3Dfun?= =?us-ascii?q?mVSjjC9rx+zaPr3mGpjNNWbMkLPgfbZ79k5dxxE+zcxf5p1ICrEBJ+j/WknqtN?= =?us-ascii?q?PCFBM5PAu0w/i0QOl6g5gTXWOJH7+xLLLZsVjO4PkmZeaLetw7ojH4ft4k7Pnq?= =?us-ascii?q?hGRxuFgaZrLhiZ0WY3e8F+8gIkKeemHEh4sRV2AQsVxtH6TRlFSeXGsLND6JVK?= =?us-ascii?q?Um62RjBQ=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0FeAABPI+hYciIeaIFdg1qCFY5sqFGJa?= =?us-ascii?q?FcBAQEBAQEBAQIBAhABDAsLBiUygjMggkMGJ2JRVxmISoFFBAGsUTqEEIcMhk6?= =?us-ascii?q?JFnyFGQEEnHiCB5BEkU2Tf4FdJRYthFQMgkZzhnyCPQEBAQ?= X-IPAS-Result: =?us-ascii?q?A0FeAABPI+hYciIeaIFdg1qCFY5sqFGJaFcBAQEBAQEBAQI?= =?us-ascii?q?BAhABDAsLBiUygjMggkMGJ2JRVxmISoFFBAGsUTqEEIcMhk6JFnyFGQEEnHiCB?= =?us-ascii?q?5BEkU2Tf4FdJRYthFQMgkZzhnyCPQEBAQ?= X-IronPort-AV: E=Sophos;i="5.37,168,1488844800"; d="scan'208";a="5747975" 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 23:44:56 +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 0B544564678 for ; Fri, 7 Apr 2017 22:45:00 +0200 (CEST) From: Nicolas Iooss To: selinux@tycho.nsa.gov Subject: [PATCH 6/6] libsepol: do not wrap integers when checking bound Date: Fri, 7 Apr 2017 22:44:31 +0200 Message-Id: <20170407204431.8572-6-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:45:00 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" List-Post: List-Help: MIME-Version: 1.0 Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP Some invalid policies might have p->p_types.nprim = 0. When parsing such a policy, "i > p->p_types.nprim - 1" is always false even though reading p->type_val_to_struct[i] triggers a segmentation fault. Make type_set_expand() return an error when parsing such a policy by handling correctly when p->p_types.nprim is zero. This issue has been found while fuzzing semodule_package with the American Fuzzy Lop. Signed-off-by: Nicolas Iooss --- libsepol/src/expand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsepol/src/expand.c b/libsepol/src/expand.c index 315fc65cfd7e..54bf781d335f 100644 --- a/libsepol/src/expand.c +++ b/libsepol/src/expand.c @@ -2527,7 +2527,7 @@ int type_set_expand(type_set_t * set, ebitmap_t * t, policydb_t * p, * invalid policies might have more types set in the ebitmap than * what's available in the type_val_to_struct mapping */ - if (i > p->p_types.nprim - 1) + if (i >= p->p_types.nprim) goto err_types; if (!p->type_val_to_struct[i]) {