From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) (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 8F49B21B192 for ; Fri, 21 Nov 2025 04:18:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763698732; cv=none; b=WKDTSafUgzVdeoFjQbpotMcy3iE/q5pySPUzTTDQLRebhA5qF5zcRjGgdnSnxbUAVtQTlULkz1umjaE/o91QtA7Ce26nMBZA8wmv4e8SGcZV+87WqWr4ojdtMlQehiU32THu72wIa4mdNlLinv7sC2ADToFM9DsMlIb9Pb9Xn5w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763698732; c=relaxed/simple; bh=T6rBT4Uzv7sDB0ue5DIKWdb9g3SBuVNMxDcWQKtx5Mk=; h=MIME-Version:Date:Message-ID:Subject:From:To:Cc:Content-Type; b=Roq2jNyTrea2qkgv1Tv6+nRuOw3HUJlI6eMeSJVIG+lcroIiD1p+dDGMhytoXLuORv7BXLlP+kfRfJFn50cTkECoNwgxJ3zn/14W6XizaQfiBDWXkn+fwoSmE2EFRBafUcYEMs7y03vsI6zNzy7vkoxAtEd+jiHliEACXsb0X4I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.166.72 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-f72.google.com with SMTP id ca18e2360f4ac-948cc59142aso141872839f.1 for ; Thu, 20 Nov 2025 20:18:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763698729; x=1764303529; h=cc:to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=akwZYKe9zgquP7NNtyzkcXl/TQrpR/UQ1OYhORl4uI8=; b=pY02skq3FttSd5JvFW5vfwBjifNbWlclYC1vZU8HoiUKAIBZqdhacdaTCWW+DVrMNy CicLqagRC2LMvbmXvmkVdEHHd7JNPpxdhDWjxcUfOiQt6gLydNZvuqUkJs97rVsp6wus 5asB9WV0RbbyxUhbgZX4tlSX9svtKrbUEJLmaIeUisZUR8i2QLtAWsNY5iW5uRxqeeem WNpMCjWz+JC+5Tmdwzz3TGs73HgoS0Xswh9XVBIIHfaN2QluKAck/IZoKIY8/WBk9QRc qvA8uqGmBfhXCYm2U1cTR9PJ0MOPerMGD6D/nnHA4BcohVd7COVm4iIQo4NK53u/iwSb 9NHg== X-Gm-Message-State: AOJu0YyDLWN8WRLqzIiYYzoEfeuGvL5fxdeSo9iESC5ZsBVOoWsr20/a 6dNM5couXd/ovDkvUfQHQLqo3sZM17UssShuJWn+y5EmiImNO1AE8cI1Xs8NATs5nVjr5pMT0qq ye0BLRPQYDj9Z0j6QoWLY8PkCmkW+T3+8BDyaXqIxNqnVO/4fWPjQ3V4Vbr4= X-Google-Smtp-Source: AGHT+IHYmQvH3KKYKzzVo1OlzS+T5G4/LpPtn0ARHgp5vkN562OfRVShwPGX1MBhSyyXVxqFAMc1hJByHLEsjnw2b9mVR0e+YlSz Precedence: bulk X-Mailing-List: syzbot@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6e02:194f:b0:433:2660:6856 with SMTP id e9e14a558f8ab-435b8e744b9mr12639415ab.31.1763698728788; Thu, 20 Nov 2025 20:18:48 -0800 (PST) Date: Thu, 20 Nov 2025 20:18:48 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <691fe828.a70a0220.d98e3.003c.GAE@google.com> Subject: [moderation/CI] Re: ext4: fix unaligned preallocation with bigalloc From: syzbot ci To: syzkaller-upstream-moderation@googlegroups.com Cc: syzbot@lists.linux.dev Content-Type: text/plain; charset="UTF-8" syzbot ci has tested the following series [v1] ext4: fix unaligned preallocation with bigalloc https://lore.kernel.org/all/20251121002209.416949-2-eraykrdg1@gmail.com * [PATCH] ext4: fix unaligned preallocation with bigalloc and found the following issue: kernel BUG in ext4_mb_new_inode_pa Full report is available here: https://ci.syzbot.org/series/5fbb06a2-0d5c-4936-94b6-d73abad55373 *** kernel BUG in ext4_mb_new_inode_pa tree: torvalds URL: https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux base: 23cb64fb76257309e396ea4cec8396d4a1dbae68 arch: amd64 compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 config: https://ci.syzbot.org/builds/3beb0e0f-6449-481d-8a5c-870149d28caf/config C repro: https://ci.syzbot.org/findings/891b93f7-ef7e-4890-8c4b-ed438fa3fa28/c_repro syz repro: https://ci.syzbot.org/findings/891b93f7-ef7e-4890-8c4b-ed438fa3fa28/syz_repro loop0: detected capacity change from 0 to 1024 EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: none. ------------[ cut here ]------------ kernel BUG at fs/ext4/mballoc.c:5312! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 5990 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:ext4_mb_new_inode_pa+0x144e/0x1520 fs/ext4/mballoc.c:5312 Code: 5d 04 00 eb 2c e8 42 d8 43 ff 90 0f 0b e8 3a d8 43 ff 90 0f 0b e8 32 d8 43 ff eb 3c e8 2b d8 43 ff 90 0f 0b e8 23 d8 43 ff 90 <0f> 0b e8 1b d8 43 ff 31 f6 65 ff 0d 82 24 f2 0f 0f 94 c3 40 0f 94 RSP: 0018:ffffc900037c6a88 EFLAGS: 00010293 RAX: ffffffff827c2b9d RBX: 0000000000000201 RCX: ffff8881ba628000 RDX: 0000000000000000 RSI: 0000000000000201 RDI: 0000000000000210 RBP: 0000000000000190 R08: ffffea000418ec37 R09: 1ffffd4000831d86 R10: dffffc0000000000 R11: fffff94000831d87 R12: 0000000000000004 R13: ffff88801b03f2b8 R14: dffffc0000000000 R15: 0000000000000210 FS: 0000555557696500(0000) GS:ffff88818eb3b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f863fff CR3: 000000016b520000 CR4: 00000000000006f0 Call Trace: ext4_mb_try_best_found+0x33e/0x440 fs/ext4/mballoc.c:2389 ext4_mb_regular_allocator+0x9fa/0x2970 fs/ext4/mballoc.c:3040 ext4_mb_new_blocks+0xd11/0x4720 fs/ext4/mballoc.c:6319 ext4_ext_map_blocks+0x161a/0x6ac0 fs/ext4/extents.c:4383 ext4_map_create_blocks fs/ext4/inode.c:609 [inline] ext4_map_blocks+0x860/0x1740 fs/ext4/inode.c:811 _ext4_get_block+0x200/0x4c0 fs/ext4/inode.c:910 ext4_get_block_unwritten+0x2e/0x100 fs/ext4/inode.c:943 ext4_block_write_begin+0x993/0x1710 fs/ext4/inode.c:1198 ext4_write_begin+0xc04/0x19a0 fs/ext4/ext4_jbd2.h:-1 ext4_da_write_begin+0x445/0xda0 fs/ext4/inode.c:3129 generic_perform_write+0x2c5/0x900 mm/filemap.c:4254 ext4_buffered_write_iter+0xce/0x3a0 fs/ext4/file.c:299 ext4_file_write_iter+0x298/0x1bc0 fs/ext4/file.c:-1 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/0xb30 fs/read_write.c:686 ksys_pwrite64 fs/read_write.c:793 [inline] __do_sys_pwrite64 fs/read_write.c:801 [inline] __se_sys_pwrite64 fs/read_write.c:798 [inline] __x64_sys_pwrite64+0x193/0x220 fs/read_write.c:798 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3f2c38f6c9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff15880d18 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00007f3f2c5e5fa0 RCX: 00007f3f2c38f6c9 RDX: 0000000000000001 RSI: 00002000000005c0 RDI: 0000000000000004 RBP: 00007f3f2c411f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000004fed0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f3f2c5e5fa0 R14: 00007f3f2c5e5fa0 R15: 0000000000000004 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_mb_new_inode_pa+0x144e/0x1520 fs/ext4/mballoc.c:5312 Code: 5d 04 00 eb 2c e8 42 d8 43 ff 90 0f 0b e8 3a d8 43 ff 90 0f 0b e8 32 d8 43 ff eb 3c e8 2b d8 43 ff 90 0f 0b e8 23 d8 43 ff 90 <0f> 0b e8 1b d8 43 ff 31 f6 65 ff 0d 82 24 f2 0f 0f 94 c3 40 0f 94 RSP: 0018:ffffc900037c6a88 EFLAGS: 00010293 RAX: ffffffff827c2b9d RBX: 0000000000000201 RCX: ffff8881ba628000 RDX: 0000000000000000 RSI: 0000000000000201 RDI: 0000000000000210 RBP: 0000000000000190 R08: ffffea000418ec37 R09: 1ffffd4000831d86 R10: dffffc0000000000 R11: fffff94000831d87 R12: 0000000000000004 R13: ffff88801b03f2b8 R14: dffffc0000000000 R15: 0000000000000210 FS: 0000555557696500(0000) GS:ffff88818eb3b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f863fff CR3: 000000016b520000 CR4: 00000000000006f0 *** If these findings have caused you to resend the series or submit a separate fix, please add the following tag to your commit message: Tested-by: syzbot@syzkaller.appspotmail.com --- This report is generated by a bot. It may contain errors. syzbot ci engineers can be reached at syzkaller@googlegroups.com. The email will later be sent to: [adilger.kernel@dilger.ca albinbabuvarghese20@gmail.com david.hunter.linux@gmail.com eraykrdg1@gmail.com linux-ext4@vger.kernel.org linux-kernel@vger.kernel.org skhan@linuxfoundation.org syzbot@syzkaller.appspotmail.com tytso@mit.edu] If the report looks fine to you, reply with: #syz upstream