Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp119460iof; Sun, 5 Jun 2022 22:57:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXhJbL15n18pKipcQ6wQNXHkwFgQyYIe+1ZGleGos5iGd/X+GCG57a1vVqJVzSzT/Hey5o X-Received: by 2002:a17:902:ebd1:b0:162:224f:abbb with SMTP id p17-20020a170902ebd100b00162224fabbbmr22454227plg.160.1654495066804; Sun, 05 Jun 2022 22:57:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654495066; cv=none; d=google.com; s=arc-20160816; b=1GlHJyckVQOJpwcbsDtfQhPv3hw8UYS7D86Wr2fXcmWZXNwVmQveJ77GoA99rOy3Z/ 2J/O4ix/CCU9X4T9wWb3KTdczvbz8B2898ZOYf51EmWbjdgotlF3W1f3leRNpg9YIG01 VEMlT0nUly1rJlVa+im7HZLbvyN9XCAQMHsWInAAttH/th3VzpVef5DJHaafUuGzAjKV ymFfTIvZrAY+7Ivusuk/8/kx2izjTi3EL4wIIfsXZmrmRs9tA82dHVQxq62xZgnVr2ur 8JIVIWIERNEKci58j9SWD8WP262fyKNcLC+99Qud8JgKhKOr2Xrept5VXObcV1CsQHiV zy+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=8SwrRgdR9JzGwBlcOs2mbd+GmNcjHpu3NUyHm9CLdNI=; b=DoagzRxfoAspiTuzptUgr0BUJ88evwHc1NgyAIAcC26t1mTzVubSjwxdMfYqAap8IL 4bODBbnmyNlV+LBBxvtlhGtfLX6dRVrYYUaz9AlcgYojrnyEkjni+eU9FFegUZSR+8q6 LkYiFnsz4RDGhmsgw3zfrW/fXyzRomKbMAgCqjetCwDPzTEws6k6KawQx1nkDeLpdMIt lKGRTV7d2u3P0rIIiq4jwlCL1oYTlxDqiOsx8ty8ViNscP5agCCrWo4U9TWiGpQzvrJT WUgWL7RR6f1Tar726YaK6Y6CRaUm0NmNTHpx5eqeGU21lXWmD25jmpi5+CmtEr3Cqaxs b3Sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fJRtLtsU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id t3-20020a634443000000b003f610ec0f1fsi21081279pgk.31.2022.06.05.22.57.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 22:57:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fJRtLtsU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0EACB205E6; Sun, 5 Jun 2022 21:46:11 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235568AbiFDLm2 (ORCPT + 99 others); Sat, 4 Jun 2022 07:42:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232920AbiFDLm0 (ORCPT ); Sat, 4 Jun 2022 07:42:26 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0739EBA0 for ; Sat, 4 Jun 2022 04:42:25 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id b12so66505ljq.3 for ; Sat, 04 Jun 2022 04:42:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to; bh=8SwrRgdR9JzGwBlcOs2mbd+GmNcjHpu3NUyHm9CLdNI=; b=fJRtLtsU2bmtIOImkMpo8PQCkECthFAt0naWKfmu7nEPH15Q8RdZ/VI1Q7BX18nzHN uhXZge2i3oZNWw+V6FccO72+UoCPRVnm7iflWmQ+7NBOyBunV9/tPpxK3bhgHrwNezzZ ZSQV40OJyK5UbIvPil9N67HGSskpGRmvl0Pcu+myI2sVVifo54xjfUFCzAwjZ2CMncB5 X95snmBkoiuoFcqbkCnspfSVeZtW4y7AI9fI5xTzULyxYK+f+zOKf6lWP5w6WOh0kXQY qFJlRWXEWAY14jolG2yFdi9jg/q3k9XEuAkt81VUpYNPNXkaL4yNHitEpuvyqx2EblR5 5RFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to; bh=8SwrRgdR9JzGwBlcOs2mbd+GmNcjHpu3NUyHm9CLdNI=; b=WoJ3vqSrtX1COWZ5C+q/o4jsrvtIO+iT6Xc3wDrOUgRn5BNDHYMFJmAlp+O9n+ntY6 E1wxEhHQQzEd4KunVDaQwn1pmm6ZQsZCId06lsTcUP3HhwUPrD1YVJa8HOeXfS2NUk65 YL4xJI8wlcHKH/jlOg4hgYm/Qmyt4hi6CpRfJndVSD951KdsxTFYRtuI6oP2OK2e5tqJ 9v37AWIN+jhcMpwMJDfFvZgxCa//4yy4z25uSdToN+Kh7uRe9pjFdXx2/gR4a3D90WJF CDIBYYSGeS9/KB63y94BQEMiPY9iRHjCeVCTJT0Ws+Lha+qsG+ihC9gb/wWjDia8kk+F XoRg== X-Gm-Message-State: AOAM5338R/duuBH6B9MRhzdYtloUswqXhg7lA/sJOJmNamob87uyq5Mw /LL9eNdb1ZOhn5DpQ9630iM= X-Received: by 2002:a2e:a4da:0:b0:255:799e:218a with SMTP id p26-20020a2ea4da000000b00255799e218amr5695333ljm.195.1654342943139; Sat, 04 Jun 2022 04:42:23 -0700 (PDT) Received: from [192.168.1.11] ([46.235.67.4]) by smtp.gmail.com with ESMTPSA id l10-20020a056512110a00b004791c4858e0sm743048lfg.114.2022.06.04.04.42.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 04 Jun 2022 04:42:22 -0700 (PDT) Message-ID: <89d2979c-7e8a-f63f-327e-1969a4c03c11@gmail.com> Date: Sat, 4 Jun 2022 14:42:20 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH 1/2] ntfs3: fix NULL deref in ntfs_update_mftmirr Content-Language: en-US To: almaz.alexandrovich@paragon-software.com, ntfs3@lists.linux.dev, linux-kernel@vger.kernel.org Cc: syzbot+c95173762127ad76a824@syzkaller.appspotmail.com References: <85293dd018cae78e4d48d74ca77710b11eed59ba.1650574393.git.paskripkin@gmail.com> From: Pavel Skripkin In-Reply-To: <85293dd018cae78e4d48d74ca77710b11eed59ba.1650574393.git.paskripkin@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------FBHa9shtdytwPV0otyLwX20K" X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------FBHa9shtdytwPV0otyLwX20K Content-Type: multipart/mixed; boundary="------------5k9b1s0YW701NL8kLjgffOzh"; protected-headers="v1" From: Pavel Skripkin To: almaz.alexandrovich@paragon-software.com, ntfs3@lists.linux.dev, linux-kernel@vger.kernel.org Cc: syzbot+c95173762127ad76a824@syzkaller.appspotmail.com Message-ID: <89d2979c-7e8a-f63f-327e-1969a4c03c11@gmail.com> Subject: Re: [PATCH 1/2] ntfs3: fix NULL deref in ntfs_update_mftmirr References: <85293dd018cae78e4d48d74ca77710b11eed59ba.1650574393.git.paskripkin@gmail.com> In-Reply-To: <85293dd018cae78e4d48d74ca77710b11eed59ba.1650574393.git.paskripkin@gmail.com> --------------5k9b1s0YW701NL8kLjgffOzh Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gNC8yMS8yMiAyMzo1MywgUGF2ZWwgU2tyaXBraW4gd3JvdGU6DQo+IElmIG50ZnNfZmls bF9zdXBlcigpIHdhc24ndCBjYWxsZWQgdGhlbiBzYmktPnNiIHdpbGwgYmUgZXF1YWwgdG8g TlVMTC4NCj4gQ29kZSBzaG91bGQgY2hlY2sgdGhpcyBwdHIgYmVmb3JlIGRlcmVmZXJlbmNp bmcuIFN5emJvdCBoaXQgdGhpcyBpc3N1ZQ0KPiB2aWEgcGFzc2luZyB3cm9uZyBtb3VudCBw YXJhbSBhcyBjYW4gYmUgc2VlbiBmcm9tIGxvZyBiZWxvdw0KPiANCj4gRmFpbCBsb2c6DQo+ IG50ZnMzOiBVbmtub3duIHBhcmFtZXRlciAnaW9jaHZyc2V0Jw0KP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a3JpcGtpbiA8cGFza3JpcGtpbkBnbWFpbC5jb20+DQoNCmdl bnRsZSBwaW5nDQoNCg0KDQoNCldpdGggcmVnYXJkcywNClBhdmVsIFNrcmlwa2luDQo= --------------5k9b1s0YW701NL8kLjgffOzh-- --------------FBHa9shtdytwPV0otyLwX20K Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEER3XL3TplLQE8Qi40bk1w61LbBA0FAmKbRRwFAwAAAAAACgkQbk1w61LbBA3z oQ/+IAgmQPRhQh5nW1zoL/BL5+ZXBCnFTdcDlcTKTg1uyaFSML0HBLPrH5JzlUgjCd4KI0KfQ/u9 Qot9iQzJRMzcG5mZhE/4CqinvY4tOkFNiMmHF8Wy7tcFdnvb8gD4dqfCjD8kxjuaFVa6idm07+oP nRMzeM56W5cWFQ1nNjn9LT3HnEn8DQhWGyWim4+VnR5gMwtQjVjQp836Q/TxdzVOzDANyAZ/DtRk gBcRPz02VN26u5i57ZX6VV1/w2ghYwcN1kSbvbg2TZCR7r6XWOHv2A+t2N7raT50zjHH5tnpY/WT e6kqkppR9o5iIYQmJpZ6f9a2YGpKtNVA4klz0ZJDo0SHxSzOgUNtOAscW1N9gm0f6VQYmo3dXJDj lmVqxCw4Z8VQYHmm7mEEPn6xwX1yP+8phABOBd1STxjO+OaEUbSgIKBB0KdRZ6S6l5TzcORTwhdF K1i4NcCK0FgsmoEFeVM244+kGH2G+72tgDpx6R0ElCeDmn5TR6IkAvVQctvldfr65xk00OPRpNxQ jywh/H6ZoAQvb9Z6wgFZd9vivNfYh+jqtJwAmm0YqzTUJqubvJjtH7EVgNI0uS4b4EIMxOXumc/k Fqy+d4YD/lcUz3Pifl/9UqGYLvNDiEpsM1R69uxDdEo/dZy6sa9JCWEKj8xhddh2ozWwODsnSN7/ nKs= =DJ2z -----END PGP SIGNATURE----- --------------FBHa9shtdytwPV0otyLwX20K--