Message ID | 20170227203935.23674-6-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 1B18260471 for <patchwork-selinux@patchwork.kernel.org>; Mon, 27 Feb 2017 20:42:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0D227272F9 for <patchwork-selinux@patchwork.kernel.org>; Mon, 27 Feb 2017 20:42:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0200B27F9F; Mon, 27 Feb 2017 20:42:01 +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 (emsm-gh1-uea11.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 115C827F9A for <patchwork-selinux@patchwork.kernel.org>; Mon, 27 Feb 2017 20:42:00 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.35,215,1484006400"; d="scan'208";a="3515725" IronPort-PHdr: =?us-ascii?q?9a23=3AbU1r7BOVOSEQQqjF96Ul6mtUPXoX/o7sNwtQ0KIM?= =?us-ascii?q?zox0LP/7osbcNUDSrc9gkEXOFd2CrakV1qyM7eu5Aj1IyK3CmUhKSIZLWR4BhJ?= =?us-ascii?q?detC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+?= =?us-ascii?q?KPjrFY7Olc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?us-ascii?q?HRyY7/JdTUovibAP3fyF8nemNAXboaZgP14Zs1PtgjV73VA7RZoQwWBbImT5w5?= =?us-ascii?q?K2fx6KZ0IRtofQHPYrS0ntLnpvmPZptTu3/W8kwwIznBtBEZzfy0VwN7ZYiwh3?= =?us-ascii?q?ruOJAwWi5Br9p1BxtoAoRPH8IArxK5DJOPmaC7itqx+0ZktO8Qtar/FOrG1NOj?= =?us-ascii?q?34V+R5Ja/1CEPC7NBKl3hURoluqzgu/a0pnwFcztZ8gJVO16Qm7ZcL/JAJ+zKj?= =?us-ascii?q?WUOsLzY0RG6aKT0KplUhWNYyD0R62GtCm6O/h/+UU7zpZ3fPHPzDws877bxMHy?= =?us-ascii?q?aH9FqSu5q36GKodf5kTQBePCRxJUVeaF8GF9EK0TbIv08voOMNM7zNiY4glz9y?= =?us-ascii?q?hC0NCeLqigtEDM3EV7eYjcLEvz1CYzQZMKLwinMUswnW/ZrWzQAW9CIcigKMlt?= =?us-ascii?q?hsuVDxPq60d+hWEtZnBOGnD2SteJI2cWwMG+axOQ9AJNEdkDm/W4eVM3tqGoTu?= =?us-ascii?q?loIJpFk/2wtLobidZpNz3PRM9CMiHVNrB5IjpRDuTJpFgveRMErbk1WoErapiK?= =?us-ascii?q?IUMHNlqAyCzowQvFy030eMSm1LyVLyYO7nVH07XF3CBOpwajuvaZhdbsXavEbJ?= =?us-ascii?q?HwQP7SMC0lViyVRTQyDUal41GktOQYvPCAO2cQvkgUYj6OCA4Uvq1gtsPfAmjX?= =?us-ascii?q?me1iZ50KmOuaVzrrSCJmiKU+HD1Lul6IQ/oCEwnWcnDgjXFAtw2iPP9M4GnlY6?= =?us-ascii?q?eWx6VPR+wWGYxMcvuDT9vfY/BeKC8ili8FN+akY93cs7E530rHTWQDCKbI7lye?= =?us-ascii?q?Q1CSQvGH2TLrWZ8av5M1uio14N7QmDF4E7jQNbaFuzGu6pK4jDqfueDGVGktZk?= =?us-ascii?q?s1gPgYAGmA2xlNM2cEBMsQuE7zQ66MfUFM1Ggmieh2wR8DZBxzUmFy0n1RhPu9?= =?us-ascii?q?AcNZSVsIg26vQ/ALd053Ay0q/U+L4wzyZtoAtdrVR2BA6rsGUZAdI+Uw6InLJK?= =?us-ascii?q?sQx+4k3DBhoCw8tyWQFFZdgRyY/KreG6J83KFN6nci8/FwQE6PX2CXTm+S0Yei?= =?us-ascii?q?CsRS1Q9ysHvk0IzSpekrO7xE9K9jB1JfJyN9IdTU5nhgVmbvw0PmuRewGzCXO3?= =?us-ascii?q?QY5zEQPgQAKvYzyPV05kWbPu3d4F+d4vpy4HCgDhyGX//tgJE=3D?= X-IPAS-Result: =?us-ascii?q?A2FHBADKjbRY/wHyM5BeGwEBAQMBAQEJAQEBFwEBBAEBCgE?= =?us-ascii?q?BgyWBao5WqCcoiChXAQEBAQEBAQECAQJfKIIzIoIcBgECNxQgDgMJAQEXKQgIA?= =?us-ascii?q?wEtFREOCwUYBIlTBAGzECYCg2mHToZMiRURAWiFGQEEnB6CApAYim+GNpMxWHk?= =?us-ascii?q?IIRQsRoUFgUl0h2yCLgEBAQ?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP; 27 Feb 2017 20:42:00 +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 v1RKfxc5024575; Mon, 27 Feb 2017 15:41:59 -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 v1RKdtQA022174 for <selinux@prometheus.infosec.tycho.ncsc.mil>; Mon, 27 Feb 2017 15:39:55 -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 v1RKdnve023546 for <selinux@tycho.nsa.gov>; Mon, 27 Feb 2017 15:39:55 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1DgAABEjbRYhyIeaIFeHQEFAQsBhTqOVqQUhDaILVcBAgEBAQEBAhMBAQEKCwkKHYUgBoEJUVcZiXQEAbMQhBGHToZMig+FGQWcHoICkBiRJZMxgVghFCyERQx6gUl0ihoBAQE X-IPAS-Result: A1DgAABEjbRYhyIeaIFeHQEFAQsBhTqOVqQUhDaILVcBAgEBAQEBAhMBAQEKCwkKHYUgBoEJUVcZiXQEAbMQhBGHToZMig+FGQWcHoICkBiRJZMxgVghFCyERQx6gUl0ihoBAQE X-IronPort-AV: E=Sophos;i="5.35,215,1484024400"; d="scan'208";a="5960227" 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; 27 Feb 2017 15:39:55 -0500 IronPort-PHdr: =?us-ascii?q?9a23=3A533wsxK+ih23SecjUNmcpTZWNBhigK39O0sv0rFi?= =?us-ascii?q?tYgeKP3xwZ3uMQTl6Ol3ixeRBMOAuq8C0bSd6vuxEUU7or+5+EgYd5JNUxJXwe?= =?us-ascii?q?43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRp?= =?us-ascii?q?OOv1BpTSj8Oq3Oyu5pHfeQtFiT69bL9oMhm7rArdutQYjIZmN6081gbHrnxUdu?= =?us-ascii?q?pM2GhmP0iTnxHy5sex+J5s7SFdsO8/+sBDTKv3Yb02QaRXAzo6PW814tbrtQTY?= =?us-ascii?q?QguU+nQcSGQWnQFWDAXD8Rr3Q43+sir+tup6xSmaIcj7Rq06VDi+86tmTgLjhS?= =?us-ascii?q?EaPDA77W7XkNR9gqJFrhy8qRJxwInab4ObNPdlYq/RYckXSXZbU8pNSyBMBJ63?= =?us-ascii?q?YYsVD+oGOOZVt5Hzp1oSohu5AQmjHvjvwSJLiH/x2q06yP8hGhzB0QwmHtIBrH?= =?us-ascii?q?PUrNHvO6cJS+y1za7IzTLYb/NNwjr97YfFcx87rfGLR7JwftPcxE8yHA3LiVWQ?= =?us-ascii?q?rJbqPzKT1ukVsmWb6vBsVfmoi2Mhtgp/oSCvy98xhoXXgo8Z0E3I+Tl2zYovK9?= =?us-ascii?q?C0VFR3bNCrHZdItCyWKpF6T8IjTm1ypSo21KEKtYSlcCQWypkqwQPUZeadfIiS?= =?us-ascii?q?+B3jUf6cITdmi3Jhf7KynxOy8Ee9xuHmTsm011JKrypZktbSqn8N1xrT6smeSv?= =?us-ascii?q?tg4EitwzGP1xrc6u1cIEA0k7TUK4I5z7ItiJYetV7PEjLqlEj5lqObeFko9vKm?= =?us-ascii?q?5unoernmo4WTN45wigHwKKQuncm/DPwlPAYSQmaX5fyx2aD/80PnW7VHluM6nK?= =?us-ascii?q?rBvZDfKskaqbS1AwhP0oYs8xu/CTam38gfnXkDNl1FYwiLj4nuO1HJO/D4Fuyy?= =?us-ascii?q?jE+rkDd2wfDJIqPuAo7XInjGn7rgcqxx60lGyAo81dxf/Y5bCqkdIPLvXU/8rM?= =?us-ascii?q?fYAQE9Mwy1xebnFdp825gCWWOPHqCZMKTSvUWO5uI0OeaAfoAVuDHjK6tt2/m7?= =?us-ascii?q?lnI9mFkAbYG1zJAXbza+Bf0gLEKHMlT2hdJUN2YBuQ43V6TLj1qZSnYHYXe5WK?= =?us-ascii?q?Y1/Xc6D4W9Fq/GGpDrh6aOinToVqZKb3xLXwjfWUzjcJ+JDq8B?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0HrAAAxjrRYhyIeaIFeHAEBBAEBCgEBG?= =?us-ascii?q?AEFAQsBhQ+OVqQUhDaILVcBAQEBAQEBAQIBAhABAQEKCwkKHS+CMyCCHgaBCVF?= =?us-ascii?q?XGYl0BAGzEoQRh06GTIoPhRkFnB6CApAYkSWTMYFZIRQshEUMeoFJdIoaAQEB?= X-IPAS-Result: =?us-ascii?q?A0HrAAAxjrRYhyIeaIFeHAEBBAEBCgEBGAEFAQsBhQ+OVqQ?= =?us-ascii?q?UhDaILVcBAQEBAQEBAQIBAhABAQEKCwkKHS+CMyCCHgaBCVFXGYl0BAGzEoQRh?= =?us-ascii?q?06GTIoPhRkFnB6CApAYkSWTMYFZIRQshEUMeoFJdIoaAQEB?= X-IronPort-AV: E=Sophos;i="5.35,215,1484006400"; d="scan'208";a="4296581" 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; 27 Feb 2017 20:39:54 +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 6574A56065D for <selinux@tycho.nsa.gov>; Mon, 27 Feb 2017 21:39:53 +0100 (CET) From: Nicolas Iooss <nicolas.iooss@m4x.org> To: selinux@tycho.nsa.gov Subject: [PATCH 6/6] libselinux: initialize temp value in SWIG wrapper to prevent freeing garbage Date: Mon, 27 Feb 2017 21:39:35 +0100 Message-Id: <20170227203935.23674-6-nicolas.iooss@m4x.org> X-Mailer: git-send-email 2.11.1 In-Reply-To: <20170227203935.23674-1-nicolas.iooss@m4x.org> References: <20170227203935.23674-1-nicolas.iooss@m4x.org> X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Mon Feb 27 21:39:53 2017 +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" <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/libselinux/src/selinuxswig.i b/libselinux/src/selinuxswig.i index 687c43bc6d7d..dbdb4c3d72d4 100644 --- a/libselinux/src/selinuxswig.i +++ b/libselinux/src/selinuxswig.i @@ -18,7 +18,7 @@ %typedef unsigned mode_t; %typedef unsigned pid_t; -%typemap(in, numinputs=0) (char ***names, int *len) (char **temp1, int temp2) { +%typemap(in, numinputs=0) (char ***names, int *len) (char **temp1=NULL, int temp2) { $1 = &temp1; $2 = &temp2; } @@ -33,7 +33,7 @@ } } -%typemap(in, numinputs=0) (char ***) (char **temp) { +%typemap(in, numinputs=0) (char ***) (char **temp=NULL) { $1 = &temp; }
Currently this Python program triggers a segmentation fault in libselinux SWIG wrapper: import selinux selinux.get_ordered_context_list() gdb shows that the segmentation fault occurs when freeing some memory: Reading symbols from python...(no debugging symbols found)...done. Starting program: /usr/bin/python -c import\ selinux\;selinux.get_ordered_context_list\(\) [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x00007ffff789a304 in free () from /usr/lib/libc.so.6 (gdb) bt #0 0x00007ffff789a304 in free () from /usr/lib/libc.so.6 #1 0x00007ffff6011499 in freeconary (con=0x7ffff6ac5d00) at freeconary.c:14 #2 0x00007ffff6296899 in _wrap_get_ordered_context_list (self=<optimized out>, args=<optimized out>) at selinuxswig_wrap.c:6185 #3 0x00007ffff741891f in _PyCFunction_FastCallDict () from /usr/lib/libpython3.6m.so.1.0 ... SWIG generated the following code for _wrap_get_ordered_context_list(): char ***arg3 = (char ***) 0 ; char **temp3 ; arg3 = &temp3; if (!PyArg_ParseTuple(args, "OO:get_ordered_context_list",&obj0,&obj1)) SWIG_fail; /* ... */ fail: if (*arg3) freeconary(*arg3); If PyArg_ParseTuple fails, freeconary() is called on the value of "temp3", which has not been initialized. Fix this by initializing temp to NULL in the SWIG template. A similar issue exists with security_get_boolean_names(). Fix it too. This issue has been found using clang's static analyzer, on a system which uses SWIG 3.0.12. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org> --- libselinux/src/selinuxswig.i | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)