Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5258993rdb; Wed, 13 Dec 2023 03:56:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IG8IW9FkAxZmi1WSzD8paWo63uWgAf+HrZEETK1GkJmrEYqvqAIoRh8wE+bkEntFrhddkUN X-Received: by 2002:a17:903:2303:b0:1d0:6ffd:e2c5 with SMTP id d3-20020a170903230300b001d06ffde2c5mr10122468plh.95.1702468587762; Wed, 13 Dec 2023 03:56:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702468587; cv=none; d=google.com; s=arc-20160816; b=C5NKwbu9l001l4JlWq6IwTG+eT3nul91FmZ9dqbvnZ7n3dDwAAx3tjm3StsP3XaPSI +GymAYA+aafXPsfzynT/hsD2rjkni1rLHlfK0gN+ihyfFsINRGa/2hDza45w0BE6h5CL mQgu/MVZsEgVX0RJYxuwNrYCiNxGUzx6d/ZsEj0kOEQi922xGRp0RHr1GcVBsfg80wGB Rd0ROnGlJ9DxjDq5jShPXeJ+HzpcBqoTepUtohZ+LNw+i5po7YtLNJO585KcnyeGceF+ 5WS+63X0yjmwdub+iP19TZf2nrRRZgKocFSjiFvcMxDjm8nowibV38klckzu3wU117+U 0DKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:message-id:in-reply-to:date :mime-version; bh=72HNi6AbpaEgv+rI78YtWOIoCer2iNuEb00Lz0/QMD4=; fh=ASkzh1hihoqljkDw3HfUYnTGfH8gTlTbXU5VCwnW0rg=; b=A50ZdAoKKJOKnRC+W0DCMG0azmkjzav+Ouh7U1WINpycjkwtphh32Z/WoEHi8JCfYN BRuE+MW8BMbyox6jcQT/KS3QAZtS6pPlkCMY0pbwh5JlpA4R0ILIhdX63weS4XoMUnE3 eqvQ9Y+irLL14cTjJGU3ldjCT5LLU7+/+xHe5EUcozJLCSDSntx3zr12jPqkzabpHZra mS4hRIZnEGOnmdFWOSGGd2dDFoLinLrohcwdIewWLnnFOhB8T9dIVw/0KWGW4Xvsk1l6 mS6+hioH8CyEALzmEE20dai7x4ro0yZGK36FGINEeCjRxDY+l0ldLUALLykuCd55rcuk dLfA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id p8-20020a1709026b8800b001d3482dc1b4si1566071plk.369.2023.12.13.03.56.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 03:56:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id D8937806E3C5; Wed, 13 Dec 2023 03:56:24 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233403AbjLML4H (ORCPT + 99 others); Wed, 13 Dec 2023 06:56:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378838AbjLML4A (ORCPT ); Wed, 13 Dec 2023 06:56:00 -0500 Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D6B8B0 for ; Wed, 13 Dec 2023 03:56:05 -0800 (PST) Received: by mail-pg1-f199.google.com with SMTP id 41be03b00d2f7-5ca4ee5b97aso48734a12.1 for ; Wed, 13 Dec 2023 03:56:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702468564; x=1703073364; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=72HNi6AbpaEgv+rI78YtWOIoCer2iNuEb00Lz0/QMD4=; b=tEFf7CMgsV9jE1/g7oUb9/m4unsq0P8BxZyJWnfKrK7ZX6k2UkmmwxYfBbBe8Aw/Bv X0tPq3iiJoxvJQ/KcZ3Gie8ZepnP6Xag3UMJycjgjBmeqs0m7FuNEGq/MkMFUKhBPq+e CvibBObHfJ0ZemMhgR1592UR39ktOtiulr19x8KzNUXVD9bbGlj9x2Yp0lo0moCxpQ7U buM7ET9dAQsg7iApIrkMT2n4EwHXiB4ivtUaBgmqrG8zr3UFwBcTWYmMYpz3/mKvOBE0 4/bcv/PmUUvLGJnjlOONQW65JzEkcYAeD7sk9Uf96q9Ev5cZRC6Y3xhSjPTm7Mpmn66G RgCA== X-Gm-Message-State: AOJu0YzZQ4oyPRcoRUwqHyWnPNdLvTlO+9TdP31SYO6YYf2ox2qGURTv dkmb7jdUmQQdC8zyM4R86jp+BVbroo+KkbBTyr6Gs/1TuAPS MIME-Version: 1.0 X-Received: by 2002:a65:62da:0:b0:5ca:4060:b1f4 with SMTP id m26-20020a6562da000000b005ca4060b1f4mr68534pgv.5.1702468564550; Wed, 13 Dec 2023 03:56:04 -0800 (PST) Date: Wed, 13 Dec 2023 03:56:04 -0800 In-Reply-To: X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000080e3d060c62da64@google.com> Subject: Re: [syzbot] [ext4?] kernel BUG in ext4_write_inline_data From: syzbot To: eadavis@qq.com, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.4 required=5.0 tests=FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Wed, 13 Dec 2023 03:56:25 -0800 (PST) Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: kernel BUG in ext4_do_writepages ------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2587! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 10 Comm: kworker/u4:0 Not tainted 6.4.0-rc3-syzkaller-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 Workqueue: writeback wb_workfn (flush-7:0) RIP: 0010:ext4_do_writepages+0x27a1/0x34a0 fs/ext4/inode.c:2587 Code: fc ff df 44 89 64 24 18 48 c1 ea 03 80 3c 02 00 0f 84 bc ed ff ff 48 8b 7c 24 08 e8 49 aa a8 ff e9 ad ed ff ff e8 ef 2f 55 ff <0f> 0b e8 e8 2f 55 ff 48 8b 84 24 b0 00 00 00 48 8d 78 40 48 b8 00 RSP: 0018:ffffc900000f73e8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88807592bc50 RCX: 0000000000000000 RDX: ffff888016a41dc0 RSI: ffffffff82306c61 RDI: 0000000000000007 RBP: ffffc900000f75f0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001 R13: ffff88802aede678 R14: ffff88807592beb0 R15: 7fffffffffffffff FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000561e569a2950 CR3: 000000002a00e000 CR4: 0000000000350ef0 Call Trace: ext4_writepages+0x30b/0x780 fs/ext4/inode.c:2792 do_writepages+0x1b4/0x690 mm/page-writeback.c:2551 __writeback_single_inode+0x158/0xe70 fs/fs-writeback.c:1603 writeback_sb_inodes+0x599/0x1010 fs/fs-writeback.c:1894 wb_writeback+0x2ca/0xa90 fs/fs-writeback.c:2068 wb_do_writeback fs/fs-writeback.c:2211 [inline] wb_workfn+0x29c/0xfd0 fs/fs-writeback.c:2251 process_one_work+0x9f9/0x15f0 kernel/workqueue.c:2405 worker_thread+0x687/0x1110 kernel/workqueue.c:2552 kthread+0x33a/0x430 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_do_writepages+0x27a1/0x34a0 fs/ext4/inode.c:2587 Code: fc ff df 44 89 64 24 18 48 c1 ea 03 80 3c 02 00 0f 84 bc ed ff ff 48 8b 7c 24 08 e8 49 aa a8 ff e9 ad ed ff ff e8 ef 2f 55 ff <0f> 0b e8 e8 2f 55 ff 48 8b 84 24 b0 00 00 00 48 8d 78 40 48 b8 00 RSP: 0018:ffffc900000f73e8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88807592bc50 RCX: 0000000000000000 RDX: ffff888016a41dc0 RSI: ffffffff82306c61 RDI: 0000000000000007 RBP: ffffc900000f75f0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001 R13: ffff88802aede678 R14: ffff88807592beb0 R15: 7fffffffffffffff FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f629e29e378 CR3: 000000000c772000 CR4: 0000000000350ef0 Tested on: commit: 44c026a7 Linux 6.4-rc3 git tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git console output: https://syzkaller.appspot.com/x/log.txt?x=12c7b6fae80000 kernel config: https://syzkaller.appspot.com/x/.config?x=e2045748b9f1055b dashboard link: https://syzkaller.appspot.com/bug?extid=f4582777a19ec422b517 compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 patch: https://syzkaller.appspot.com/x/patch.diff?x=133a9fbce80000