Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp977606rwe; Fri, 26 Aug 2022 20:13:10 -0700 (PDT) X-Google-Smtp-Source: AA6agR6zVUPFAxtyyOpv/TBY4uYSvzX2vq7yKCUaJ522H+htb7Yn64H8B8LQq2P/iBSvde47pppL X-Received: by 2002:a65:55c2:0:b0:42b:68a1:b392 with SMTP id k2-20020a6555c2000000b0042b68a1b392mr5526456pgs.24.1661569990388; Fri, 26 Aug 2022 20:13:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661569990; cv=none; d=google.com; s=arc-20160816; b=hyKMO8pTQQoS6GR6EK/GkJlKDbGO0CLm4nJVNfOZpHjDxtdsEqRbKhA1gfBdto45XD aMevcpl1zY4LtGQ4bWRRP6KZXQsgYgXwT3bP7ATxFcn6p94YSH4H/hROL/4rLfP+FN/q Oebq935fPyaos7mdngAX2ebBS/+PPTF5sA0J3iGq6vaRnxvG7vxvYXPoHtH7KvYXpLgD Is8G6j1qxavhIlEAxXkIyycfu5xG+pWe1WvL3+dMViF6URtAgD7+hz58zfLMYjLroPzw HJistIhB2tj7/nk5mavRd+va1zV8GY8NR2bCxdJmuu3+ubZX6D5sasDcq/xkPY8DIEMQ Q8lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=S5FEXLrb69K5p0rc/iA512DZJHz9q61K1AXYHw7tdtY=; b=YtdU1nzcMK83+aXPXDk2a2gBs7UHL+QQboVX4yqmgMoEGfuZVfQCFxUJxhpsIczOqX 0SCVTo1+TdB7keG4r+Lyajjx9236EVFDV1jPPvVEsGlk/zyywV+HgGcNCt33l98r24om 3Zf8acRgsFfp6tx1H2/7LccKSepKUV9wtBNOLOFcFWzjC9GYQV/PkrtiLPSaoBecRd1e sCUnjd4JKwWLqnFbu5Hhb0DES3ozjiHksPv16NJnuXMHNOpY6v+4uguNN5BS04w4n5ap qCSCZghM5ltKC+Fr45eeJLdZGJN8zOZua+ROJ/uGHoyA4EVj8lxa4M060FldBX4YBBOH i/zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=sHwFlZW4; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i25-20020aa78b59000000b00537a0e16156si3070260pfd.197.2022.08.26.20.12.59; Fri, 26 Aug 2022 20:13:10 -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=@linux-foundation.org header.s=korg header.b=sHwFlZW4; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345471AbiH0Cm2 (ORCPT + 99 others); Fri, 26 Aug 2022 22:42:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232623AbiH0Cm0 (ORCPT ); Fri, 26 Aug 2022 22:42:26 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF27CB1B9A for ; Fri, 26 Aug 2022 19:42:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 5DBF3B83372 for ; Sat, 27 Aug 2022 02:42:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5B13C433D7; Sat, 27 Aug 2022 02:42:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1661568143; bh=BzQgisio9PtGCcXkP6DuXkomBdR80sxgQAzQlaTAU1Q=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=sHwFlZW4Ka4JJJ0qfqwkfreNN7W0RFrnXYD8Aqg5cH8sTz5s65bTLdABtIV90ChZa dtKyubBf2GQVRkWcOwJRge7WRXG8vf02EbKITDgSFPmA5QYa5piHJ+GnJnbWi49Ak5 IphbDCWqw6jVrqt0WuBENJC/jb0AGRXOjA6sWiCw= Date: Fri, 26 Aug 2022 19:42:22 -0700 From: Andrew Morton To: Hawkins Jiawei Cc: Anton Altaparmakov , chenxiaosong2@huawei.com, linux-kernel@vger.kernel.org, linux-ntfs-dev@lists.sourceforge.net, syzbot+5f8dcabe4a3b2c51c607@syzkaller.appspotmail.com, syzkaller-bugs@googlegroups.com Subject: Re: [PATCH] ntfs: change check order in ntfs_attr_find Message-Id: <20220826194222.862bead1ae0a2483951884d3@linux-foundation.org> In-Reply-To: <20220826123257.3826-1-yin31149@gmail.com> References: <20220826122735.2690-1-yin31149@gmail.com> <20220826123257.3826-1-yin31149@gmail.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_HI, 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 On Fri, 26 Aug 2022 20:32:57 +0800 Hawkins Jiawei wrote: > > syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > > > > Looks like it is improper check order that causes this bug. um, what bug? > Sorry for wrong command. > #syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master Please prepare a full changelog for the next version? Describe the user-visible runtime effects of the bug, describe what the code does wrong and how the patch repairs it.