From patchwork Wed Aug 2 13:54:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Namjae Jeon X-Patchwork-Id: 129858 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f41:0:b0:3e4:2afc:c1 with SMTP id v1csp486738vqx; Wed, 2 Aug 2023 07:12:25 -0700 (PDT) X-Google-Smtp-Source: APBJJlGNv4MX32wJyeHko4qiVqhKa3DZ5L9hy0gG0usllbO9WJzP3DSDy1csu+4vwUS7gvz2C4cx X-Received: by 2002:a05:6a20:7493:b0:132:d029:ed3d with SMTP id p19-20020a056a20749300b00132d029ed3dmr16501652pzd.29.1690985545345; Wed, 02 Aug 2023 07:12:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690985545; cv=none; d=google.com; s=arc-20160816; b=Ln4BGjMmmJX248cssj6vecck93BI/NGck3l+LxW23dJgF5xkuSC6riJxkD6iARl01G aF7djJYN/qwRsF943DkfXsgpkTuCSOMWBt8CPpfTknA6CVPcA8feHm2RqmlpMAv02zk+ 1h67bTf2iOpB0sv+2VlCGHdkRcL9Ro/FYUJwqnGUJL8dhGnK1FYXZ701laWb6RUz4rnd 7GnZJJDC1yEftOVql6Vlinso0lAgyyyKCLG87o3XnbrK+Ujxd5OsvtBW0qoBiDm/u/+s DCjcMrFIKldfhc1Kt0s5QV2OU0CHOmN49sMHqhTqhS3Xi5UxLofCE8+paqmR+NM3B35x PHTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:mime-version :dkim-signature; bh=AIRcYp8s5RZYk/TlVGVdkMVCHThgt/Vpc8PCfsvNE4A=; fh=hphAVtWfoEZ/7R41vzsgxV+Q40LaCkp79IBWPWMPki8=; b=hsQbY3liUzpS4xN5Bod9NU08UfcQaCzGgp1fg4AGXV8qL8sfaM7QoEbQRGHWI2C0Ld VooB6xmsYstX90/T61KyitaLR8QjD8ERwSxLHdAXihnG3gN2H1dG+R/FCfDLsErG6ltT GFtyTiYWxSOszbdAVq3NwVb7017yERhDbgS2NZzuUhZTUKqJiV7fOhdwNIjiee0Vxk5B Ljgo2xGQ5q8iQDwzHbjLN77z/p1lavYoHKMrHTz7Rfg4dKOBfxcVRQQCLVLRmCq8qooJ hi2OaX65pPlG1ioZ66GCn+i2zNikffImcC7GBpuYaAl87x2q5r5I1A+/EzxDtL2kRKil Pp5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sBcX5Y+p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r192-20020a632bc9000000b0055b43079640si6883361pgr.707.2023.08.02.07.12.12; Wed, 02 Aug 2023 07:12:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sBcX5Y+p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234332AbjHBNy3 (ORCPT + 99 others); Wed, 2 Aug 2023 09:54:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234306AbjHBNy2 (ORCPT ); Wed, 2 Aug 2023 09:54:28 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B4D92101 for ; Wed, 2 Aug 2023 06:54:27 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 10B44619B5 for ; Wed, 2 Aug 2023 13:54:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6D961C433C7 for ; Wed, 2 Aug 2023 13:54:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690984466; bh=FJnDD9zyKXrDGdoILBH7XDtM+Ny6pFZhQvI1ffEGhAs=; h=From:Date:Subject:To:Cc:From; b=sBcX5Y+pot6Oz/kuqSGLrUNAZlWu6G9QIGkUhiRcAOlcMRRXM6P0HxYjdPuFFNy3h EMeBmD4kza6jgbbcgSlGqyaJ2yDNDpGQPmux14oCnbjQfeVjalodyFGtt4Y+JlB00g AxzcjqLFXFRhbwxD7LW5yqpMLNpI0jFnvClwORT1hek+S92NOqAaeiIhl3q+NLbVNq fGLyJNWWVpU+2G0jvQRNQk6gTrZMuC86mkKsAS1QK7gCMgIhMa/q+mHHJhHcMRyUW0 CfJwRTaZrqJmm1tpWfgIJkLHs+EPvaB2/PqET4h7DCQyvK+FoZ4p6AIForAMJvZTXL Pe3QaWbCL1elw== Received: by mail-oa1-f52.google.com with SMTP id 586e51a60fabf-1bf0a1134d6so1675986fac.3 for ; Wed, 02 Aug 2023 06:54:26 -0700 (PDT) X-Gm-Message-State: ABy/qLaZWn7PyIBCKFXYEDf5c+xY4Q+zypJmg/jLam/t5HkUy8Xew+Ak a3Op6jly4lXDQYUOAqSSEpZxe3eHzFaStB8cpFM= X-Received: by 2002:a05:6870:538c:b0:19f:4dc2:428e with SMTP id h12-20020a056870538c00b0019f4dc2428emr17154143oan.14.1690984465552; Wed, 02 Aug 2023 06:54:25 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a8a:603:0:b0:4e8:f6ff:2aab with HTTP; Wed, 2 Aug 2023 06:54:24 -0700 (PDT) From: Namjae Jeon Date: Wed, 2 Aug 2023 22:54:24 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: [GIT PULL] exfat fixes for 6.5-rc5 To: Linus Torvalds Cc: Linux Kernel Mailing List , Sungjong Seo X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773126859162254321 X-GMAIL-MSGID: 1773126859162254321 Hi Linus, This is exfat fixes pull request for v6.5-rc5. I add description of this pull request on below. Please pull exfat with following fixes. Thanks! The following changes since commit 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5: Linux 6.5-rc1 (2023-07-09 13:53:13 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat.git tags/exfat-for-6.5-rc5 for you to fetch changes up to ff84772fd45d486e4fc78c82e2f70ce5333543e6: exfat: release s_lock before calling dir_emit() (2023-07-15 08:34:19 +0900) ---------------------------------------------------------------- Description for this pull request: - Fix page allocation failure from allocation bitmap by using kvmalloc_array/kvfree. - Add the check to validate if filename entries exceeds max filename length. - Fix potential deadlock condition from dir_emit*(). ---------------------------------------------------------------- Namjae Jeon (1): exfat: check if filename entries exceeds max filename length Sungjong Seo (1): exfat: release s_lock before calling dir_emit() gaoming (1): exfat: use kvmalloc_array/kvfree instead of kmalloc_array/kfree fs/exfat/balloc.c | 6 +++--- fs/exfat/dir.c | 36 +++++++++++++++++++----------------- 2 files changed, 22 insertions(+), 20 deletions(-)