Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp526274lqr; Wed, 5 Jun 2024 12:52:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW/FiMGc7PpBWpceXCwQA8TY+WxzWtztt2BgaicBLFa44P7DJOC8mMBww/x4yEF6DFAONc2E6GkEckUqdMggHrs4gOqjGsfaHxL80WdCg== X-Google-Smtp-Source: AGHT+IGEXhXpER2aiaCd5NodHL0Wsv3vam3bxGfakyWx3EYmfr5EN511MNYk2IKO1kesHgWPB1Fd X-Received: by 2002:a5d:4529:0:b0:355:45e:11b4 with SMTP id ffacd0b85a97d-35e8ef65effmr2382818f8f.44.1717617176673; Wed, 05 Jun 2024 12:52:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717617176; cv=pass; d=google.com; s=arc-20160816; b=zeUcsPSioin95vwNx20imm/srZhwnWV+6EXaOPS6v1O6oPrmPfy5Af0uwJ/lFJtpLv UdT0OwTlvkuYjsqs4LTfWOKp7cQXaBGvCDofv3nIWFeEWTzRwChFy0dHJwIfa7VqFFyp yZSTCX2UeFSxOl+JNtKTweF3h1aRF9RF6/lf85usyZjGmokQQAU75+eEaRFbV6CGnjAC 3M8dN7xMl/RNChzy7GW4YxD9AAouQC5rZtUMkF8Uailtzfa47e/E5YSQGfJ/0la1+9+4 NSHuosmgVWqq8PmFlBCYPMfwEZn6mlzFMDUgBURjFowSi8D8A5EmbRPsDLFXlynC8A6v tpWQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:from:subject:message-id:date:mime-version:list-unsubscribe :list-subscribe:list-id:precedence; bh=IdwCET/37TVCvJ/W4W4p7xUx65JOVtxaPRUYzhJRpEE=; fh=AZb/qKGKYpHyBJ69E9lmBJ+CuuqPZQw55tzU0ZagCbo=; b=BIZUDwxsUacrHxGCvncIOkgE8LSZ3RQQs9Gbc9SKPpyJNfCJpoR5fQ9edfQiBihZcd HyB79mJUd3TNdPzDEMVDeTMmY7KXT2tedhTZPOyfR7/hB4t/nQd/kCvrrs0FSTLgeWnC Ubi+XYMuXMEAAPOimOPEUBs1fXAmeQkEi7gxAuZ3C1M80rmRli5gfH2L2A1YuF65Hy/M UKNInAOgJ1QaOWKqyLNcXbt8HOVirnnZJQm26Mv/1iwnDEF4f+fGArkJbqQS7r0OH3QU +hN1YtiTBL143WS6GD7YqA9cq8x8nu1aPoWY2HgUMmUlVPZAFrDcjrPal6ReDIJX0B3j YZfw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com); spf=pass (google.com: domain of linux-ext4+bounces-2782-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-ext4+bounces-2782-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 a640c23a62f3a-a67ea38ea98si629326966b.280.2024.06.05.12.52.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 12:52:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4+bounces-2782-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; arc=pass (i=1 spf=pass spfdomain=m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com); spf=pass (google.com: domain of linux-ext4+bounces-2782-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-ext4+bounces-2782-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 D9ABC1F27D19 for ; Wed, 5 Jun 2024 19:47:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 58A89153822; Wed, 5 Jun 2024 19:47:36 +0000 (UTC) X-Original-To: linux-ext4@vger.kernel.org Received: from mail-il1-f205.google.com (mail-il1-f205.google.com [209.85.166.205]) (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 974411527AA for ; Wed, 5 Jun 2024 19:47:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.205 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717616856; cv=none; b=E1o57lx/zoN8MQv3QbdSO1dGIS9wiSs47TSKKLXxCR+a9M2G1kepcVp6KnQXqzs/Be5Azq1vRE9EgRkNSBEb3svYAAxIToXUoFlU8lQdqMm/vEEDgo6TnVeklgZfYiBbvx3O85620qdE+VfiUPjPhk+dOCBiISRS/fU12Vp1kIE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717616856; c=relaxed/simple; bh=YTnU1n3sULtM1ZMfXxWVf/tSWGyDjAabChlYZSnKixo=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=ClcrlDB40Nf0P/5sF36H0Pa8rwFO6w6RFZb2i4j/fOT7Axg9r1TE5C5B34M0yYhYlUpICX9PgQdAuIl1WBy17jRFvPuRpGSo/rOL9e0RIgWuwBWlZ+q8VfdZmG1MPle4yFmogwM+GjxNTX46dgBi/z1BVepoxPaG5bfcf1M7zS0= 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.205 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-il1-f205.google.com with SMTP id e9e14a558f8ab-374a23b72c9so1735325ab.0 for ; Wed, 05 Jun 2024 12:47:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717616853; x=1718221653; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=IdwCET/37TVCvJ/W4W4p7xUx65JOVtxaPRUYzhJRpEE=; b=wKFVaA6wdmCxyRAtq+q3HG5CQdEJ/Vgrr8QH33Ay+otW1S1zStCPS2u5MrrZEHBypz vKPIUWneXgoLKrXh6GBiZTK0NIlu+GWHOuGTpUfYDE07B4ocApQXeN8gz1RBrUdb+sgI j+idpiBeTa6dwV5zynb07jGv+IzpcwAGkPLL55sKkdVV+2pHrMQFcxMHHWt+QnuPjhl1 A9MJkp/Bodzgtl5hIR0RsetwJdJm5wKJGLesCGHFeQXN9aWQWpOXS5C2IfB5PcFtdbCr ZJX8VfkTsYN2botRXoZZHh47fhLJMEZ2f2yAmPY2IhNpDdlWAwX9wd2t8uMjx4sOljPf 8mOg== X-Forwarded-Encrypted: i=1; AJvYcCW/I14U7342++PFQuoiGT1sb75wgowD3YD1pVhxCSl+IS4mNcN+99JYiV9HyJNUnaPFKStOksSP+jA7+kk6xlMyKrqNGzHRN7tmpA== X-Gm-Message-State: AOJu0YxpXzNd1dkFl9HLbXs1OIDjAZkjzESd7LxVp8+9e9sZT9pVxJw5 MqcYFBlld9FMPjeamjYZU/ErDdrWcrL4cnJKHr0ur6psxwcsRhMAx2Z/M9LrHqgou4T0zUO1EXs hdLS4A2MwckcJvniwr1BuSuf8QNAgUi9o6gbrWBGTo/aLGtDat3cv93I= Precedence: bulk X-Mailing-List: linux-ext4@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6e02:1909:b0:374:b161:a090 with SMTP id e9e14a558f8ab-374b1ef350dmr2354845ab.2.1717616853700; Wed, 05 Jun 2024 12:47:33 -0700 (PDT) Date: Wed, 05 Jun 2024 12:47:33 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000006ce6c6061a29d6f5@google.com> Subject: [syzbot] [ext4?] WARNING in ext4_mb_initialize_context From: syzbot To: adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, tytso@mit.edu Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: cc8ed4d0a848 Merge tag 'drm-fixes-2024-06-01' of https://g.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=131d0e16980000 kernel config: https://syzkaller.appspot.com/x/.config?x=733cc7a95171d8e7 dashboard link: https://syzkaller.appspot.com/bug?extid=176b58b1d4ea28b1c947 compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 userspace arch: i386 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/7bc7510fe41f/non_bootable_disk-cc8ed4d0.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/36abdd995432/vmlinux-cc8ed4d0.xz kernel image: https://storage.googleapis.com/syzbot-assets/5e4e0a6f67db/bzImage-cc8ed4d0.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+176b58b1d4ea28b1c947@syzkaller.appspotmail.com ------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 2 PID: 5763 at kernel/locking/mutex.c:587 __mutex_lock_common kernel/locking/mutex.c:587 [inline] WARNING: CPU: 2 PID: 5763 at kernel/locking/mutex.c:587 __mutex_lock+0x328/0x9c0 kernel/locking/mutex.c:752 Modules linked in: CPU: 2 PID: 5763 Comm: syz-executor.2 Not tainted 6.10.0-rc1-syzkaller-00267-gcc8ed4d0a848 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:587 [inline] RIP: 0010:__mutex_lock+0x328/0x9c0 kernel/locking/mutex.c:752 Code: d0 7c 08 84 d2 0f 85 50 06 00 00 8b 0d 25 df 03 05 85 c9 75 19 90 48 c7 c6 60 a4 2c 8b 48 c7 c7 c0 a2 2c 8b e8 09 ef 71 f6 90 <0f> 0b 90 90 90 e9 0d fe ff ff 4c 8d b5 60 ff ff ff 48 89 df 4c 89 RSP: 0018:ffffc90002eeee80 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffffe8ffad251290 RCX: ffffc9000c001000 RDX: 0000000000040000 RSI: ffffffff81510236 RDI: 0000000000000001 RBP: ffffc90002eeefa0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 000000002d2d2d2d R12: 1ffff920005dddda R13: 0000000000000002 R14: dffffc0000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88802c200000(0063) knlGS:00000000f5eb4b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f73fd584 CR3: 0000000025738000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_mb_group_or_file fs/ext4/mballoc.c:5788 [inline] ext4_mb_initialize_context+0x814/0xdf0 fs/ext4/mballoc.c:5832 ext4_mb_new_blocks+0x96d/0x4e40 fs/ext4/mballoc.c:6206 ext4_alloc_branch fs/ext4/indirect.c:340 [inline] ext4_ind_map_blocks+0x19fb/0x2810 fs/ext4/indirect.c:635 ext4_map_blocks+0x878/0x17d0 fs/ext4/inode.c:625 _ext4_get_block+0x250/0x5a0 fs/ext4/inode.c:765 __block_write_begin_int+0x4fb/0x16e0 fs/buffer.c:2128 ext4_convert_inline_data_to_extent fs/ext4/inline.c:607 [inline] ext4_try_to_write_inline_data+0x5ec/0x1350 fs/ext4/inline.c:739 ext4_write_begin+0xc6f/0x1140 fs/ext4/inode.c:1143 generic_perform_write+0x272/0x620 mm/filemap.c:4015 ext4_buffered_write_iter+0x11f/0x3d0 fs/ext4/file.c:299 ext4_file_write_iter+0x874/0x1a40 fs/ext4/file.c:698 new_sync_write fs/read_write.c:497 [inline] vfs_write+0x6b6/0x1140 fs/read_write.c:590 ksys_pwrite64+0x176/0x1a0 fs/read_write.c:705 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0x73/0x120 arch/x86/entry/common.c:386 do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf72c2579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f5eb45ac EFLAGS: 00000292 ORIG_RAX: 00000000000000b5 RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 0000000020000140 RDX: 000000000000fdef RSI: 0000000008000c61 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 10 06 adc %al,(%rsi) 2: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 6: 10 07 adc %al,(%rdi) 8: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi c: 10 08 adc %cl,(%rax) e: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1e: 00 51 52 add %dl,0x52(%rcx) 21: 55 push %rbp 22: 89 e5 mov %esp,%ebp 24: 0f 34 sysenter 26: cd 80 int $0x80 * 28: 5d pop %rbp <-- trapping instruction 29: 5a pop %rdx 2a: 59 pop %rcx 2b: c3 ret 2c: 90 nop 2d: 90 nop 2e: 90 nop 2f: 90 nop 30: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 37: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup