From patchwork Sat Nov 12 12:05:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Iooss X-Patchwork-Id: 9424071 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 B7AB86047D for ; Sat, 12 Nov 2016 12:05:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F74A29523 for ; Sat, 12 Nov 2016 12:05:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 944F92975F; Sat, 12 Nov 2016 12:05:32 +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 989DE29523 for ; Sat, 12 Nov 2016 12:05:31 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.31,626,1473120000"; d="scan'208";a="704348" IronPort-PHdr: =?us-ascii?q?9a23=3AoTaR4hGKL+NroSk7YzC0VJ1GYnF86YWxBRYc798d?= =?us-ascii?q?s5kLTJ79pMiybnLW6fgltlLVR4KTs6sC0LuN9fi/Ejdeqb+681k6OKRWUBEEjc?= =?us-ascii?q?hE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRo?= =?us-ascii?q?LerpBIHSk9631+ev8JHPfglEnjSwbLd8IRmssQnctMYajIVjJ60s1hbHv3xEdv?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mrOOwCK7EodRZmBcBVCGCW3oeJmcW/cQdCKSJddskjwa?= =?us-ascii?q?WrilT48h0gqjtAvny7p7KerU/zcXuYjk1Nhv6O3ZjQsy+iBsD8SBz2GNSHl5nn?= =?us-ascii?q?gGRz8s26B/ulB9x0yY0ah+hPxZG9lT6OlPUgsgM57T0fB6AcjoWg3dZteJVEqm?= =?us-ascii?q?QtK+DDA/VN0xx8MObFhnG9W5lR3DwTSlA6UOmLyWAZw46KXc32L+J8xl0XbJyL?= =?us-ascii?q?Ehj0U6QstILWCmmrNw+BXSB4HTl0WUjLqldaMZ3CHR7miD1naOsFteUAFuTaXP?= =?us-ascii?q?RWofaVfOrdTl+kPCSKejCbImMgtFzc6NNLBKZ8bzglpYXvfjP87SY2Wrm2e/HR?= =?us-ascii?q?yI3K+DbJL2e2UB2yXQEFULnBoP/XmcKwc+CCigrnnCAzxuD13veV/s/vdkqH+h?= =?us-ascii?q?SE870R2KZVV717Wp4h4VmeCcS/QL07IauScutyl0HFGn397MF9WApw1hfKNTYd?= =?us-ascii?q?4m5FdH1GTZuBZnPpynNaxigUQecwtvtUP0yxp3EplAkdQtrH4yyApyKLmY0E9Y?= =?us-ascii?q?ezODw5/wPrzXKm/v/BGgcKPWwUne0NeQ+qcO9Ps4sE/vvAe3GUo+639nycVa02?= =?us-ascii?q?OA5pXWCwofSYjxUkEz9xh+ub7aeDUy54Ta1HB3Kqm0ryPN28kzCOsi0BagcM9V?= =?us-ascii?q?MLmYGw/qD80aG8+uJfQym1ezcxIEOPpe+7QuM8y9cPuG3LKrPOFmnD+9iGRL/I?= =?us-ascii?q?Z90kWQ+CZmTO7HwYoFyemC3gSbTzf8kEuhssfvlIBBYTEeB3SwyS7/CY5PeKJy?= =?us-ascii?q?eYILBnm0I8GtwNVxmYLtUWZC9FG/H1MGxNOpeR2KYlz+wwJQ018XrGekmSSmyT?= =?us-ascii?q?x0iDcpobSD3CDUxOTibhUHMHZRRGZ+lVfsPZS0j9cCUUi2aQgmiQCo5Vj8x6dG?= =?us-ascii?q?pKRzNW/TTllUfyLuNWFtTrOwtqaeY85I8J4oqT9YUPm4YV2BVrH9ogca0iP6E2?= =?us-ascii?q?tQ3j87cSumupLjnxx1kGidNmp8rGLFecFswhfS/MbcSuNM0TcdSyl4jDbWCkK6?= =?us-ascii?q?P9a34dWej43DvfymV2K9Sp1TdjHmzZuauyum4W1lHwW/kOq1mt37Dwc6yzT218?= =?us-ascii?q?RxVSrWthb8eZPn17+9MeJ6ZElnGEHz68R9GoFknYs/mosc2X4EiZWJ5XAHi3v8?= =?us-ascii?q?Mc1H2aLia3oAXTALzMTT4Aj5301jK2mEx4znWXqAxcthfcO1YnsM2iI67cBFFr?= =?us-ascii?q?ub7KBekStyuFq4ohrbYeJhkTcF1fsu9HkajvkGuAot0iqdGLATHVFEPSzrjBmI?= =?us-ascii?q?6c6xrLlMZGmza7ewzFRxkcqnDL6cvgFWQGz5dYs6HS9s8sV/N0rB0Hjp5YHgfN?= =?us-ascii?q?nfc84TtgGOnBjalOVVLow+luYRhSV7I239pWMqx/Q9jRNwwZGwpJKHJHl1/KKl?= =?us-ascii?q?Hh5YMSX4Z9kJ9jDjl6pem9yZ34SoHpRhATgERofnTfeyHDIVr/TnOB6EECcgpX?= =?us-ascii?q?eDBbrfAQif5V9gr3LVCZ+rL2mXKWIXzdVjXhmdP1BfgA4VXDU8hJE5EBylxM37?= =?us-ascii?q?f0d9/DwR4UT4qhRUwOJyKxb/SnvfpBuvajosUJiQMgFZ4R9E50fULcye6fl+Hy?= =?us-ascii?q?BG8ZK/sgOBMGubZx5HDWsRQEyLG0jjPqWy5dnH6+WXHfGxI/zKYbWPsuxeS+yI?= =?us-ascii?q?yYi00oR44zmALN6PMWdmD/063EpDQH94Ft/FlDQPUSwXijnNY9SVpRim5i13tc?= =?us-ascii?q?e/8PLxVALo/4uPBKNYMc9z9BCunaeDK+mQiT5iKTlCyJMD33DIx6YE3FMJkCFh?= =?us-ascii?q?bSetHq4PtSHTV6LcgKlX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ar8Ks6HdLtl1ACItz4gfKGL9BMZVnORT1jc2rRklgBiTh?= =?us-ascii?q?eMHbbAcuuPGMyucK/ep+K1P0ZZUHLRIc17L69X1VQxNhSLHouFaZQeURZNxhRP?= =?us-ascii?q?PfsH9V7YNgK6kSPFmSv5HqqilHqEo2AQAzcrMwqCJVdlXWlg1PR6n0oKIAihcb?= =?us-ascii?q?UdNhvE9MHmSwOH4x5zXZTqlViaiRB+YT8jqNUqwPXUJoMjl9QxOuwplufaWmne?= =?us-ascii?q?xfuGNcgix9uOQq0yBhRBakti3ju7kN2Sk59L+luzsPv31FTuODkybHElhDw/EK?= =?us-ascii?q?gr0aC3n881C8Z2MDbITq6rl9Ocvg7ZUh42g4YRg7fS0GWuSgCyfqg6yUAoyPtM?= =?us-ascii?q?9ciwOMucXPa7+zNisSNrUmxBL9Rnh9zBLRnBJ1/2sKWDmg6sErJJmlM8Y/2iWo?= =?us-ascii?q?AXTbdEoL4q5Rscvxq0QETO0tZFNl3WVsz8mHRioWRMDVHGY1lAckY31ecJ1f8R?= =?us-ascii?q?8aC7UogjGQs6lE4A4UbjnUEoC+94jeh8jI32cyTctwymLQuKKFmosg0Gd5lNNs?= =?us-ascii?q?8i6OpHMSevTXU89oBXjy2JlQyej6Z/i2qeAHT41myLW9X/MYNMms53e20o1wWk?= =?us-ascii?q?C53rQeA0a5MOgby7fZUyekSXWYWeOPc2iNgzY2LFX/5RypLl0rcsdFsVUxMuzY?= =?us-ascii?q?hp5TjwfhS697Rj2MpV/Hy2wuKf8adwMzuIq8ZwwKTfIeZ+uCKugq2vE+DkUDb2?= =?us-ascii?q?PRFytsF+C2qUKtnJR8O3h45EX6YOft8gPhMNaJGBkLC43arpl3+fOkQGKNI3lg?= =?us-ascii?q?wwNuPENs7efQC0wxtvNAc5aWhdXfnMp00egZd/p2Ki09vtkTmp5/6YmKzsiFbA?= =?us-ascii?q?vdzpHoJdHauvKYGeHQz1w2emFGVboUeRv154I+PtEjQb3SE7xZvRASBaUhRZw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26uT+cGbE1pDDwu50+G+AvybsIcucrLXW9R6qMMSZYBLPkv8ITXI6?= =?us-ascii?q?UQwPM10z9noyE3qDudAE1HjgKE8qvQG6R8yqdE5WYm4/F8RluPTC/Hcmjb1oqm?= =?us-ascii?q?DNpCxSVpoXDi08rZpeVtO6VHqIF3B1cKGz55Kc7H8TBHT270xFj6gxHuBzmaIT?= =?us-ascii?q?QE8B4XNCcFcaBz1OY9vxHWJfjb7kbFkaMqr0+iEk6qDb2vw9QfDMDi0gGxcm9K?= =?us-ascii?q?djKwDLhz9uYLk8wdN/B0LbOiCkzMe1CtRjmTvDoBoV2z+rk=3D?= X-IPAS-Result: =?us-ascii?q?A2EIBQClBCdY/wHyM5BdHQEFAQsBGAEFAQsBgwYBAQEBAR+?= =?us-ascii?q?BWLRhhkIpiBRTAQEBAQEBAQECAQJfKIIzGoIcAiQTFCAOAwkCFyEBBwgIAwEtF?= =?us-ascii?q?R8LBRgEiEAEAbEhPSoCg2aHcYY8himCSxEBZAEDCYUMAQSOYItegW+KVYQOiiG?= =?us-ascii?q?GCkmRA1VZDTiDHxyBXnGFGw0XghYBAQE?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP; 12 Nov 2016 12:05:29 +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 uACC5JVQ021757; Sat, 12 Nov 2016 07:05:20 -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 uACC5INe065033 for ; Sat, 12 Nov 2016 07:05:18 -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 uACC5HI9021755 for ; Sat, 12 Nov 2016 07:05:18 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1DQAADjBCdYhyIeaIFdHQEFAQsBgzEBAQEBAYF3tGGCOIQuiBlTAQIBAQEBAQITAQEBCgsJCR2FP4EbAYEHiGEEAZ85kWg9hBKHcYY8himDQQEDCYUMBY5gi16Bb4pVhA6QK0mRA4E7gwUBCwFFHIFecYUbDReCFgEBAQ X-IPAS-Result: A1DQAADjBCdYhyIeaIFdHQEFAQsBgzEBAQEBAYF3tGGCOIQuiBlTAQIBAQEBAQITAQEBCgsJCR2FP4EbAYEHiGEEAZ85kWg9hBKHcYY8himDQQEDCYUMBY5gi16Bb4pVhA6QK0mRA4E7gwUBCwFFHIFecYUbDReCFgEBAQ X-IronPort-AV: E=Sophos;i="5.31,626,1473134400"; d="scan'208";a="5819201" 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; 12 Nov 2016 07:05:13 -0500 IronPort-PHdr: =?us-ascii?q?9a23=3AFHqWfRJeuX6Sr/dLvdmcpTZWNBhigK39O0sv0rFi?= =?us-ascii?q?tYgRIvrxwZ3uMQTl6Ol3ixeRBMOAuqkC07Wd6P6ocFdDyK7JiGoFfp1IWk1Nou?= =?us-ascii?q?QttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZr?= =?us-ascii?q?KeTpAI7SiNm82/yv95HJbQhFgDSwbaluIBi0ogncuMgbipZ+J6gszRfEvmFGcP?= =?us-ascii?q?lMy2NyIlKTkRf85sOu85Nm7i9dpfEv+dNeXKvjZ6g3QqBWAzogM2Au+c3krgLD?= =?us-ascii?q?QheV5nsdSWoZjBxFCBXY4R7gX5fxtiz6tvdh2CSfIMb7Q6w4VSik4qx2ThLjlS?= =?us-ascii?q?UJOCMj8GzPisJ+kr9VrhyiqRJ42IPYfJ2ZOeBicq7HYd8WWWxMVdtRWSxbBYO8?= =?us-ascii?q?apMCAfIAPelEqIn9o0EBrQCjDgevA+PvzSRIhmTr1qA91eQhEB3J3AskH90Uq3?= =?us-ascii?q?TYttT1NKAVUeCu16nF1jDDYvxZ2Dvn74jIaB8hrOiKULltcsTR0VEiGx7bgliU?= =?us-ascii?q?s4DpIi+Z2+sXv2WV8+ZsT+yihmE/pwxzoDWj3Nogh4fHi44P1FzI6SR0zJw7KN?= =?us-ascii?q?GmTkNwfMSqH4FKty6AMot7WsMiTH9suCY90rAGvJG6cDUQxJQ/wB7fb/yGc5SW?= =?us-ascii?q?7R3/VOaRJzZ4hGt4eL2hnRqy9lKgyuLkWsm11lZFsDZFn8HRunwT0xHf8NWLRu?= =?us-ascii?q?dy80u71zuDyxrf5+9LLEwskKrUMZ8hwro+lpoJtkTDGzf7lljqgqGLakkp4vOo?= =?us-ascii?q?6//8bLXgvpKTN495hxn7Mqkhlc2zG+M4MhIBX2WD/+S81aHs/Ur9QLpQlf06iK?= =?us-ascii?q?jZsJfdJcQAva60GBRa0oE+6xa5Ezipzs8YkWMCLF9KdxOLlY/pO0vBIPzgF/ew?= =?us-ascii?q?n0yskCt3x/DBJrDhGYvCLnzCkLfnYLZ85FVRyBYzzN9D55JUDasNIPToWkDrrt?= =?us-ascii?q?DYARg5MxLni9rgXc5w0oIYRHKnHr6SMKSUt0SBoO0oPbqifogQ7RD8IP8h7uWm?= =?us-ascii?q?rHg+gkRVKa+o1pwTYWv+H/NhOF6xZCb8xNAbHjFZ7UIFUOX2hQjaAnZobHGoUv?= =?us-ascii?q?dk6w=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0EKAQClBCdYhyIeaIFdHQEFAQsBGAEFA?= =?us-ascii?q?QsBgwYBAQEBAYF3tGGCOIQuiBlTAQEBAQEBAQECAQIQAQEBCgsJCR0wgjMYgkS?= =?us-ascii?q?BGwGBB4hhBAGfOZFoPYQSh3GGPIYpg0EBAwmFDAWOYItegW+KVYQOkCtJkQOBO?= =?us-ascii?q?4MFAQsBRRyBXnGFGw0XghYBAQE?= X-IPAS-Result: =?us-ascii?q?A0EKAQClBCdYhyIeaIFdHQEFAQsBGAEFAQsBgwYBAQEBAYF?= =?us-ascii?q?3tGGCOIQuiBlTAQEBAQEBAQECAQIQAQEBCgsJCR0wgjMYgkSBGwGBB4hhBAGfO?= =?us-ascii?q?ZFoPYQSh3GGPIYpg0EBAwmFDAWOYItegW+KVYQOkCtJkQOBO4MFAQsBRRyBXnG?= =?us-ascii?q?FGw0XghYBAQE?= X-IronPort-AV: E=Sophos;i="5.31,626,1473120000"; d="scan'208";a="869511" Received: from mx1.polytechnique.org ([129.104.30.34]) by emsm-gh1-uea10.nsa.gov with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Nov 2016 12:05:12 +0000 Received: from localhost.localdomain (32.206.133.77.rev.sfr.net [77.133.206.32]) (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 EF791564875 for ; Sat, 12 Nov 2016 13:05:09 +0100 (CET) From: Nicolas Iooss To: selinux@tycho.nsa.gov Subject: [PATCH 1/1] libsemanage: semanage_seuser_key_create: copy name Date: Sat, 12 Nov 2016 13:05:03 +0100 Message-Id: <20161112120503.2162-1-nicolas.iooss@m4x.org> X-Mailer: git-send-email 2.10.2 X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Sat Nov 12 13:05:10 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 removing a login using semanage with Python 3 the following error occurs: # semanage login -l | grep my_user my_user user_u # semanage login --delete my_user ValueError: Login mapping for my_user is not defined This is due to a use-after-free in the swig-generated code for python3 bindings. Copy the user name in semanage_seuser_key_create() and free it in semanage_seuser_key_free(), like commit eac6f1f1b512 ("libsepol: sepol_{bool|iface|user}_key_create: copy name") did. Signed-off-by: Nicolas Iooss --- libsemanage/src/seuser_record.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/libsemanage/src/seuser_record.c b/libsemanage/src/seuser_record.c index 8823b1ed1c7b..1ed459486228 100644 --- a/libsemanage/src/seuser_record.c +++ b/libsemanage/src/seuser_record.c @@ -33,7 +33,7 @@ struct semanage_seuser { struct semanage_seuser_key { /* This user's name */ - const char *name; + char *name; }; int semanage_seuser_key_create(semanage_handle_t * handle, @@ -48,7 +48,12 @@ int semanage_seuser_key_create(semanage_handle_t * handle, ERR(handle, "out of memory, could not create seuser key"); return STATUS_ERR; } - tmp_key->name = name; + tmp_key->name = strdup(name); + if (!tmp_key->name) { + ERR(handle, "out of memory, could not create seuser key"); + free(tmp_key); + return STATUS_ERR; + } *key_ptr = tmp_key; return STATUS_SUCCESS; @@ -75,7 +80,7 @@ hidden_def(semanage_seuser_key_extract) void semanage_seuser_key_free(semanage_seuser_key_t * key) { - + free(key->name); free(key); }