Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp157781rdb; Wed, 18 Oct 2023 23:38:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEMyhI9DQYRFNsHon3kuMyNX1287vnRBoi/+eY65j5woPc8skSSDoY6NTB74UJyYwyL3Ifj X-Received: by 2002:a17:90b:8ca:b0:27c:f282:adac with SMTP id ds10-20020a17090b08ca00b0027cf282adacmr1564595pjb.0.1697697484445; Wed, 18 Oct 2023 23:38:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697697484; cv=none; d=google.com; s=arc-20160816; b=0KRGe4SrRohwX8SU7OGqveElv08uB1olRiMKTnpuGVOTZM7RwWyN73NV028n3DKXMM 1txCDroU6FpOBpQFvheJ7uxlKV6krOQ9BKUXZbmZ+9mn0870TYE+4VyRebXarba7+N2D viZGQGsQr5a+OvZQNGvTn7RNxnf8IuF3dDrQeOEfxExcalY6aJkvrokYdy8QZXCAnLzF 7tUgAMDRDEjWehbS8VGnaOqu05KCo1vrlRmEVQwxy3F85BejTGMBAuUtz8bYmpebsptd 5F2jOZHGghQ8RTrxEaHhteJACq4S2+m2OOQnTj1ggLlT/k/0an643x5n+k1cRGbMGJIw UJ2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id :dkim-signature:dkim-signature; bh=+tR/SuZ12C+bYNNqeuZZw4rfTtUeq8KRTtUUgfqHkLs=; fh=0m/vUEml8fOhUGOe3RkjSZ4JSZ9+h9dPF0uAnIe3Q60=; b=ZYzbGUP9NsNFLjkUZ2RZwsZImy2J0GnPmsMy4p9uTZrWjEtH0rMcTZ+C8KWclBFPQq X4vrRnrKEk2lQcCJHy6uYv3d4E6i5TA00zvnFOBMnSLd9AZrlHurXYtpDTVl65DkSljv A4W3647+SoUwRP5r32QFxvDHElTsrdw8kDmqcnJO/fZR0Nrl5k3ltVjXIRKnp9yHgmnT e80QBGgyVk0sVZrQu6EE18JC03KMCxLibn1V3Z1GSBXWhrfPOKbaxtowNVhCVykenNoK AsPxV2Az1/zxUesKTVxtPr+GB1chXzeCxS+Rd/CO0fz/wKI44EMWp15IQoC875RtMhDM uofA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=NedFf5gf; dkim=pass header.i=@paragon-software.com header.s=mail header.b=WUhCjrIu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=paragon-software.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id a11-20020a17090ad80b00b00274c8943b59si1546772pjv.64.2023.10.18.23.38.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 23:38:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=NedFf5gf; dkim=pass header.i=@paragon-software.com header.s=mail header.b=WUhCjrIu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=paragon-software.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 5B306826E620; Wed, 18 Oct 2023 23:37:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232795AbjJSGhm (ORCPT + 99 others); Thu, 19 Oct 2023 02:37:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232788AbjJSGhl (ORCPT ); Thu, 19 Oct 2023 02:37:41 -0400 Received: from relayaws-01.paragon-software.com (relayaws-01.paragon-software.com [35.157.23.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D24A9122; Wed, 18 Oct 2023 23:37:38 -0700 (PDT) Received: from relayfre-01.paragon-software.com (unknown [172.30.72.12]) by relayaws-01.paragon-software.com (Postfix) with ESMTPS id 84E0D1D37; Thu, 19 Oct 2023 06:31:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1697697095; bh=+tR/SuZ12C+bYNNqeuZZw4rfTtUeq8KRTtUUgfqHkLs=; h=Date:To:CC:From:Subject; b=NedFf5gfh5tADmdDx5q86t6uEtubFn1wv2MeXjZx0+0yVTst4PvpV7UcjcBgrWvnr nEfQLilrW+VEiMJMfep48oPMi0Cf3spHQAV+J1jFSu3MuQnw5bOM/ntydf/szP2k7n V4XKnyoPdNcaOC0j70rk/lTnPP9/e0LCXWCGGw+c= Received: from dlg2.mail.paragon-software.com (vdlg-exch-02.paragon-software.com [172.30.1.105]) by relayfre-01.paragon-software.com (Postfix) with ESMTPS id 775971D0F; Thu, 19 Oct 2023 06:37:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1697697456; bh=+tR/SuZ12C+bYNNqeuZZw4rfTtUeq8KRTtUUgfqHkLs=; h=Date:To:CC:From:Subject; b=WUhCjrIuj9DWkUf07Y5v2FiNF+TvDI3o0/uSXL9Ll199ygCc/zw5rcBVgCHzjJo5V G08crjljCF8UbWRvbEydVcFvFp6ma8zpZ+LRh9dRx4uqDtHOdMcBtbYWFVMF+q1NOW Sz3PWmXq/OVhCp4PPzImCH0i/j+ks+hlKuYxm/SQ= Received: from [172.16.192.129] (192.168.211.127) by vdlg-exch-02.paragon-software.com (172.30.1.105) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Thu, 19 Oct 2023 09:37:35 +0300 Message-ID: Date: Thu, 19 Oct 2023 09:37:33 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: CC: , , From: Konstantin Komarovc Subject: [GIT PULL] ntfs3: bugfixes for 6.6 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [192.168.211.127] X-ClientProxiedBy: vobn-exch-01.paragon-software.com (172.30.72.13) To vdlg-exch-02.paragon-software.com (172.30.1.105) X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 18 Oct 2023 23:37:57 -0700 (PDT) Hi Linus, Please pull this branch containing ntfs3 code for 6.6. Fixed: - memory leak; - some logic errors, NULL dereferences; - some code was refactored. Added: - more checks. All changed code was in linux-next branch for several weeks. Regards, Konstantin ---------------------------------------------------------------- The following changes since commit 0bb80ecc33a8fb5a682236443c1e740d5c917d1d:    Linux 6.6-rc1 (Sun Sep 10 16:28:41 2023 -0700) are available in the Git repository at:    https://github.com/Paragon-Software-Group/linux-ntfs3.git ntfs3_for_6.6 for you to fetch changes up to e4494770a5cad3c9d1d2a65ed15d07656c0d9b82:    fs/ntfs3: Avoid possible memory leak (Mon Sep 25 12:48:07 2023 +0800) ---------------------------------------------------------------- Gabriel Marcano (1):   fs/ntfs3: Fix directory element type detection Konstantin Komarov (14):   fs/ntfs3: Add ckeck in ni_update_parent()   fs/ntfs3: Write immediately updated ntfs state   fs/ntfs3: Use kvmalloc instead of kmalloc(... __GFP_NOWARN)   fs/ntfs3: Add more attributes checks in mi_enum_attr()   fs/ntfs3: fix deadlock in mark_as_free_ex   fs/ntfs3: Fix shift-out-of-bounds in ntfs_fill_super   fs/ntfs3: Use inode_set_ctime_to_ts instead of inode_set_ctime   fs/ntfs3: Allow repeated call to ntfs3_put_sbi   fs/ntfs3: Fix alternative boot searching   fs/ntfs3: Refactoring and comments   fs/ntfs3: Add more info into /proc/fs/ntfs3//volinfo   fs/ntfs3: Do not allow to change label if volume is read-only   fs/ntfs3: Fix possible NULL-ptr-deref in ni_readpage_cmpr()   fs/ntfs3: Fix NULL pointer dereference on error in     attr_allocate_frame() Pavel Skripkin (1):   fs/ntfs3: Fix OOB read in ntfs_init_from_boot Su Hui (1):   fs/ntfs3: Avoid possible memory leak Zeng Heng (1):   fs/ntfs3: fix panic about slab-out-of-bounds caused by ntfs_list_ea() Ziqi Zhao (1):   fs/ntfs3: Fix possible null-pointer dereference in hdr_find_e()  fs/ntfs3/attrib.c   |  12 +++--  fs/ntfs3/attrlist.c |  15 ++++++-  fs/ntfs3/bitmap.c   |   4 +-  fs/ntfs3/dir.c      |   6 ++-  fs/ntfs3/file.c     |   4 +-  fs/ntfs3/frecord.c  |   8 +++-  fs/ntfs3/fslog.c    |   6 ++-  fs/ntfs3/fsntfs.c   |  19 ++++----  fs/ntfs3/index.c    |   3 ++  fs/ntfs3/inode.c    |   5 ++-  fs/ntfs3/namei.c    |   6 +--  fs/ntfs3/ntfs.h     |   2 +-  fs/ntfs3/ntfs_fs.h  |   4 +-  fs/ntfs3/record.c   |  74 ++++++++++++++++++++++++-------  fs/ntfs3/super.c    | 104 +++++++++++++++++++++++++++++++-------------  fs/ntfs3/xattr.c    |   7 ++-  16 files changed, 197 insertions(+), 82 deletions(-)