Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp529407lqp; Tue, 11 Jun 2024 11:15:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUwPkFH2D1YhBkeNRor5+PFpcJgOl5wc9hZ5VtjpJxdfK1swlPrpkRyrCTOmUNxsNv4sn+p1Wfu6mDjul/J+LMFip7yjvp6zWAcPdqeiA== X-Google-Smtp-Source: AGHT+IEaqz3yVXZQmYnQxVag0Rh1BGk6RVysyUt9g76HDDhs6pDgUUVADtBQ+LUBvsyfhyVH9aEl X-Received: by 2002:a05:6a21:1a7:b0:1b6:6f0:6d5c with SMTP id adf61e73a8af0-1b86bd9ad34mr5055019637.11.1718129741219; Tue, 11 Jun 2024 11:15:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718129741; cv=pass; d=google.com; s=arc-20160816; b=LRMzXFDTy/vrHv2O6MtvSfBb7q74S/D1WIrxy7N9zmyfQ7PPR9FtOfAjQilUsn5F+S DRFlE4Jqw+J0vI20VCgsL9fPeFrDyfW4vq1rKmssQpgGXmeFABbQgz2e0xpvrXXTH2gN PpwWDgRBurG5CMf2yCu3ue6nnlPv+iiIlll5vxw/BYO8TBsNiD+8XYyLvW4pCBsfgRdR 9nRGelc5CBNp7jURWBnufT8ANiAwDlznfqSjzhzoGriafDpVUhuKxH96VK4IVWlOVt6Y W4r8/Qy4hKhBl9jnP0MIBg3b3jecrkwvbA1pmBUS/ZkKfuE9Hx0bkuQyZzrn1mQYcjwf qIBw== 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=TuhS77VD3Lms9crhQdWUS/VbA+XXLv7Cp5Bum/O7DGQ=; fh=qPUAz2N2NY9GXW9tIVchXUxqGF/7HDE2/4l8dpcS9aw=; b=V276/4SyUwTgAKYBOgCTSUtbvoGVhSwht2W419afGP29F05vfDsDUQxbfxjkUnq89x 2NJGYQqadhtVfb6oIXBkDD3wcU6BmC+zdRbrN29lFAO/J0fjt+9nN1gJOKs2Ae7rDe+m Lz3kOod8MtL/E/iEP5xfKAwjICLRAS7EpAZlwTBNYTOknn//GcvLFzqGhnb7pfaFtmIF G2Wxu3YWSbxGL2BSVU/0GKCGxnmBmzdMkKdQDxFDF8csiQZ7gVnWgrvCAsk1fDQ0kJ9E M7eemocHTk9AQAs1QWRT77CbU18/X/NDwKDWRmZInkdRrO2fbjWXZz4i5GF0chVIxspD KaIQ==; 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-210409-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210409-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6e99ffec2d6si5529009a12.343.2024.06.11.11.15.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 11:15:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210409-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; 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-210409-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210409-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id C6B5B28D460 for ; Tue, 11 Jun 2024 18:15:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EC2EE605BA; Tue, 11 Jun 2024 18:15:32 +0000 (UTC) Received: from mail-io1-f80.google.com (mail-io1-f80.google.com [209.85.166.80]) (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 C2D0E1CAA4 for ; Tue, 11 Jun 2024 18:15:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.80 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718129732; cv=none; b=DdjQSDGwZ+67NnyT1RZxZ/sgpkAlpY+sL2p6GKTEwEoefoShDiBgR0XvpbJhp/YxUeffzm41XU9f3WCRww4VJc1L5wmprvk7BJBgwEAt66qbo1SZssp4gr8fvdzqnReJCrtqNhUIanHCO10tUkJq33OQCYzZRySDZK+QvmH5/VU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718129732; c=relaxed/simple; bh=o661/g0MT1kUaXwnCHXeEjcPMPWhzYllXTFSTkxGUlM=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=nmaREbOGC9+MxoGHhmQcHOcD+1hbT6/3n9p2p2uDxf3VnQXFNJnleSrZlDHUmw8kEvAgF07qaPy6ppLXG54fyv517GlkBEu90UpvYRxNEK6VLHGboX9KAVAY6nvEFPb+6gd+zFeY5qJPhRW1r2gHcGjIQQ9gt21rvCsFHsI5FFE= 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.80 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-f80.google.com with SMTP id ca18e2360f4ac-7e8dc9db8deso7028939f.1 for ; Tue, 11 Jun 2024 11:15:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718129730; x=1718734530; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=TuhS77VD3Lms9crhQdWUS/VbA+XXLv7Cp5Bum/O7DGQ=; b=uNYexTtkLmWP8QpcO9gLn+hF9pQVoC8KwXDXFklpElNK3HL2Txmms3P2GjEXTwdSIt VoKcWUIt+fSG52EgbEK69S/U111vj+KsFLTs+KSMH4GxS8dEkUWf1tN3ZU4rhIVnOFtJ PHDA4OjsoeA4zd02o329aSkRaQlDYTO4+Zuat9+YPcn6lRRWoVY0DS5IQpmkhVRxpDtG z8iQ7ps4k5AsyADSrKqmFgcSAb829tLoGg9jsH/+rumm+r6wYPA73N9hLFXIQh/SpNSo 7rl72HPf6OIKnqkqww8BEPKKpmoU74/P12vE+GsoOnMEzTf5bqZinz81sg7JtrVoAomv Aolg== X-Forwarded-Encrypted: i=1; AJvYcCWIzYuFoGzw2uxhR+LL+zk3JNcHRbLEsvlZnNzssjGJuWh+U70CMXIpl6sIH5Xo0X5VZ55/vJNlgRnJ0+Q95yfFE1EUEcPCPwZv0OmB X-Gm-Message-State: AOJu0YylO0lIlJYjrM2UFCGuLXpZGY4uTcKWkDHT5qc9VJO6K1idpsuY ICL4q6KzbWM5VU434vsHnqjuIIWsAJ9pZzfzlgA+aIXE1e1v5UVFX/lqOeMIazINWwOxETrT1Xu oCwTFHHS3Al3T/4XsFfNyqG7UVR2LMlvCHqk0F+oGlzYEeigj3DmUvDM= 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:6286:b0:4b9:c9e:2aa2 with SMTP id 8926c6da1cb9f-4b92ba720cdmr196209173.0.1718129729902; Tue, 11 Jun 2024 11:15:29 -0700 (PDT) Date: Tue, 11 Jun 2024 11:15:29 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000003aacfb061aa140ad@google.com> Subject: [syzbot] [bcachefs?] WARNING in bch2_fs_ioctl From: syzbot To: akpm@linux-foundation.org, bfoster@redhat.com, kent.overstreet@linux.dev, linux-bcachefs@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: 83a7eefedc9b Linux 6.10-rc3 git tree: upstream console+strace: https://syzkaller.appspot.com/x/log.txt?x=116b64de980000 kernel config: https://syzkaller.appspot.com/x/.config?x=c79815c08cc14227 dashboard link: https://syzkaller.appspot.com/bug?extid=9757fdbdabd69eae08ad 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=109726ee980000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13f2c4fe980000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/b45273014a8f/disk-83a7eefe.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/94cd5708292e/vmlinux-83a7eefe.xz kernel image: https://storage.googleapis.com/syzbot-assets/a89698812e8b/bzImage-83a7eefe.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/2b8f6b18fd8a/mount_0.gz The issue was bisected to: commit 03ef80b469d5d83530ce1ce15be78a40e5300f9b Author: Kent Overstreet Date: Sat Sep 23 22:41:51 2023 +0000 bcachefs: Ignore unknown mount options bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1538cd96980000 final oops: https://syzkaller.appspot.com/x/report.txt?x=1738cd96980000 console output: https://syzkaller.appspot.com/x/log.txt?x=1338cd96980000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+9757fdbdabd69eae08ad@syzkaller.appspotmail.com Fixes: 03ef80b469d5 ("bcachefs: Ignore unknown mount options") ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5079 at mm/page_alloc.c:4654 __alloc_pages_noprof+0x36a/0x6c0 mm/page_alloc.c:4654 Modules linked in: CPU: 0 PID: 5079 Comm: syz-executor354 Not tainted 6.10.0-rc3-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:4654 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 82 e5 aa 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:ffffc900032feea0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000013 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc900032fef28 RBP: ffffc900032fefb8 R08: ffffc900032fef27 R09: 0000000000000000 R10: ffffc900032fef00 R11: fffff5200065fde5 R12: 1ffff9200065fddc R13: 0000000000040dc0 R14: dffffc0000000000 R15: 1ffff9200065fdd8 FS: 0000555582725380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000000 CR3: 00000000779b6000 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+0x8b/0x1d0 mm/slub.c:4067 __do_kmalloc_node mm/slub.c:4110 [inline] __kmalloc_noprof+0x2aa/0x400 mm/slub.c:4135 kmalloc_noprof include/linux/slab.h:664 [inline] kzalloc_noprof include/linux/slab.h:778 [inline] bch2_ioctl_fs_usage fs/bcachefs/chardev.c:517 [inline] bch2_fs_ioctl+0xf67/0x37d0 fs/bcachefs/chardev.c:889 bch2_fs_file_ioctl+0x827/0x27a0 fs/bcachefs/fs-ioctl.c:539 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f142b4429b9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff3b1922b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fff3b192498 RCX: 00007f142b4429b9 RDX: 0000000020000000 RSI: 00000000c040bc0b RDI: 0000000000000004 RBP: 00007f142b4c8610 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fff3b192488 R14: 0000000000000001 R15: 0000000000000001 --- 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. For information about bisection process see: https://goo.gl/tpsmEJ#bisection 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