From mboxrd@z Thu Jan 1 00:00:00 1970 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 F06B81172C for ; Sat, 11 May 2024 01:52:24 +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=1715392346; cv=none; b=aNtuVtn9TQ9MjYy2vpAV6n4CKqxA94umRxNjrzZJEAnUBc3Nvkrx7rBbqAL0yIL/lWJD86mDTUCYdekS9lXiUmq1woFtiHRf6xIahFrxpdpagTQS1jMvr15pzYQtgeqfUH5rs8IcLbZg5WuD97/XI5QPzXPBKC1Gp63q/oq1IdE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715392346; c=relaxed/simple; bh=lky441gRqnab9ceyulYBWvBXQDv3c4QCkH0Jp8RFi5o=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=e423mZvWBi9Be/l7KXiQmb0pU/mFG5E+ra5/N0lLf97U68+0uteV/kp/P9CqF08f2RApg6/rdTh9dp5RSYRQ591ip7qsjtE90vy1icXCm8adnEESR21pgqmOpxseJvRRIcPiZwsrJQ3cMmKwT1+Hw8paHjSnAzlbIitNbDuZ88g= 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-7e1bfe84f60so98946339f.0 for ; Fri, 10 May 2024 18:52:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715392344; x=1715997144; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=gQPND+OIiMCHluCJPwYEZvItQCo4uSR/8VsuyGgRsTI=; b=GOQHPTvkwELcAL4iEPEC+4tQSezN8jKSaRds8/oM76eu10DkWaQepwZstlhW2u5Uem ripIfO2HJ4DxaQ92Aoz78S0Yy8YW2V1RzVyexnEK1TQM1fnbP6k+/M9dKKLN3dNv/zU8 /0aPR+b8+D/jjwBvms7/iJh3S/ciy/63N1oUUyvNoLhf/tMdHSi3nPb2kGotWl8FzZBs n5t6TsFnd7I/a1HHXW6TlopMMvtRdl5BoUkQDbtGuumd+K42ALT4wKDUKmbyKrWxN2HC SqETBe2dlzH1kJ3MOsg7fZNKYHZ0/7boT1fnyqlzYhf5wL6VCwzTp3NEvDCpJZzT+t79 EZsg== X-Forwarded-Encrypted: i=1; AJvYcCXo5V2eEYmeJR9909OvS4jjtMpj8zMf7wsA6vbu+UfrxH8Bic9YQL8daS/aZCCf9CsMq0pd6d4GnfUSUtgR9cbYTuYnfkHbqjuiH+uzNaY= X-Gm-Message-State: AOJu0Yz1m0gKP1db6bSiMC+MQFCdAlWz3KzozxVaPjxcoMumsVx78PNG ccuAVcih57iqW5rzouYddrVNjz/WbFD+bQWoWPQgyuRbkrlGyTXTTfcO9/ow6ZExScMMJCU1MWz dVpNcwqyL2d1fdeeJPoCGHRuFxvzGOc3yldkdUJY4p1cr+a2oXJPJT94= X-Google-Smtp-Source: AGHT+IEgNZyRonW5lUamE23LltRK9KIHSbhDOgGGtfglxhPfvpOZoxC96FxhoiX9bZ9dPoMwkHXmbzCeT/IzRQZEIXTrIjcfn9Mn Precedence: bulk X-Mailing-List: linux-bcachefs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6602:29cd:b0:7de:e10b:859f with SMTP id ca18e2360f4ac-7e1b519d499mr18413939f.1.1715392344263; Fri, 10 May 2024 18:52:24 -0700 (PDT) Date: Fri, 10 May 2024 18:52:24 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000054a3d3061823e781@google.com> Subject: [syzbot] [bcachefs?] WARNING in __bch2_increment_clock 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: ee5b455b0ada Merge tag 'slab-for-6.9-rc7-fixes' of git://g.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=177a6698980000 kernel config: https://syzkaller.appspot.com/x/.config?x=7144b4fe7fbf5900 dashboard link: https://syzkaller.appspot.com/bug?extid=e2edd0ba80d9b4a3ae8b compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 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-ee5b455b.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/96e27f6a83fe/vmlinux-ee5b455b.xz kernel image: https://storage.googleapis.com/syzbot-assets/49d89ce985f7/bzImage-ee5b455b.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+e2edd0ba80d9b4a3ae8b@syzkaller.appspotmail.com ------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(1) WARNING: CPU: 3 PID: 10086 at kernel/locking/lockdep.c:4643 mark_lock+0x590/0xc60 kernel/locking/lockdep.c:4643 Modules linked in: CPU: 3 PID: 10086 Comm: kworker/3:2H Not tainted 6.9.0-rc7-syzkaller-00008-gee5b455b0ada #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 Workqueue: bcachefs_copygc bch2_write_point_do_index_updates RIP: 0010:mark_lock+0x590/0xc60 kernel/locking/lockdep.c:4643 Code: 4c 89 ea 48 89 d9 4c 89 e7 e8 4c d5 ff ff 31 d2 e9 6b fb ff ff 90 48 c7 c6 40 b2 0c 8b 48 c7 c7 e0 ac 0c 8b e8 91 93 e4 ff 90 <0f> 0b 90 90 e9 5f fc ff ff e8 b2 67 ff ff ba 01 00 00 00 e9 3e fb RSP: 0018:ffffc90003f56e00 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff81503039 RDX: ffff88804dc72440 RSI: ffffffff81503046 RDI: 0000000000000001 RBP: ffffc90003f56f40 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 000000002d2d2d2d R12: ffff88804de28000 R13: ffffc90003d378b0 R14: 000000004dc72440 R15: 1ffff920007eadc6 FS: 0000000000000000(0000) GS:ffff88806b500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2df66000 CR3: 00000000427cc000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __bch2_increment_clock+0x3b8/0x4a0 fs/bcachefs/clock.c:152 bch2_increment_clock fs/bcachefs/clock.h:19 [inline] bch2_btree_node_alloc+0xce3/0xed0 fs/bcachefs/btree_update_interior.c:426 bch2_btree_node_alloc_replacement+0xbb/0xd20 fs/bcachefs/btree_update_interior.c:447 btree_split+0x1459/0x2b00 fs/bcachefs/btree_update_interior.c:1661 bch2_btree_split_leaf+0x10c/0x6b0 fs/bcachefs/btree_update_interior.c:1856 bch2_trans_commit_error+0x327/0xd00 fs/bcachefs/btree_trans_commit.c:896 __bch2_trans_commit+0x3055/0x7880 fs/bcachefs/btree_trans_commit.c:1112 bch2_trans_commit fs/bcachefs/btree_update.h:168 [inline] __bch2_data_update_index_update+0x3405/0x3cf0 fs/bcachefs/data_update.c:292 bch2_data_update_index_update+0x5a/0x90 fs/bcachefs/data_update.c:338 __bch2_write_index+0x17d/0xa60 fs/bcachefs/io_write.c:521 bch2_write_point_do_index_updates+0x250/0x630 fs/bcachefs/io_write.c:629 process_one_work+0x9a9/0x1ac0 kernel/workqueue.c:3267 process_scheduled_works kernel/workqueue.c:3348 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3429 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 --- 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