Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6426138rdb; Thu, 14 Dec 2023 19:40:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IGabe8lTqQop4Nyglt56wT6/Ubi1rfzTe09qTHEvjHlDUokjexdZuQcMHLgBa78UadRCQmT X-Received: by 2002:a05:6000:108:b0:336:4333:36b7 with SMTP id o8-20020a056000010800b00336433336b7mr1841251wrx.44.1702611616870; Thu, 14 Dec 2023 19:40:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702611616; cv=none; d=google.com; s=arc-20160816; b=CAdvXY21jZxtRUa3DbSVlo07G5akEHMt8M5DNuo7fcO8WFDY8/QmUORF0gQ100WR9k x7CIkopumbuMpsNkSiHIABUReY8iQEXP2OGNerPn7ODmQcKMP1lKGLjf6eMy9pBx1ovf e6CLtxySpcDVKtnVLnMYsXKjA0Eh0vLBTvSDiMevWm00fOrlhny5WXrBEmDA8Mlc4k1X kgMR/OthJbTqvYwK2XCDXqbz3vpoBqCQrNzFstfXNvo54PPnoryVTlWf/Mr7FlhY811y aIu/Gl+OWl9IqgutglZfH1kFk1cJiPT9IlzulSyAMf1uPItEeWS/n6cot3txcXkkMGi2 GeTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:from:subject:message-id:in-reply-to:date:mime-version :list-unsubscribe:list-subscribe:list-id:precedence; bh=pSaIQIqd/QORZpsZ+d2cPowFJAK+J3HlcmHirpV0cAU=; fh=ASkzh1hihoqljkDw3HfUYnTGfH8gTlTbXU5VCwnW0rg=; b=LiCDcm2bT9zINYETpYC3kTfacRjUrauUsBZyU8g7FwilJhWG1Jhr+NzxiFMpoKeUvF W1Qe/mDgCfGDQDQEfzAulRTLDL+u6OrcZFkTBZpIXueiQQ0z7HVq9CfYUXzIhtMMV9yf sJLzYXuE+cdqsDmIRBIb2HFOIDpg1Sg49KIa9jnz7GYN+B6MtjXBG4/TfVya2NuM/QzM IWb5HOXQCNVXApILijEGJbWW+nJ66b3M2uoC9sPe1hYWUug5fwMH1YG/yAc/196e0u9Y DJ3gONJ9WroMs+dx2GbsiYgUWlGrlEhFv7UA6oDWfl8j0cAFFC6NbDWHmoviNW2l00is pr5w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-412-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-412-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id lz24-20020a170906fb1800b00a1db7aae2e4si6488977ejb.669.2023.12.14.19.40.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 19:40:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-412-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-412-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-412-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 9D6D41F22F2A for ; Fri, 15 Dec 2023 03:40:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 561CD566C; Fri, 15 Dec 2023 03:40:09 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mail-io1-f69.google.com (mail-io1-f69.google.com [209.85.166.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9148F5382 for ; Fri, 15 Dec 2023 03:40:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-io1-f69.google.com with SMTP id ca18e2360f4ac-7b705896cb2so31145939f.3 for ; Thu, 14 Dec 2023 19:40:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702611606; x=1703216406; 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=pSaIQIqd/QORZpsZ+d2cPowFJAK+J3HlcmHirpV0cAU=; b=qhyv3RIk86nmoKaJn+F861pkJjw0adNEF0JSc7rkHVs5nEb80TQ8RgAqfzgme79izC u6mO6RIeI7ZktqupGkOxL1IE/uGG+BZkp1GiaUFVzfqxScgUMl0rMpqjGvQBslr4kNDI U7LXnM+Mu909w0xaX7bijyF2VGqIWLWiLuJdQmGj7RUCB+1tTdwTDAgIXrEdD0c0MGa8 Og/KUJwECWYieXZRMMUIrIpfSZX9l/T3WEUlM4kKsHLseAw9p75xUJlPAsPteiWsTxvH oIF/Fgo7I91cHDk/D77nqRZVJvYyYT/Msm6A+RTv7HXh/yUCpEgeHwbD3zNAD+H8h2wT 8zBw== X-Gm-Message-State: AOJu0Yy78aZbZcqjqbUksfGzq7fsUIfIaHyQ3htXhfa0PHIukhKYvAgY BJ1XyTLSBB4wUev+t9s2upT7cNCMrVch1Pw3FDtQHd/ZTgUx Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6638:1445:b0:463:faca:4c48 with SMTP id l5-20020a056638144500b00463faca4c48mr219497jad.4.1702611606795; Thu, 14 Dec 2023 19:40:06 -0800 (PST) Date: Thu, 14 Dec 2023 19:40:06 -0800 In-Reply-To: X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000037b48060c8428ff@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" 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: 1 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/17/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 19 aa a8 ff e9 ad ed ff ff e8 bf 2f 55 ff <0f> 0b e8 b8 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: ffff8880684f6e50 RCX: 0000000000000000 RDX: ffff888016649dc0 RSI: ffffffff82306c91 RDI: 0000000000000007 RBP: ffffc900000f75f0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001 R13: ffff88807e006678 R14: ffff8880684f70b0 R15: 7fffffffffffffff FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f07671c7650 CR3: 000000002a381000 CR4: 0000000000350ee0 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 19 aa a8 ff e9 ad ed ff ff e8 bf 2f 55 ff <0f> 0b e8 b8 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: ffff8880684f6e50 RCX: 0000000000000000 RDX: ffff888016649dc0 RSI: ffffffff82306c91 RDI: 0000000000000007 RBP: ffffc900000f75f0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001 R13: ffff88807e006678 R14: ffff8880684f70b0 R15: 7fffffffffffffff FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f07671c7650 CR3: 0000000029b19000 CR4: 0000000000350ee0 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=135a5e3ee80000 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=100bda1ee80000