Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp304753rdf; Fri, 3 Nov 2023 00:40:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGLkK8re0bvp5RJ8ro32SVFXl2Xyu60zMjumOSPqgH4arlSvPFYQ/XeT8YVBkTD+eT8nOFz X-Received: by 2002:a05:6870:d88f:b0:1e9:f9e5:d353 with SMTP id oe15-20020a056870d88f00b001e9f9e5d353mr26068959oac.12.1698997233896; Fri, 03 Nov 2023 00:40:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698997233; cv=none; d=google.com; s=arc-20160816; b=HCxq2SlWB1B6CY6LxB3nJ72j4kGHaRu89jYlwJzxrxIEBP/VNyAgxuipSkusrS4ykQ TX5I61o2UN/gMMfGTSh8Wetu9MPUGObAMEJSdnEXL9mNAx33I1Oy5240FQyxDnyu3fE5 1PpQGSrADVC1GtetenwVC9Kbvi6Dp7ylqW0vvhWyJNNk2xUPf74DmmqegNyAza+npgp4 FD1pYYOSYdLyocYbAQ0jcAKV9jNBF+SZx1DQIlz2V/dir+30IB+KNYmFFIMZVKx0yCjH pr4W/CKO+fA26gccwv6LnyqWQ0To/CbvxvwohOTMFOxwQBxDtxMnN3/ld9hPEUnHRphc dHEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:message-id:in-reply-to:date :mime-version; bh=fvyh5xNr0Do/HLqwhKdaWfIgOLYaEzNDX2qmKXdsKvk=; fh=956ATNi2Z67nScvkwnlmtuPKffh0dVVP2cxtWF5f4hg=; b=s5dKRomMZHiq3DpNpixSZJfpWiBO/zUoaQcS2EIGiPMW6oQrhJWg0jsFMik5YJt0lw HToMkpVtTefMxAkFxzLhWbaZXdKF0eH1hpgvq2+qOEAbzb4QRyHDbn5zb8IWuB0a0+0p mh/KGXpt6wp8dYF4wcAbLPXOIcrxhWf91qYgUraaPPhyoYzn+6J/1vQuDVJql0GKzj/1 CghqEeaFRrdb20I+GxXJRBjBrjNWNfwgVoYwQJ3ld7RcUyD9C0bIzVOVgEBU6v0/kPJB A7+cQs2BS9rH5mfdnttXJaZACO0tMIYGQJXjmT1exrA7iF1g/Z1Yw9ZH/Xx1wcjYZTWE DvzQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id s36-20020a635264000000b00578af609d05si1077777pgl.244.2023.11.03.00.40.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 00:40:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id A040880F9CAD; Fri, 3 Nov 2023 00:40:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346170AbjKCHkO (ORCPT + 99 others); Fri, 3 Nov 2023 03:40:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233449AbjKCHkN (ORCPT ); Fri, 3 Nov 2023 03:40:13 -0400 Received: from mail-oi1-f200.google.com (mail-oi1-f200.google.com [209.85.167.200]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46458134 for ; Fri, 3 Nov 2023 00:40:07 -0700 (PDT) Received: by mail-oi1-f200.google.com with SMTP id 5614622812f47-3b2d8caadfbso2110172b6e.0 for ; Fri, 03 Nov 2023 00:40:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698997206; x=1699602006; 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=fvyh5xNr0Do/HLqwhKdaWfIgOLYaEzNDX2qmKXdsKvk=; b=MLOywOHcO8W0jN5jpQnAGtJBPrTHFhgK98whg+FMF9VISqORbWTI+5m8Ht+Kdg4npX DXSARsktNjkaJRQs4undQitsDTduklpsx/y6DgtzGMXmkA+PnR2ywtYZmI3nHIzep2K4 p76WWjTsDLTXcFb33qL3T4srdrOSFA1lElXmNvPLTabpwbDSLg+xubMN5rmq5vF3HHVs 9Pn71J3XAekgKfWVhdtLzA1TYL3SB4yuSNTzRH3jVsHeOtjXNpx/ehN+mW4Ifjf/QFVc mAJJo+gRnbHDiUWYumdbLDP7G6emsLqdcwYXoTLAyBCeh0KQ4+CnFiYZeAwfQpVBIukK F+Cw== X-Gm-Message-State: AOJu0YxjNIoVG01uOsnp8dOdcqvXIUmjdiMp8mHU06qHFm0UWbVaWy1z Yi5720/AlgFx1yqXxgMdxSW6B1ih0zP3keh/+oyfuVbzLHLl MIME-Version: 1.0 X-Received: by 2002:a05:6808:360a:b0:3ad:29a4:f542 with SMTP id ct10-20020a056808360a00b003ad29a4f542mr508434oib.5.1698997206691; Fri, 03 Nov 2023 00:40:06 -0700 (PDT) Date: Fri, 03 Nov 2023 00:40:06 -0700 In-Reply-To: X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000fab6b506093a9cc3@google.com> Subject: Re: [syzbot] [jfs?] UBSAN: array-index-out-of-bounds in diWrite From: syzbot To: ghandatmanas@gmail.com, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, syzkaller@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.4 required=5.0 tests=FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 03 Nov 2023 00:40:27 -0700 (PDT) Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: kernel BUG in txUnlock BUG at fs/jfs/jfs_txnmgr.c:931 assert(mp->nohomeok > 0) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_txnmgr.c:931! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 107 Comm: jfsCommit Not tainted 6.6.0-syzkaller-12401-g8f6f76a6a29f-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:txUnlock+0xc6e/0xca0 fs/jfs/jfs_txnmgr.c:931 Code: 18 58 4b 07 0f 0b e8 f1 9a 7b fe 48 c7 c7 40 ed e2 8a 48 c7 c6 39 e9 e2 8a ba a3 03 00 00 48 c7 c1 20 fa e2 8a e8 f2 57 4b 07 <0f> 0b e8 cb 9a 7b fe 48 c7 c7 40 ed e2 8a 48 c7 c6 39 e9 e2 8a ba RSP: 0018:ffffc90002cafce8 EFLAGS: 00010246 RAX: 0000000000000037 RBX: 0000000000000000 RCX: af7f11a66accc000 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffff888027157aa8 R08: ffffffff816e5b5c R09: 1ffff92000595f3c R10: dffffc0000000000 R11: fffff52000595f3d R12: 0000000000000a06 R13: 0000000000000000 R14: ffffc90002802000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055555660e938 CR3: 0000000027c28000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: jfs_lazycommit+0x5d4/0xb80 fs/jfs/jfs_txnmgr.c:2682 kthread+0x2cd/0x360 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:txUnlock+0xc6e/0xca0 fs/jfs/jfs_txnmgr.c:931 Code: 18 58 4b 07 0f 0b e8 f1 9a 7b fe 48 c7 c7 40 ed e2 8a 48 c7 c6 39 e9 e2 8a ba a3 03 00 00 48 c7 c1 20 fa e2 8a e8 f2 57 4b 07 <0f> 0b e8 cb 9a 7b fe 48 c7 c7 40 ed e2 8a 48 c7 c6 39 e9 e2 8a ba RSP: 0018:ffffc90002cafce8 EFLAGS: 00010246 RAX: 0000000000000037 RBX: 0000000000000000 RCX: af7f11a66accc000 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffff888027157aa8 R08: ffffffff816e5b5c R09: 1ffff92000595f3c R10: dffffc0000000000 R11: fffff52000595f3d R12: 0000000000000a06 R13: 0000000000000000 R14: ffffc90002802000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055555660e938 CR3: 0000000026057000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Tested on: commit: 8f6f76a6 Merge tag 'mm-nonmm-stable-2023-11-02-14-08' .. git tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master console output: https://syzkaller.appspot.com/x/log.txt?x=1751405b680000 kernel config: https://syzkaller.appspot.com/x/.config?x=f696cf620c46c5db dashboard link: https://syzkaller.appspot.com/bug?extid=c1056fdfe414463fdb33 compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 patch: https://syzkaller.appspot.com/x/patch.diff?x=1022abe3680000