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 142A4ECAAA1 for ; Thu, 27 Oct 2022 19:08:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236267AbiJ0TIq (ORCPT ); Thu, 27 Oct 2022 15:08:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233569AbiJ0TIo (ORCPT ); Thu, 27 Oct 2022 15:08:44 -0400 Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA5BC66867 for ; Thu, 27 Oct 2022 12:08:43 -0700 (PDT) Received: by mail-pf1-x436.google.com with SMTP id b29so2547252pfp.13 for ; Thu, 27 Oct 2022 12:08:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=Pz8zXqY+zopYmFYEDPYp4rZ/wqA2DduP8+Q5Z49opO0=; b=f3rr8QI97B9OqJZ7yUoma9kH33i0pAPXYTq+vR+V+kGWyCm2m5w2/Vl/qgLHgq9jUd KwZLIVXaJC+NVVhp2GOPRW+cdnVbazCcG1n0oQmXzxxzNy8kXPY4wyfkMtmeSKvutMMb cjQZto9sV4T1SGgsHs0qfO3Hw4XFvcIo+gsck= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Pz8zXqY+zopYmFYEDPYp4rZ/wqA2DduP8+Q5Z49opO0=; b=LfElNySXKkLa07l++VkJk9iIBZacrXTk1h4HzPbK8muWyD9se3ddls4llTTAZJHwDd 1bhjW4aFyI4jL6GyWEnJCOWh66WjJtaqGLqlPHmOfCSJU1dRAbdmszVWIQBOSRG0bdzg ipmzwtMvlT9FMw8ssWjSFCdK3F9FTM5uCAO3aO8Ya8Fxrj2RPHtbD83GWnrn0PrpZDRv ScAUrhHZooSThyKOddHjO1ygNIrOdgpP1Rzw1qfRNs44C/0wupI1IgjgSmWTSCD1wl3K bx7vOs11jnD87uAAOYlshznzQ9i4Kuo/DJvRcTHvvkpo7pCrmt/dWCYJw6DmZQmd83ZK Y9SA== X-Gm-Message-State: ACrzQf0vvCZiYEIZ5s5hWwYoU9Fucq0rAPWuEX/9fWsWD83L3VC0M9ik cW5pjRy/BxArKj60LqgOSRhMpw== X-Google-Smtp-Source: AMsMyM5psMP1Kjl6M6/IZVs9P7TYkYRPX8B8obpiMvGw2hCzaSYLSFelZlouKfs9/YmJKcJhnuLKGw== X-Received: by 2002:a65:6944:0:b0:43c:da07:5421 with SMTP id w4-20020a656944000000b0043cda075421mr44276826pgq.72.1666897723139; Thu, 27 Oct 2022 12:08:43 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id p18-20020a170902ead200b00176a6ba5969sm1533611pld.98.2022.10.27.12.08.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 12:08:42 -0700 (PDT) Date: Thu, 27 Oct 2022 12:08:41 -0700 From: Kees Cook To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Alexey Dobriyan , Bernd Edlinger , Kees Cook , Li Zetao Subject: [GIT PULL] execve fixes for v6.1-rc3 Message-ID: <202210271208.CBD42E5E9@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Please pull these execve fixes for v6.1-rc3. Thanks! -Kees The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780: Linux 6.1-rc1 (2022-10-16 15:36:24 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/execve-v6.1-rc3 for you to fetch changes up to 594d2a14f2168c09b13b114c3d457aa939403e52: fs/binfmt_elf: Fix memory leak in load_elf_binary() (2022-10-25 15:11:21 -0700) ---------------------------------------------------------------- execve fixes for v6.1-rc3 - Fix an ancient signal action copy race. (Bernd Edlinger) - Fix a memory leak in ELF loader, when under memory pressure. (Li Zetao) ---------------------------------------------------------------- Bernd Edlinger (1): exec: Copy oldsighand->action under spin-lock Li Zetao (1): fs/binfmt_elf: Fix memory leak in load_elf_binary() fs/binfmt_elf.c | 3 ++- fs/exec.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) -- Kees Cook