Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp923864lqh; Fri, 29 Mar 2024 00:57:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWdGtJ5a145ByxMdUTiuBN15mGnU07wXy/ICMeOCfPalnwPDTrb3YHKbAwErhJdZSdUI6rCAzdmNCRrCmWdJhC29cN5xfY52LhBIPzvBQ== X-Google-Smtp-Source: AGHT+IGGREgCFcyq9ewXtAbVpxBNs4bafrYOfXE0+mvwe9lXF6a8gAPntOCrP+hSOmePPJ1RNe9Y X-Received: by 2002:a50:999c:0:b0:56b:dfe7:cc6d with SMTP id m28-20020a50999c000000b0056bdfe7cc6dmr1040213edb.10.1711699056520; Fri, 29 Mar 2024 00:57:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711699056; cv=pass; d=google.com; s=arc-20160816; b=YRi6RXVRg6Sx238nqBwGD2zyXpu9ivOMQTSa9XGii8Ua+SGYXxN1gxnI6CRlpX5eq0 iwNtELOhd/+XWKs96lQbah9cZYQxFYOBAJvwiZw86fwTcFMH7ULLVK1i0p18os9Xj+Te YhR3lhMyfZd0SacCfXc2s6hpt/0GfzVRfkjsnfarxWsjHDRVEgmn7j0dhe4kDXHo0TZQ NrFTlegEYVMbh2puc+LpgLfMVSODPDQ33x18xjjWnYqnld2J9jPnDvrXdUL5iONhI3M7 hoh/N+Ip02RUPYSp1B7pwX+WB8UMKPzZ18s65Sbo5+G6gexP+Xfeyd/kRSoyKjetJ7K0 ckcw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:from:subject:message-id:in-reply-to:date:mime-version :list-unsubscribe:list-subscribe:list-id:precedence; bh=Bcc+dTHZlCpOWcs3ADhgDTmpiFe6wMX6YbcA68N9nxQ=; fh=Y64DXFwioCeoyBQtIIuHpuyb8J6MRkH9VoA9sNpBInE=; b=gMIcfKTQ879IuROcZqEq1Hb7ESTSahbqTfjKBNkoyMvCVZK6Eu6tRRyOEFF3e/Y6Z2 288k1MsQv/fcEzxwmT+DBGnxkvOVvyjO/U3KaUd3/hA+/lKrfK0W2w1uoPkNMi45wLvN 9Dn/vmeN9QXlNIpD1qab/ZA1BKIwMLa/neMCncCM9tgiUXXi/AmSA1GEaBX3PjEhFrlq kF1Wr7iy+uhk3b2W2efyfKuPxnOxegIFcZab4zuBNaA3aGqlf/mCP1z4qHmiV/65e1vF hDKGm6GiVdDdzVeeODtIMPnJMVHsVeZxvo2Lx1z+UURq8z5RPTZYCTgBm4ukVdXgk03K Zziw==; 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-124271-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124271-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 w6-20020a05640234c600b0056c53e62577si1375897edc.481.2024.03.29.00.57.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 00:57:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-124271-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-kernel+bounces-124271-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124271-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 118AB1F2205C for ; Fri, 29 Mar 2024 07:57:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1101544C66; Fri, 29 Mar 2024 07:57:21 +0000 (UTC) Received: from mail-io1-f69.google.com (mail-io1-f69.google.com [209.85.166.69]) (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 DDD24433D6 for ; Fri, 29 Mar 2024 07:57:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.69 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711699040; cv=none; b=jvvf6ex0xRcD5iioXOHdZxCw2JWtJhTW7vRwsVSAno/x0uCPvUshNe0AOODkxjsfx6SaYn5gz52zrYptnL+HctmLLmkyutEjPo7qVpWzZJMM4aDekWcbWlLd5H//rdQC5+yQhFfFaBkBITfe2SZW5mbGlRTEmd2EbNVbtPQ+0Uk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711699040; c=relaxed/simple; bh=yJ9Q36JEeTiONFx+V5+CpW2y6vrWk0suk3Y3qj5fCGI=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=NpMJ4PF3U5bfdA39mmxREWKzkD5LA4tND02H87jJcY3urcCl/ZGe/uIVhLrzQClOEr5S7IGhd3bSJ2Bv2U6pWzw9ricvFwaRRWHgY/Es/9FRM/ZRg8nUYs5l6XTepmylUma8xE4AF1Vl9232IGzVuq8yhgc6qmwf21R1aRs7t6k= 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.69 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-f69.google.com with SMTP id ca18e2360f4ac-7cc7a6a043bso201785639f.0 for ; Fri, 29 Mar 2024 00:57:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711699038; x=1712303838; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Bcc+dTHZlCpOWcs3ADhgDTmpiFe6wMX6YbcA68N9nxQ=; b=mBtFYTk9VLkXFMCa+SKMz8n5iAUCfttzXCIaEI0E57J1hG/78cPQPqaS9irFqT4Tqc k76MNGnWD8XoBtxTay06zoS1T3rEA8v/+56ci5x/6b9PORmZgECB5ck50yZu34EZkVG5 Q6y+4YLfNTj+a37D9vThz2KW6EMu7hV6y5xH4rXWJzlDkXTJSpc/9GfLczzzSdcUhWd+ jfc99Zh40bM7AYeZSly2P1yB52OtpYrF4/IejQqrHl8AuVDyd53pNgLhK/RC2vc8ipYv M4w6XajvjoqVy+Dr0S96HI8M10uhLAMgUXtrMf6b3fR2/f1xkE7VQA0wD4rQuXK9Q8tu Y3JQ== X-Forwarded-Encrypted: i=1; AJvYcCWoxvvYL9NmtQRY359mH/nKSl1QTmV0vGrwbIZ9gHWPyjCL6TsCpxCNSrMwiJk+WOVxWnXNpjH3gA3i7E5487Q3kMdLW66PFRep01kX X-Gm-Message-State: AOJu0YzgZ7eD1bVXHPphofEye1m9l4sZMB19f2c4+XOBb4zA7gyRxDzo 3zwZPkVhsQrnCXb3mCJTaT7jm5wzI/SAul2MgLqxcZRRUyrc2QI1h34xYA+OHkDJGHVBFkYQbgl 100Xj1JkID0eckXStMVd0nI4CM3PHv43mxrlBfqL30IsxCUh6RS3ggAE= 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:6602:2c90:b0:7cc:8980:5ae4 with SMTP id i16-20020a0566022c9000b007cc89805ae4mr53406iow.2.1711699038231; Fri, 29 Mar 2024 00:57:18 -0700 (PDT) Date: Fri, 29 Mar 2024 00:57:18 -0700 In-Reply-To: <000000000000a12738061144f9d1@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000022ef250614c7fd94@google.com> Subject: Re: [syzbot] [jfs?] kernel BUG in txEnd (2) From: syzbot To: jfs-discussion@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, shaggy@kernel.org, syzkaller-bugs@googlegroups.com, xrivendell7@gmail.com Content-Type: text/plain; charset="UTF-8" syzbot has found a reproducer for the following issue on: HEAD commit: fe46a7dd189e Merge tag 'sound-6.9-rc1' of git://git.kernel.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=157a3321180000 kernel config: https://syzkaller.appspot.com/x/.config?x=1a07d5da4eb21586 dashboard link: https://syzkaller.appspot.com/bug?extid=776b5fc6c99745aa7860 compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1623f5b1180000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=110d1129180000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/b42ab0fd4947/disk-fe46a7dd.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/b8a6e7231930/vmlinux-fe46a7dd.xz kernel image: https://storage.googleapis.com/syzbot-assets/4fbf3e4ce6f8/bzImage-fe46a7dd.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/8dce556379ee/mount_0.gz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+776b5fc6c99745aa7860@syzkaller.appspotmail.com jfs_dirty_inode called on read-only volume Is remount racy? BUG at fs/jfs/jfs_txnmgr.c:528 assert(tblk->next == 0) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_txnmgr.c:528! invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 1 PID: 5253 Comm: syz-executor989 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:txEnd+0x583/0x5a0 fs/jfs/jfs_txnmgr.c:528 Code: e9 59 fb ff ff e8 bd 24 84 fe 48 c7 c1 40 a4 4a 8b ba 10 02 00 00 48 c7 c6 c0 9e 4a 8b 48 c7 c7 00 9f 4a 8b e8 5e f5 64 fe 90 <0f> 0b 48 89 ef e8 03 07 df fe e9 40 fd ff ff e8 c9 06 df fe e9 2e RSP: 0018:ffffc90008cc7ab8 EFLAGS: 00010282 RAX: 0000000000000036 RBX: ffffc900025d1110 RCX: ffffffff816f2339 RDX: 0000000000000000 RSI: ffffffff816fab26 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000001 R14: ffffffff8dd43da0 R15: ffffc900025d1112 FS: 00007fc48c2826c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc484d0b000 CR3: 000000001511e000 CR4: 0000000000350ef0 Call Trace: add_missing_indices fs/jfs/jfs_dtree.c:2663 [inline] jfs_readdir+0x2952/0x4310 fs/jfs/jfs_dtree.c:3009 wrap_directory_iterator+0xa8/0xe0 fs/readdir.c:67 iterate_dir+0x295/0x9e0 fs/readdir.c:110 __do_sys_getdents fs/readdir.c:326 [inline] __se_sys_getdents fs/readdir.c:311 [inline] __x64_sys_getdents+0x14f/0x2d0 fs/readdir.c:311 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd5/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7fc48c2f6c39 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 1d 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc48c282168 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007fc48c37e6d8 RCX: 00007fc48c2f6c39 RDX: 0000000000001000 RSI: 0000000020006600 RDI: 0000000000000005 RBP: 00007fc48c37e6d0 R08: 00007fc48c2826c0 R09: 0000000000000000 R10: 00007fc48c2826c0 R11: 0000000000000246 R12: 00007fc48c37e6dc R13: 000000000000006e R14: 00007ffdf1f02700 R15: 00007ffdf1f027e8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:txEnd+0x583/0x5a0 fs/jfs/jfs_txnmgr.c:528 Code: e9 59 fb ff ff e8 bd 24 84 fe 48 c7 c1 40 a4 4a 8b ba 10 02 00 00 48 c7 c6 c0 9e 4a 8b 48 c7 c7 00 9f 4a 8b e8 5e f5 64 fe 90 <0f> 0b 48 89 ef e8 03 07 df fe e9 40 fd ff ff e8 c9 06 df fe e9 2e RSP: 0018:ffffc90008cc7ab8 EFLAGS: 00010282 RAX: 0000000000000036 RBX: ffffc900025d1110 RCX: ffffffff816f2339 RDX: 0000000000000000 RSI: ffffffff816fab26 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000001 R14: ffffffff8dd43da0 R15: ffffc900025d1112 FS: 00007fc48c2826c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc484d0b000 CR3: 000000001511e000 CR4: 0000000000350ef0 --- 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.