From patchwork Fri Apr 7 20:44:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Iooss X-Patchwork-Id: 9670641 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 51D34602B3 for ; Fri, 7 Apr 2017 22:40:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 40EB528446 for ; Fri, 7 Apr 2017 22:40:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 323DE2861C; Fri, 7 Apr 2017 22:40:04 +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 61E3A28446 for ; Fri, 7 Apr 2017 22:40:03 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.37,168,1488844800"; d="scan'208";a="4720190" IronPort-PHdr: =?us-ascii?q?9a23=3AHfTVzxw8ZoGvpLDXCy+O+j09IxM/srCxBDY+r6Qd?= =?us-ascii?q?1esQLPad9pjvdHbS+e9qxAeQG96KtbQc1KGM6ujJYi8p2d65qncMcZhBBVcuqP?= =?us-ascii?q?49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6?= =?us-ascii?q?JvjvGo7Vks+7y/2+94fdbghMhTexe69+IRe5oQnPq8UdnJdvJLs2xhb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imF5vMRpixgLyd2ye2BoVWaX5dBV+SF3fodpmEW/AXZSKTPMBujCIL?= =?us-ascii?q?WaKmS4872hGkrBX6xKZ/LurI5i0Ysoru28Vy5+3VkxE96CJ7D8Cc02yWVW57gH?= =?us-ascii?q?kIRzgs0KB4u0x9xU+J0bJkjPxACdxT+/RJXx8nOp7A1eN6Ecv/VR7GfteMVFmp?= =?us-ascii?q?WM6mAS0rQtI33dAOf153G8++gRDbwyqqH7gVmqSKBJwy7qLTwXzxKNh4y3nYyK?= =?us-ascii?q?khlVknT9BINW2+mKF/8Q3TCJTIk0WdjKmqcqsd0DTK9GeZwmqEpFtYXxJoUaXZ?= =?us-ascii?q?QXAfYVPbrNT450PFSb+jErEnMg9Yxc6DLKtGcNvpgk9cRPfgOdTefXy+l322BR?= =?us-ascii?q?mW2rOGdJDqdHkF3CXBFEgElBge8mieNQckHCehonneASd2FV31eUPs8PJ+qGu/?= =?us-ascii?q?TkAu0w6FcVdt172v+h4anfacUe8c3qoYuCc9rDV5BFi839PSC9qFuQVhZr5RYd?= =?us-ascii?q?0j71ha0mLZrRZyPoS6L6BlhF4RbRh4v1/02xVwEIVAntAgrGk2wwpqNaKYzFRB?= =?us-ascii?q?eiuW3ZDqILLXLHX9/BG0a6PN31HeyNeW9r4U6PU2sFXvpgapFlAt839/ydlaz2?= =?us-ascii?q?Oc5onWDAoVSZ/xUVw49xt9p7HHeSQ95Jnb1X5rMampqDPC3MgpBOQ9wBa6Y9hf?= =?us-ascii?q?KL+EFBP1E8ACHcehNfYqm1m3YRIeJ+1d7rI7P8a8e/uBwq6rM/5qnCi6gmRf/I?= =?us-ascii?q?B9zkWM+jJgReHS25YK3eqY3heHVjf7l1qhqdz4mYFaajEUAmq/yDLrCJRXZqJs?= =?us-ascii?q?YYYBEX2uLNGvxtVim57tXGZV9EWtB1Mc38+pYgaSYkfm3Q1W0kQWr3mnljG+zz?= =?us-ascii?q?BulTEmsLaf1jTUw+v+bBoHJnJLRG56gFbiO4e0i8waU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= =?us-ascii?q?hhH1UKHfMZBbiL8p5Ynmc2gezZMcAZfb5Zl2aTDxGkFKQCyXmx5yuRPmZlngnE?= =?us-ascii?q?0wvsTmOr8F/2sSh4TDPDz9f+k0pVUr23CllXXyeyJEB3riiAPAvyu9rxo6g161?= =?us-ascii?q?s2MmP8vtKXiGShIK9XH9H4JNGEJyk0oEkajJw3Rtyqw4wbGNy9INkL8H5kdfve?= =?us-ascii?q?93mrkzJdrKdbmore+N+a9u/QHXm6gK2Qs6+NyyxAyngkoVE/7citNvTJ592MX/?= =?us-ascii?q?So2HgeQjx6uwvARRG1rKLUr0waOEyMykfLm5cKMstf3XYmykHs/PIjT84r9AVC?= =?us-ascii?q?CobAYOsPpSruNzTp2lufbNc3VyaE3ztRAF31DUFyGLIg12LooMLJiXDQ9kUsRo?= =?us-ascii?q?lrckzqhQd6D4smJk0w71gX2DAMERAXaRCcDrGnG1jqLZceWUgEcxSH06Cwer0r?= =?us-ascii?q?0k1r3rOv+OjTYPRnB6UXKPZSlAGOk0ZAGp8Nqq0RWqx8dEVS9KHJvQjuEY7nUO?= =?us-ascii?q?b6lXAoL/26Xtha8dwFt3sl+gu/RRug6ZJY4rYelp+JdrBLYYLNvMB64Edr/zgP?= =?us-ascii?q?eTJRgBJnlRO2TfgcpPz/4tjcqJeo6+evW7w3SOoL7BU0HHpxj4fuj18/u93X0P?= =?us-ascii?q?1cSoLNg4Tl7A9NO2KKuJrd0xRkMuUOKpmrfbh6+HUFJigeO2oOMsCLa/k4+CJi?= =?us-ascii?q?LDLT6EFcDcwWeNMYJs3NmRpOhUHzX7FT7MXbEEeCC4hvb8Ao83b3yDct/JskSO?= =?us-ascii?q?ng9CO5JZDR7lFKJfNDjzxglMncq+gRwPrSDjUX4HaCZhht2CyC14WCC/b+/OWL?= =?us-ascii?q?0tHUVEkKHi0oXIdHIjqN5winSvCylJXzXQOe8tXzj44mdEKMWnyxm7wIsrpWEe?= =?us-ascii?q?FejiX0xD5eGZ7uiv2Istqs52pXtkFdH4Zo9xLFArhfMo99ORvmismhXlJ8CTfn?= =?us-ascii?q?eMHIahouv/KbxugW7OVkKUT+eY8bLwkAy7L79XpaUAtuR6TrvlaCR+4RYsVpSO?= =?us-ascii?q?/cpHBP9Y1gM7MPPESapJHyoTdHtlY2ABMuaL83qTBabVfBnAlUW6bypb4BhRAR?= =?us-ascii?q?Udpntk9WGWO/Ingy5zzZWqRJlKOREuAa8i2PTqwSVEVlKiV+QxKp15Vpf7umh+?= =?us-ascii?q?tHvnlHniN6p/gqyCdmSQC5uSDjqKMBwzUg+Ku3tD8Zo3xKUv2ekzvUCVVE1PkK?= =?us-ascii?q?grsTC2356VClfXcNY4384LhhJcT9+ogs+Hs/YRA5cC0AQ+usESbwj7mHAoaXqt?= =?us-ascii?q?JTmAaNuNnSbb+0NSUSNLM9yRLlR3RnzgfenBJo8HYWTTSh7d8kIp69OcUkxiez?= =?us-ascii?q?B2jbdUgM7blNsMTstF4HVu02Zk19wG97yMiIWjUNRNDTG2YylgUkaHtEf4hF6R?= =?us-ascii?q?IBE6konyuHvqhB/gEPejvUFZ6l+obIl8fSxXY9Vctqxn7RpqCdhJMlznNlm91w?= =?us-ascii?q?7iOVtnUdberYXNFwAnTp0IdQ1/D+be23su8bUItm1KihUPgaP8ms/Wu235trVV?= =?us-ascii?q?GhxrQaBFe5K+gDxrHaUyi5U2GYX/qEc3SUlTYjLkHy/QWoLkEwaMpSrU89MuvD?= =?us-ascii?q?hoZblw3lULN0WjufqETezGwiLeMabRw5tJ2gewwQQ+4bf/KcKvQ2wP0iFFsMaG?= =?us-ascii?q?fEHTd3C++zqlOtgIl7NGlj4UrkZeTh6AbmP8WOGhMcC47VsoZx+eCmRmKGIXJg?= =?us-ascii?q?yRxyPEp39+fYDFkxtPVTc5WWndjWmdt71/QJd/FzPi0hotQTgJ5s6ZGI0MeWdh?= =?us-ascii?q?Hc1o39Ks/ToviEGPDf1EAqemZGUroFfwP6+Zg1MsQ+W73JErtTpQ4cCrQiQJw9?= =?us-ascii?q?K2fx87l5LA1tfQ7VZbS0mtflq/mKZ5tVon/W60w/LD3YuxId0PC0ShZ7b5+yjX?= =?us-ascii?q?XoPJ8wXi5Br8FqChZ+EopPA9kArwu7DJGKg6y7jt6x+19gu+AUq6bwDerK1Nuh?= =?us-ascii?q?1YVrQ5da/VCLPCrWBKRzhURlivq9j+zY0pn1E8ziYs8EVOlnTW7ZcL/JAJuwJi?= =?us-ascii?q?iIOs3iZ05M66Sc365hUhWNeCD5WLKLtCmlNPVi/EU6xZV0fO7SzDw287Hbw8D/?= =?us-ascii?q?Z2BBqSelqn6FLpxf7EbFBebGRRJbVeKF8Hp5Ha0QdYb07/kBMdgjwNia/gly4z?= =?us-ascii?q?NO3sSZI6ihsEDMwFx0dYrBI0by2CY2R5MKIBKhPksommDZt3vdDW5bLsi+Jsln?= =?us-ascii?q?mMyVAQD150lthWEtYXZMGm/yStiNOWgb2sS+ZAqR+QJVDtYDmfC4eUo5tq20VO?= =?us-ascii?q?lpNY9JmeKwtLUIidxpMT3ARNBGPyHMK797JjhRAf/MpFgveREJqKU1WoEpZZiO?= =?us-ascii?q?J0MHLUiAySPuzQfY1037acCs3r6TICkK6nVH067F0T9Uqgm2o/mWmdfjULHHY5?= =?us-ascii?q?HyR/PSLi4lWSuBRTQzDEal41GktOQYvPCAO2cQvkgUYj6OCA4Uvq1vr93QDmjJ?= =?us-ascii?q?me15fZ0Kn+uXWybqRy19iqUyBzxHtUeWQ/oMDQPWdWPugHJAuAy+If9B5Wnlb7?= =?us-ascii?q?OdxqVJWuEbAZBBcuOHTNvCePBfJjAoljMDNOa6YdLcs64z0kjUQmsBD6nI6Fqe?= =?us-ascii?q?QVaUQvybwTLrWZ4Yv40qtSU19NLQmTV3HLjWMLqFoT6h7JK4326kvrjFW20sZV?= =?us-ascii?q?ElqP4TC2mGhh9bIScLDM9GllvqR/umZk1L0HsywcNp3AQXMFB1U3Zp1nRN2ve6?= =?us-ascii?q?HdZCYVtInCWpWvJQPwM/Ny854ULful66WtcHo82GAjYG+w=3D=3D?= X-IPAS-Result: =?us-ascii?q?A2GwBAASFOhY/wHyM5BdHQEFAQsBGAEFAQsBgn8pgWyObKg?= =?us-ascii?q?tKYljVwEBAQEBAQEBAgECaCiCMyKCSAIkExQgDgMJAhcpCAgDAS0VHwsFGASIK?= =?us-ascii?q?YFFBAGsSzomAoNohwyGTokYEQFohRkFiR6IGotAggeQRIsHhkaTf1h9CCUWLUm?= =?us-ascii?q?GXXOHC4IuAQEB?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP; 07 Apr 2017 22:40:01 +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 v37MdxeE007529; Fri, 7 Apr 2017 18:40:00 -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 v37MdwAQ029333 for ; Fri, 7 Apr 2017 18:39: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 v37Mdvxr007527 for ; Fri, 7 Apr 2017 18:39:57 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1BZAQBJFOhYciIeaIFdHQwGgyuCFY5sqFGJaFcBAgEBAQEBAhMBDAsLBiWFdYIjiEqBRQQBmlORdDqEEIcMhk6KEoUZBYkeiBqLQIIHkESRTZN/gVwlFi2EVAELAYJFc4k5AQEB X-IPAS-Result: A1BZAQBJFOhYciIeaIFdHQwGgyuCFY5sqFGJaFcBAgEBAQEBAhMBDAsLBiWFdYIjiEqBRQQBmlORdDqEEIcMhk6KEoUZBYkeiBqLQIIHkESRTZN/gVwlFi2EVAELAYJFc4k5AQEB X-IronPort-AV: E=Sophos;i="5.37,168,1488862800"; d="scan'208";a="6009914" 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 18:39:57 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3Aoqk0ChXduTfNfSUtsCsc07rTlY7V8LGtZVwlr6E/?= =?us-ascii?q?grcLSJyIuqrYYxyBt8tkgFKBZ4jH8fUM07OQ6PG+HzRfqszY+Fk5M7V0Hycfjs?= =?us-ascii?q?sXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aFRrwLxd6?= =?us-ascii?q?KfroEYDOkcu3y/qy+5rOaAlUmTaxe71/IRG3oAnLqsUbg4RuJrgsxhDUvnZGZu?= =?us-ascii?q?NayH9yK1mOhRj8/MCw/JBi8yRUpf0s8tNLXLv5caolU7FWFSwqPG8p6sLlsxnD?= =?us-ascii?q?VhaP6WAHUmoKiBpIAhPK4w/8U5zsryb1rOt92C2dPc3rUbA5XCmp4ql3RBP0ji?= =?us-ascii?q?oMKjg0+3zVhMNtlqJWuBKvqQJizYDaY4+bM+Fzcr/Bcd4AWWZMRNpdWzBHD4ih?= =?us-ascii?q?b4UPFe0BPeNAooflplsBsRy+BQ22C+P01zRGhXj23aoh0+Q6DArL2wogH9MSv3?= =?us-ascii?q?TTqNX6LrwSXfq0zKnPyjXDdOhW1Cz46IXHfREtu/aMXah/ccfIz0QkCgDLjk2I?= =?us-ascii?q?pID4IT+Y0v4Bv3WH4+dvT+6ihXIrpxt/rzWg3sshiZTFipgUx13F7yl13Zg5Kc?= =?us-ascii?q?GiREJlfdKpEp1dvDyAOYRsWMMtWWRotT46yrIYvZ67ezAHyJEoxhLCcfCHa4+I?= =?us-ascii?q?4hbjVeaNPzh3mHJleLS+hxar7Eiv1PfwVs6u0FZFtiZFk9/MuW4R1xHL98SLVP?= =?us-ascii?q?9w8l281TqT2A3f8O9JLVwumafVJJMt2rswmYASsUTHEC/2gkL2jKqOe0s55uam?= =?us-ascii?q?9vjrb63lppOAKoJ5lBnzP6o0lMGnBOQ1PQcPU3Kc+eSm273u5Uv5QLRWgf0xlq?= =?us-ascii?q?nWqovaKd4apq6+BA9VyZ0j5g2kADehzdQYm2UII0xeeB6diojkNF7PLOr/Dfel?= =?us-ascii?q?jFSgiC1ryOzePr39HpXNKWDOkKz/crZ56k5czhczzN9E6pJICrAOPPLzWkjruN?= =?us-ascii?q?zeFR82KRa4w+ngCNVjhcsiXjeUD6uYNr7CmUOZ7eIoZe+XbckavyiuBeIi4qvI?= =?us-ascii?q?jHQ+nVYGNYiu2oAMICS+H/9hJ0yCJ3vrhcwaOWJWrkw5VuO82w7KaiJae3vnB/?= =?us-ascii?q?F03To8Eo/zVYo=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0FaAAASFOhYciIeaIFdHQwGgyuCFY5sq?= =?us-ascii?q?FGJaFcBAQEBAQEBAQIBAhABDAsLBiUygjMggnCCI4hKgUUEAZpXkXQ6hBCHDIZ?= =?us-ascii?q?OihKFGQWJHogai0CCB5BEkU2Tf4FdJRYthFQBCwGCRXOJOQEBAQ?= X-IPAS-Result: =?us-ascii?q?A0FaAAASFOhYciIeaIFdHQwGgyuCFY5sqFGJaFcBAQEBAQE?= =?us-ascii?q?BAQIBAhABDAsLBiUygjMggnCCI4hKgUUEAZpXkXQ6hBCHDIZOihKFGQWJHogai?= =?us-ascii?q?0CCB5BEkU2Tf4FdJRYthFQBCwGCRXOJOQEBAQ?= X-IronPort-AV: E=Sophos;i="5.37,168,1488844800"; d="scan'208";a="5747171" 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 22: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 82A2D564670 for ; Fri, 7 Apr 2017 22:44:55 +0200 (CEST) From: Nicolas Iooss To: selinux@tycho.nsa.gov Subject: [PATCH 1/6] libselinux: do not dereference a NULL pointer when calloc() fails Date: Fri, 7 Apr 2017 22:44:26 +0200 Message-Id: <20170407204431.8572-1-nicolas.iooss@m4x.org> X-Mailer: git-send-email 2.12.0 X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Fri Apr 7 22:44:55 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 selabel_is_digest_set() contains the following code: digest = calloc(1, sizeof(*digest)); if (!digest) goto err; /* ... */ err: free(digest->digest); If calloc() failed, digest is NULL but is dereferenced when the execution jumps to label err. Check that digest is not NULL before freeing its fields. This issue has been found using clang's static analyzer. Signed-off-by: Nicolas Iooss --- libselinux/src/label.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libselinux/src/label.c b/libselinux/src/label.c index 60639cfcfb74..3300ddc0ab31 100644 --- a/libselinux/src/label.c +++ b/libselinux/src/label.c @@ -191,9 +191,11 @@ static inline struct selabel_digest *selabel_is_digest_set return NULL; err: - free(digest->digest); - free(digest->specfile_list); - free(digest); + if (digest) { + free(digest->digest); + free(digest->specfile_list); + free(digest); + } return NULL; }