Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1522760pxb; Thu, 24 Mar 2022 23:32:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyw02kxrgqBRBZnn8ni/1/qvI8h66zDXzRHy0J7NO9/qnj1nT8vXFzd/YQXb2o8RK8wX8Eo X-Received: by 2002:a17:907:6ea1:b0:6d6:f910:5141 with SMTP id sh33-20020a1709076ea100b006d6f9105141mr9766976ejc.123.1648189927530; Thu, 24 Mar 2022 23:32:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648189927; cv=none; d=google.com; s=arc-20160816; b=dTfHIraUA3vD2NFPjAQUcfZ6EDn4gjSUtFcxAhaaW1yiaaLvRsxB3EJAWxsNeNzneJ /8sAhmDqbBF8UBhWbWXSwHMKanb5B1A3JiDFX0YT5k3s3wgo1FnWLJ+31EmSRYKZrpOY hhCZF59UPzpaASArMAqgqmQsHI5kjB+jRFOnu9TgW7CXodDr4PW9f11h9fEPyureDAz/ HKYVTr5xifjSKvl0NkN2mOzFRDOEsurJrJrytDkRIvIs4eGqV1vsRX+7McxR0c2G/Efp h5RfzWnTqHwkcEwJdV2OLiK5r3hNcloHpgdP39wA1lGHjlOBKJ/ZkOnUDJMnq1dA96q6 dAUw== 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:in-reply-to :references:mime-version:dkim-signature; bh=OHcnohF6goVq7JBxRHCvRlkPux4XGzCni0uGSevDn8c=; b=j8ERFauLJXQg6lg64+iMZQXidWto29e0AggB8+BoRkCay8utEZVwrL2TA2Pv0BzhIY qeLKQOk4a0raD609xcO3HNbFcGl1p0IGGfO/8ShmYJUK9Do3ThNvW53hzsOf2Ev3qwPz vZme2cwVJl0GnCBnKXNbZViqzvwEBOcwBISGlJ1z0rPP2zWjVHFQRfayHKDje97Jz6gS g/rg40lsMF2XOMk7u1LwPAANqIZZ1kMlqVRMR5nRnoBG2eWBNP2NAv3nsbC+KRLTTfSl 3SiO3L6ce4MPzlFkWuBzX4BOD3fPWN8gmUefk/G0aXhF4efuAurgcylfDtPDMhxogc2s IYDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=YHAaIesE; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bs1-20020a056402304100b00418c2b5be4asi1784425edb.300.2022.03.24.23.31.30; Thu, 24 Mar 2022 23:32:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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=@google.com header.s=20210112 header.b=YHAaIesE; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244796AbiCYGUj (ORCPT + 99 others); Fri, 25 Mar 2022 02:20:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245719AbiCYGUf (ORCPT ); Fri, 25 Mar 2022 02:20:35 -0400 Received: from mail-yw1-x112f.google.com (mail-yw1-x112f.google.com [IPv6:2607:f8b0:4864:20::112f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2F8153E15 for ; Thu, 24 Mar 2022 23:19:00 -0700 (PDT) Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-2e6ceb45174so33102407b3.8 for ; Thu, 24 Mar 2022 23:19:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OHcnohF6goVq7JBxRHCvRlkPux4XGzCni0uGSevDn8c=; b=YHAaIesEtaUsqmDpxvbXXRBUIee2FtJzmyPY4rn9EDAOQXNjMsmJ6PxCN+/qNnhbL2 cTbHG9CmcM8Cb14+C02T7Btyb9ee+JNRck8cU6Q65IZikCfUvPFNPpEMjmYWicElfxbc DxtFtwLZJJ68JCDrjTTgTdnoPhRHtkdedeZ3VlZJbS0FNehLYoQk0hRMHDvyxWQhiZYn Fs6tgqw6hys0TuVRQ4Q3eorl08MthYi1Of4dLtJBddZELVQXshNeNzAiNYN76dXh8S0C mDpWwBTfoFx29JbWYkR7wx9K1VeS1SZs3phaLl25x+2i3SnHLh38WmorIPrv8dbQa4h1 yW9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OHcnohF6goVq7JBxRHCvRlkPux4XGzCni0uGSevDn8c=; b=SzDTI+ju1wNM6gnnZ6OLAv//OpYG5cT9wg130MkPf6/RL34EbdORcNyo2wXO4dJh64 PSd4LAEd6uF4SWr67EPm7QN4lNZC0vya7tbceQfbvynyD6TcGuR4dvGa6Ja8hwchHifn f9epqyjkORKU/8eGwBOBZTtJGtiZqrWxvrKDN4/ZXjA7My9l0b3TsJwFkm+6gOocP1+K dXGAt1nQH0P3rLlJPdkA9qymn4hwluqMC0uPeMYsqeqY0G8nWZaaFJzTdAiiXONLjznO 9T5p7Q4O5rA/U5zXoE4gPJgJyCtUf1ZS28eDLZznmu8WXow4X6iJ5ACwVkVJ78jA3xCX KfFQ== X-Gm-Message-State: AOAM532Mw6XZQYanQzXqoLor/FS5gBdW5nuIF7oB65GeHkTiSwEjnqw8 PoJzQmdrRGA8eW0oy2IVzvFWPuCEXXCO85NDoyQq1Q== X-Received: by 2002:a81:18c3:0:b0:2e5:da72:2383 with SMTP id 186-20020a8118c3000000b002e5da722383mr8960656ywy.338.1648189139773; Thu, 24 Mar 2022 23:18:59 -0700 (PDT) MIME-Version: 1.0 References: <00000000000079c56a05ba1c18c3@google.com> <000000000000b8cdba05dae41558@google.com> In-Reply-To: <000000000000b8cdba05dae41558@google.com> From: Dmitry Vyukov Date: Fri, 25 Mar 2022 07:18:48 +0100 Message-ID: Subject: Re: [syzbot] KASAN: use-after-free Read in ext4_xattr_set_entry (4) To: syzbot Cc: adilger.kernel@dilger.ca, cmaiolino@redhat.com, lczerner@redhat.com, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, sjc@chobot.com, syzkaller-bugs@googlegroups.com, tytso@mit.edu, wanjiabing@vivo.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-15.1 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SORTED_RECIPS,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=no 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-ext4@vger.kernel.org On Wed, 23 Mar 2022 at 16:07, syzbot wrote: > > syzbot suspects this issue was fixed by commit: > > commit 6e47a3cc68fc525428297a00524833361ebbb0e9 > Author: Lukas Czerner > Date: Wed Oct 27 14:18:52 2021 +0000 > > ext4: get rid of super block and sbi from handle_mount_ops() > > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=100bc10b700000 > start commit: f8ad8187c3b5 fs/pipe: allow sendfile() to pipe again > git tree: upstream > kernel config: https://syzkaller.appspot.com/x/.config?x=96b123631a6700e9 > dashboard link: https://syzkaller.appspot.com/bug?extid=4cb1e27475bf90a9b926 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11131f94d00000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=15c3761b500000 > > If the result looks correct, please mark the issue as fixed by replying with: > > #syz fix: ext4: get rid of super block and sbi from handle_mount_ops() > > For information about bisection process see: https://goo.gl/tpsmEJ#bisection Looks reasonable: #syz fix: ext4: get rid of super block and sbi from handle_mount_ops()