Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp792869lqo; Fri, 10 May 2024 15:36:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWbOiYtRyeaty6tV2ltOQR1zpxQNhMI71XGqOfPPS/mL+sRGWne3YRvf7nbKz4ELgTUOLY06wZuU5tbD8U4fHG0nPCthBk4p15PvnRGSA== X-Google-Smtp-Source: AGHT+IGKkbBNebTZaAVECq8kbwZptBg7dAXXB7mmqOhXlTaK+yzycgzvkoMB7QuQ99z6vVH5dXrq X-Received: by 2002:a17:906:8d7:b0:a59:a0c1:2624 with SMTP id a640c23a62f3a-a5a2d5cb855mr244700266b.39.1715380598876; Fri, 10 May 2024 15:36:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715380598; cv=pass; d=google.com; s=arc-20160816; b=c+tM7pq+YHIot4lRkjCXH+n96vI5K3nwtc0hbS8aeQYxTjHrK2upKwiOYNXRx9fCzQ nHH8h6rK3koyyknx5wR7pcFvUh2FkB9ylpcUouuhyz+rLKrwQkxFgsMZ3hO82TYijkAw ZQhAOMKM7e26M/Wn/TWAST0p1RWSk7XBByNNrbP1d3yUKCysmz+D7KIKy5rQlhhyLkJC 2E6daPBDhEzhVs9TCk6IXHvqa2Q9kb34SHSuXUrxdPbpiCYhSXxK4TBO3/f6CVEDkGtg JR48/MIDr9A5dVbOJBqY5qdc0btyJobHDZbyxlotz4XFkBq4HXvPCfNwWVp/HkJm24J7 Fd/g== 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=Z8jYuWSv5DCkOYW/uJpzuWdX9C0xP+JwKPmlwZkVzY0=; fh=w+3cQ4ovSO09bdDC6sBxJTjpag0skWp3k5RDzJNzAXo=; b=pF7E81fEYxmrpNAYVGigVRL7jFaNlge4u6bBftYGkRYFA6yo4YIqMwyJW9AejPcSOJ glm7uRQMTQvNDg3DVaA9ABW24LNmmE1tW3+EWCss1N6N7MUKo6if3TnKtNibpTMOC7K9 fj36+DWQcXUrEgzBoSRmWRAyNXDL8JZfP9KUglozBst65CNNt8bgBQYaVqo99LbM0JFk Z14NMg6vd0BnGqYNz9qCqFa8vV/Qc1yoTTzXdFkFnOBAqAfaTfeMTaPXMrWZe50Ci0Bl d0uSbQHrYStXO69r1skKjmJBsfJCsaOLVDhQq3fFrR0X9tQXD+HdcTWtuFX2YanTUcHj KgPQ==; 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-kernel+bounces-176277-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176277-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. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a1797cdeesi246591966b.259.2024.05.10.15.36.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 15:36:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176277-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com); spf=pass (google.com: domain of linux-kernel+bounces-176277-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176277-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 725DC1F23A3E for ; Fri, 10 May 2024 22:36:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3E9BE170831; Fri, 10 May 2024 22:36:30 +0000 (UTC) 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 2D5C6635 for ; Fri, 10 May 2024 22:36:27 +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=1715380589; cv=none; b=brsVJE4LgDfPUovUuezE+xL1MYVgj+YLjs/jnSDpwexPokxUsAtkblC7y3cUdaQHMYPHM5tFOC21/naqHpGPfheu/WBRJe1XRJr67OiMNuKPr+qmrJh9lwt0DOkVg+0UcjhpRKNgu8Y5cNV4eWi3X0G6rG0AVhLd34q1biiiTWM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715380589; c=relaxed/simple; bh=HBYzTxGb1feW0hvGlmK9jvD8v0MOy9a+pORuCqg4diM=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=LvqrG4bao8d5NEiJqwUxVKmrwuxE+hHT5EZSU5nCLacrPawe2WPYV0vufiksmbEumICXTN61fzRQ32o4w6dCzT9C/bIRxMFrcX9IEM4fXMI/Tb9OuoPZAFU+MYPq15xScgnjzG/B65/cOoD0RyMlgk8tELExdKzZpA/k/miGYso= 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-36b3b387b4eso31637895ab.2 for ; Fri, 10 May 2024 15:36:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715380587; x=1715985387; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Z8jYuWSv5DCkOYW/uJpzuWdX9C0xP+JwKPmlwZkVzY0=; b=W8PXPejfYkeUQ7JMrhy2ahF/ZzF1K5I9L5g3oN+DJgc1JAUucbiqih/II8srd0Gs4V GT3WHkKW99ekaVcRUkeU1VfM1hknCRIPBpTv2QGjZkyFaTOhMWW/CMdrAqSN1B1bX1tx +vUmi6D1DLx30kjVTf/meV+/9jCqsUooqeaE4tquAKXN0gkTiAmMIywI9uWSSavhlDuC ISZboKfnK8JXP/z/gTUlCIyxNtDjYqzSuxueLkznYSD+KYMP1ZKhdAmG6SfW/cE43oEM lq8RfD+LIU5oZPhhjC2uiS3gO/bx62wcNh2gCaT8lMM2I348VSLx+Qe2g7Oxp/S94iFt soJw== X-Forwarded-Encrypted: i=1; AJvYcCUde3Kb6fHTvCXSE+rY8vrZsp/jIz9RVlTSRi2tYxYToQ9q7YqfKQWV/h/9o7qBMt4eJv6XN/zfcxYA5ZrePA3db28pkADz2oe3x7v7 X-Gm-Message-State: AOJu0Yxd/rAoKTqkbl/yfpdG6A0TEWwrbWKJo5/EKAd2friJb1qg0TqK 0b1CkLcjvqLjpBOwqRkXkbaVCEL9hf+lb9COAtRWaWg9z6sSjYxiPKXUTP/ldTfVBvPXNuxsPQC hjoX1wxIzmu4Tt+FlGJNKtelrKGLsHBPdRJxiX777T2PDz8ZemCrxLnw= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a92:4b06:0:b0:36c:5029:1925 with SMTP id e9e14a558f8ab-36cc1385589mr1150845ab.0.1715380587387; Fri, 10 May 2024 15:36:27 -0700 (PDT) Date: Fri, 10 May 2024 15:36:27 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000090ebe40618212a25@google.com> Subject: [syzbot] [bcachefs?] WARNING in bch2_prt_printf From: syzbot To: bfoster@redhat.com, kent.overstreet@linux.dev, linux-bcachefs@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: 75fa778d74b7 Add linux-next specific files for 20240510 git tree: linux-next console+strace: https://syzkaller.appspot.com/x/log.txt?x=13cb8b04980000 kernel config: https://syzkaller.appspot.com/x/.config?x=ccdd3ebd6715749a dashboard link: https://syzkaller.appspot.com/bug?extid=4e41a25632658c77b441 compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=15f5ec3f180000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=126cdfc0980000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/ad9391835bcf/disk-75fa778d.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/d827b3da9a26/vmlinux-75fa778d.xz kernel image: https://storage.googleapis.com/syzbot-assets/8f32f0182388/bzImage-75fa778d.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/244f301e9090/mount_0.gz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+4e41a25632658c77b441@syzkaller.appspotmail.com loop0: detected capacity change from 0 to 32768 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 5100 at mm/page_alloc.c:4672 __alloc_pages_noprof+0x36a/0x6c0 mm/page_alloc.c:4672 Modules linked in: CPU: 1 PID: 5100 Comm: syz-executor185 Not tainted 6.9.0-rc7-next-20240510-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:__alloc_pages_noprof+0x36a/0x6c0 mm/page_alloc.c:4672 Code: a9 00 00 08 00 0f 85 12 01 00 00 44 89 e9 81 e1 7f ff ff ff a9 00 00 04 00 44 0f 45 e9 e9 02 01 00 00 c6 05 c3 c3 a8 0d 01 90 <0f> 0b 90 83 fb 0a 0f 86 6c fd ff ff 45 31 ed 48 c7 44 24 20 0e 36 RSP: 0018:ffffc90002dd6940 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 000000000000000b RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc90002dd69c8 RBP: ffffc90002dd6a48 R08: ffffc90002dd69c7 R09: 0000000000000000 R10: ffffc90002dd69a0 R11: fffff520005bad39 R12: 1ffff920005bad30 R13: 0000000000040cc0 R14: dffffc0000000000 R15: 1ffff920005bad2c FS: 0000555573a66380(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f740571f40 CR3: 0000000022430000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __alloc_pages_node_noprof include/linux/gfp.h:269 [inline] alloc_pages_node_noprof include/linux/gfp.h:296 [inline] __kmalloc_large_node+0x91/0x1f0 mm/slub.c:4066 __do_kmalloc_node mm/slub.c:4109 [inline] kmalloc_node_track_caller_noprof+0x2d2/0x450 mm/slub.c:4141 __do_krealloc mm/slab_common.c:1183 [inline] krealloc_noprof+0x7d/0x120 mm/slab_common.c:1216 bch2_printbuf_make_room fs/bcachefs/printbuf.c:52 [inline] bch2_prt_printf+0x41e/0xa10 fs/bcachefs/printbuf.c:179 bch2_bkey_to_text+0x124/0x330 fs/bcachefs/bkey_methods.c:288 bch2_bkey_val_to_text+0x35/0x160 fs/bcachefs/bkey_methods.c:312 journal_entry_btree_keys_to_text+0x1d7/0x390 fs/bcachefs/journal_io.c:437 bch2_sb_clean_to_text+0x138/0x240 fs/bcachefs/sb-clean.c:313 bch2_sb_field_validate+0x201/0x2e0 fs/bcachefs/super-io.c:1234 bch2_sb_validate+0xa69/0xe00 fs/bcachefs/super-io.c:468 __bch2_read_super+0xc9a/0x1460 fs/bcachefs/super-io.c:822 bch2_fs_open+0x246/0xdf0 fs/bcachefs/super.c:2070 bch2_mount+0x71d/0x1320 fs/bcachefs/fs.c:1917 legacy_get_tree+0xee/0x190 fs/fs_context.c:662 vfs_get_tree+0x90/0x2a0 fs/super.c:1780 do_new_mount+0x2be/0xb40 fs/namespace.c:3352 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fce02323b3a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fffc866b068 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fffc866b080 RCX: 00007fce02323b3a RDX: 0000000020000000 RSI: 0000000020011a40 RDI: 00007fffc866b080 RBP: 0000000000000004 R08: 00007fffc866b0c0 R09: 00000000000119f4 R10: 0000000001200014 R11: 0000000000000282 R12: 0000000001200014 R13: 00007fffc866b0c0 R14: 0000000000000003 R15: 0000000001000000 --- 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 syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing. 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