From patchwork Thu Aug 1 23:01:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Moore X-Patchwork-Id: 11071483 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2BB3E1398 for ; Thu, 1 Aug 2019 23:02:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 14FD72876D for ; Thu, 1 Aug 2019 23:02:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 058D72877B; Thu, 1 Aug 2019 23:02:07 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6D76E2876D for ; Thu, 1 Aug 2019 23:02:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727520AbfHAXCG (ORCPT ); Thu, 1 Aug 2019 19:02:06 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:42299 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388259AbfHAXCG (ORCPT ); Thu, 1 Aug 2019 19:02:06 -0400 Received: by mail-lf1-f66.google.com with SMTP id s19so51511670lfb.9 for ; Thu, 01 Aug 2019 16:02:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:cc; bh=UnHL4pQNtVIpmyGSDaBU0opI82QJrnu+hxREmY3sJnY=; b=S8j3gBwqjNIVIXHuusoTq/wIkZLgWjhuFIz0S6xa6GB0QdlV77aKPSFhstTdfhH6yg 3KChmnFoNg3q6R4hxSVNOK4/oCSOW46G2lWHtGapX0XHgXXYthy+yNrmCsR1nkDPwMaI 2YOHsM7LGgZXNVzk/VWVAxL+vZNH2bw5TNT/avFE/3LdooClmqSo1G26wU6leBviuuRg GnCoGVATQEfQcyS2NfKvb2hxgZbr47+y64b6IEGp0FvfLNMOmQj0bkmVLZzdirewKxC3 q3QEeYX+DnwZHnsWX6eS3GXCIH+bsVQeIb/Lz3ZWDzHPCrw3M4WhHItlxg0yfl2Cuxtt KEsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=UnHL4pQNtVIpmyGSDaBU0opI82QJrnu+hxREmY3sJnY=; b=F9xOMtrEF2Bk+OaNJ4G2c+P1Mag5qPZ30xIRYXKiNhpNiLqkSXR+PFrlrLik5sioI5 QklkJ94+vWHhHh0YZ+w90kkHKkl/qYnYzhyMDkR2xGnN0xnZ2MHHRpebQn9EehwKqTGB r/3jn2i4rNyC8uxRKDZzHGOptwQHZgj7d+QYeTccjyQYlgW0URd0I/BvgeuatZkV2W3X A+tk/kiTOSd7olxXQq470uPCDAbmyQyIkHE8OudDxJ71l1yITp0J8s19w+MJgCmqY3P1 6E+ZmlsE9lGri+1XS5SaILHgdE88q/MLiV1V2m1gf2Hl5NArg1/onIzuYvzYiu67+/bJ ZuaA== X-Gm-Message-State: APjAAAWstKDumK/8AUAYaLfOyp36QcvUrhm1/dQpMN/0iClr1OsQaVbE bC2+ejEsU0JOP1OcModrDxUQPl+ViUm/mPQ5Vg== X-Google-Smtp-Source: APXvYqxyaCNAjbqpHWFZK+AUXX7LyIVRGbMS7v+RE8gYdSAnmhvcQoXTfUd7I7k/boWiCeenW0zF1/0piDjuzQvzZ7A= X-Received: by 2002:a19:4349:: with SMTP id m9mr61806805lfj.64.1564700523663; Thu, 01 Aug 2019 16:02:03 -0700 (PDT) MIME-Version: 1.0 From: Paul Moore Date: Thu, 1 Aug 2019 19:01:52 -0400 Message-ID: Subject: [GIT PULL] SELinux fixes for v5.3 (#2) To: Linus Torvalds Cc: selinux@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Sender: selinux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Linus, One more small patch for Linux v5.3-rcX to fix a potential memory leak in an error path. Please merge. Thanks, -Paul --- The following changes since commit acbc372e6109c803cbee4733769d02008381740f: selinux: check sidtab limit before adding a new entry (2019-07-24 11:13:34 -0400) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux.git tags/selinux-pr-20190801 for you to fetch changes up to 45385237f65aeee73641f1ef737d7273905a233f: selinux: fix memory leak in policydb_init() (2019-07-31 16:51:23 -0400) ---------------------------------------------------------------- selinux/stable-5.3 PR 20190801 ---------------------------------------------------------------- Ondrej Mosnacek (1): selinux: fix memory leak in policydb_init() security/selinux/ss/policydb.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)