From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f79.google.com (mail-io1-f79.google.com [209.85.166.79]) (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 754AC13B5AE for ; Thu, 17 Jul 2025 01:05:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.79 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752714340; cv=none; b=f2q8uE1oTy8TiJweNfr5X/T8Iipm5Yt3/wCWZwGQ2H2KeEXpqYDWXvVCE1hGkGw1PsCBs0zymOZDkFaMxurfilrSrbr7ZuvUJkHmr3NDzZF6d3yb+JQE1RNj10vUJbPGcscp0PmISwML/D5Q69M9bwJdkb5RWS6xxDUcAwF79xA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752714340; c=relaxed/simple; bh=GUVsHEINq1jH1PHNd9+CTjBu+c2RAf3g+6SKsDaZ0Ro=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=D/oG2v/rvMt/gZ/YZPoSjyeQVhvK55sDEdO1dIQ2Q0loOorMT5yDjMrt6j1rw8P2sSUgku4pe0zYzSOfabzoV6x0hjFfzXRfrSWq20BvmTmsBtFDWCh2MgCPFHKF+9rxw6JxrDkdqn5YnyhuRme7uiehA84Of+6ngck+5nSPPcc= 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.79 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-f79.google.com with SMTP id ca18e2360f4ac-876afa8b530so47745939f.0 for ; Wed, 16 Jul 2025 18:05:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752714335; x=1753319135; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=SnYkm2bDnhoVfcjQt2X1pUH9pnFC70gj3YVc5j3Kdc4=; b=Gajl1PABOYTSP+opqAYt/OUyY48y9bmFrXhGBkLSz3UCHzW2y8v0DgIkLFlBDbJEJh irlfklZxfWmamfo84RSQs3Y9+QMvW3ux3HN65qlFQESkuqSlyNe12CDUP87guddEYZ/T AcpljnumoEtgZKRsZUhzeXk06MPVS4exHkS3ZIVkWRVxDj8Zyn6jIRNNQvClyu9fPSJO 46PlPpioZU6DLYzEg42hgus+8+7Y5jmsPvacEy7+s5tY+Wad+KUfgIcXwATNWvU2qlZl LlpT3xiN38275tz0CRBo39CCiwKVnd22w9F6BXlQhhA2pJ7YTtae9QoCtsGRzeBUm9b2 CR/A== X-Forwarded-Encrypted: i=1; AJvYcCVusVfVAq6O15GFU4Sdatk4VjHcRS9qyPYytD2O4VH6Q0GG96yEQcJvoSGayIr1CLp3b6+31SdYuuvYDjBRog==@vger.kernel.org X-Gm-Message-State: AOJu0YykNL9qAr8v2oC1OL879suvSLQh1QAy2Hn0UnEs8H3QjPDiCYQl s2HG5pcJENsb297XyL11RKWNXCwFkpUejLcdq/O2HJtX8fKT2KKWrF88ZIZ+dUumxg0DUxBdALu Fs9x/VtHCCVYTqZer8LijgpedsFXnE4FzJIbvHR9KWjDa9GHEcTSA6sY1NBc= X-Google-Smtp-Source: AGHT+IHPqT27seKaBOMt7gVaM4TeXQDohaiijVxK6TEtckramKs6FHLwQWK+30JD1onjGI+iCweJwBynatV+Dh8/vBqPk8EPaZx2 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:1547:b0:876:19b9:1aaa with SMTP id ca18e2360f4ac-879c0927bd0mr775315639f.9.1752714335510; Wed, 16 Jul 2025 18:05:35 -0700 (PDT) Date: Wed, 16 Jul 2025 18:05:35 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <68784c5f.a70a0220.693ce.0036.GAE@google.com> Subject: [syzbot] [bcachefs?] WARNING in closure_put_after_sub From: syzbot To: 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: 3f31a806a62e Merge tag 'mm-hotfixes-stable-2025-07-11-16-1.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=116e1d82580000 kernel config: https://syzkaller.appspot.com/x/.config?x=b309c907eaab29da dashboard link: https://syzkaller.appspot.com/bug?extid=0ea2c41a649240197795 compiler: Debian clang version 20.1.7 (++20250616065708+6146a88f6049-1~exp1~20250616065826.132), Debian LLD 20.1.7 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/d900f083ada3/non_bootable_disk-3f31a806.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/7304d62ced97/vmlinux-3f31a806.xz kernel image: https://storage.googleapis.com/syzbot-assets/4913df6ab730/bzImage-3f31a806.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+0ea2c41a649240197795@syzkaller.appspotmail.com ------------[ cut here ]------------ closure has guard bits set: a8000000 (25) WARNING: CPU: 0 PID: 5328 at lib/closure.c:22 closure_put_after_sub_checks lib/closure.c:20 [inline] WARNING: CPU: 0 PID: 5328 at lib/closure.c:22 closure_put_after_sub+0x173/0x320 lib/closure.c:32 Modules linked in: CPU: 0 UID: 0 PID: 5328 Comm: kworker/u5:2 Not tainted 6.16.0-rc5-syzkaller-00266-g3f31a806a62e #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: bcachefs_journal journal_write_done RIP: 0010:closure_put_after_sub_checks lib/closure.c:20 [inline] RIP: 0010:closure_put_after_sub+0x173/0x320 lib/closure.c:32 Code: c1 6e 50 ff cd 4c 89 f3 e9 c8 fe ff ff e8 85 f7 c9 fc 90 44 89 f0 48 0f bd d0 48 c7 c7 40 f5 e4 8b 44 89 fe e8 3e da 8d fc 90 <0f> 0b 90 90 e9 d0 fe ff ff e8 5f f7 c9 fc 90 89 ee 81 e6 00 00 00 RSP: 0018:ffffc9000d5ef820 EFLAGS: 00010246 RAX: 641034d4b1ecad00 RBX: ffffffff936402f0 RCX: ffff88801c734880 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002 RBP: 00000000efffffff R08: ffff88801fc24293 R09: 1ffff11003f84852 R10: dffffc0000000000 R11: ffffed1003f84853 R12: dffffc0000000000 R13: ffff88805324a9f0 R14: 0000000003ffffff R15: 00000000a8000000 FS: 0000000000000000(0000) GS:ffff88808d21b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000563f86c91bc0 CR3: 0000000033352000 CR4: 0000000000352ef0 Call Trace: closure_sub lib/closure.c:61 [inline] __closure_wake_up+0x81/0xb0 lib/closure.c:91 closure_wake_up include/linux/closure.h:349 [inline] journal_write_done+0x994/0x1270 fs/bcachefs/journal_io.c:1768 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3321 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402 kthread+0x70e/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 --- 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