From mboxrd@z Thu Jan 1 00:00:00 1970 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 7C9C1C43334 for ; Mon, 11 Jul 2022 20:04:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230512AbiGKUEL (ORCPT ); Mon, 11 Jul 2022 16:04:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbiGKUEI (ORCPT ); Mon, 11 Jul 2022 16:04:08 -0400 Received: from out01.mta.xmission.com (out01.mta.xmission.com [166.70.13.231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C688DE80 for ; Mon, 11 Jul 2022 13:04:07 -0700 (PDT) Received: from in02.mta.xmission.com ([166.70.13.52]:36214) by out01.mta.xmission.com with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1oAzdW-009bPy-4R; Mon, 11 Jul 2022 14:04:06 -0600 Received: from ip68-227-174-4.om.om.cox.net ([68.227.174.4]:39676 helo=email.froward.int.ebiederm.org.xmission.com) by in02.mta.xmission.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1oAzdU-00BoPI-KJ; Mon, 11 Jul 2022 14:04:05 -0600 From: "Eric W. Biederman" To: Linus Torvalds Cc: Date: Mon, 11 Jul 2022 15:03:58 -0500 Message-ID: <87a69fct75.fsf@email.froward.int.ebiederm.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1oAzdU-00BoPI-KJ;;;mid=<87a69fct75.fsf@email.froward.int.ebiederm.org>;;;hst=in02.mta.xmission.com;;;ip=68.227.174.4;;;frm=ebiederm@xmission.com;;;spf=softfail X-XM-AID: U2FsdGVkX1/4PWT21BmdIOApvVIUj1DedADrXMb0YSk= X-SA-Exim-Connect-IP: 68.227.174.4 X-SA-Exim-Mail-From: ebiederm@xmission.com Subject: [GIT PULL] ipc: Fix free mq_sysctls when ipc namespace creation fails X-SA-Exim-Version: 4.2.1 (built Sat, 08 Feb 2020 21:53:50 +0000) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus, Please pull the free-mq_sysctls-for-v5.19 tag from the git tree: git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git free-mq_sysctls-for-v5.19 HEAD: db7cfc380900bc4243b09623fd72fabe0a8ff23b ipc: Free mq_sysctls if ipc namespace creation failed This fixes a bug with error handling if ipc creation fails that was reported by syzbot. Alexey Gladkov (1): ipc: Free mq_sysctls if ipc namespace creation failed ipc/namespace.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) Signed-off-by: "Eric W. Biederman"