From patchwork Wed May 18 18:16:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Moore X-Patchwork-Id: 12853940 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4E55FC433FE for ; Wed, 18 May 2022 18:16:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241314AbiERSQx (ORCPT ); Wed, 18 May 2022 14:16:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240092AbiERSQw (ORCPT ); Wed, 18 May 2022 14:16:52 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DAFD5BE65 for ; Wed, 18 May 2022 11:16:51 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id h14so3825005wrc.6 for ; Wed, 18 May 2022 11:16:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20210112.gappssmtp.com; s=20210112; h=mime-version:from:date:message-id:subject:to:cc; bh=kWHj3GGl8z0pQ8ELFmv+NfP4zyxBIorTjHSTLj3pqmE=; b=TYfcHLJ3sVF2GMZ/bt1Qslc/cTbhJ89bSU3/3f8cVSFgbWvFp0lw3otLcOG3hv8Fbc 4RZFlvI8WP5f5bmLTnKRkychHi63T9jZw9UBq8xKjPao5euS2MeARa9zMpg9CucRUCa7 GxzHqqOKuFQTr6SipwfHLWBgNhiaTvfVKqqG/50WCTkOEhT6+2YcDiVfSrI7Ad4DZcig mxYNZQSW/WHE5SmuoTcxDe1FnoldZ8kZtpmoOmYPGeqTREwtIBnGpG2+Aac/d585pUYL zRk3pgvcIki599diV1OZv/zLo9MquCPW8Rtbwhk0JDuH5+Qx4I8abUZdLb1efm/mBN1v ZcOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=kWHj3GGl8z0pQ8ELFmv+NfP4zyxBIorTjHSTLj3pqmE=; b=C6vZ6Kd235TPRX3xANQ6ASV+YDlLX2zqJA3JUA2MXOlIppWCGUSAAN7CsjaLycwMpv EoTSJioaSsyxXzqBwxL7J6leTyB6mt0h/zx0vfQjdFw5bvTQ5hWW8lHlKav523ko8gKz Wm4GN+b0b6MgUx1qUVlCdHfpXS59ewvk5qdJiQkkZdyz4UtBRcBjK6GWmOD+xAmyX3tf tGDx+11nRVyyOqVdRyzSHDT7fCZYsNDi+UBqyqpnzcjpy6Opb+a/otUlJjJIs3cQULmy h+g6C9Zj4z5qWYOHKryUO26RbPZtOoHDXvwQGcI6sajkIGDyxXq3vqem0WCcaVc8OuRM xxlg== X-Gm-Message-State: AOAM532xYXa/AM3jhOvhXUdOcK5m6CDuuGxr6S5Lt4+Zp4xvqk/vyekE pcjFNIP93+z69kNNoNfQY3wa8y4qcv/blce1ZGUp X-Google-Smtp-Source: ABdhPJw6wDTkc19Ln53H3KAjKofnbEQ0/3R2SNkk59SSN0lJv209DtpZRbRuCUXeYxHnwcvgHTLS0DeJD7fITuZLl38= X-Received: by 2002:adf:f049:0:b0:20d:a8d:b1e3 with SMTP id t9-20020adff049000000b0020d0a8db1e3mr751533wro.241.1652897809699; Wed, 18 May 2022 11:16:49 -0700 (PDT) MIME-Version: 1.0 From: Paul Moore Date: Wed, 18 May 2022 14:16:39 -0400 Message-ID: Subject: [GIT PULL] SELinux fixes for v5.18 (#1) To: Linus Torvalds Cc: selinux@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Precedence: bulk List-ID: Linus, A single SELinux patch to fix an error path that was doing the wrong thing with respect to freeing memory. Please merge for v5.18. Thanks, -Paul --- The following changes since commit 42226c989789d8da4af1de0c31070c96726d990c: Linux 5.18-rc7 (2022-05-15 18:08:58 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux.git tags/selinux-pr-20220518 for you to fetch changes up to 6254bd3db316c9ccb3b05caa8b438be63245466f: selinux: fix bad cleanup on error in hashtab_duplicate() (2022-05-17 18:34:35-0400) ---------------------------------------------------------------- selinux/stable-5.18 PR 20220518 ---------------------------------------------------------------- Ondrej Mosnacek (1): selinux: fix bad cleanup on error in hashtab_duplicate() security/selinux/ss/hashtab.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)