Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp824900rdb; Sun, 1 Oct 2023 07:08:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH11tFwuAsxwjz0XFktCQCyeozy7BhULvSHIUAfatl686KKBt0sT7PafEIHXMoCbf8wUYBS X-Received: by 2002:a17:902:ecd2:b0:1c7:41ed:1bb with SMTP id a18-20020a170902ecd200b001c741ed01bbmr8373218plh.62.1696169312117; Sun, 01 Oct 2023 07:08:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696169312; cv=none; d=google.com; s=arc-20160816; b=uZkiYcCS31NYa6/ZkprQNfI6uXlex+yVqTXiM4AT9SCfFINGxC/x22RTl8VK65V+f0 WDyKJtpCvffoBPfOkRqfx5vvBbtsmOMtmrnixS8jYvHie1Cc/NH0DDpJWY9QLdmfMe0a LGsnFUEWDB/g/cL0A1nnTcwuGlXS1yj+vIHu1Hpr3hmKAbzvzNXSS/Z1oEDeTsWYkcjU tNh+3gYj/t8PWV58LdRIsx3ZNt1VV6gFRHxQPVM0JNAC4OQNLJEuFF0ki8d1LWCDvABZ FONo8g4AyBq0EFzBupiL4QdLVel6scsw0UriTKrF5ys8OaTgvaIZjI+GWbrwnp7APP7s nPtg== 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:date:mime-version; bh=eX0vtL5fOhmVLH0Nu1LjGmdg5gsapNaCgl3QZSj8jEY=; fh=iFCAp5LWj+ARbdWVZALtuVBd5Nh/o5ZTT/bbqYaoZs4=; b=EtgD6LC1TgFAcTqE5BQwPYBvGtAtWwg6AklKHWL4gycO9e3SXw+S4ptNBT0emIGs5u HBHpKAFljd0YzpVbytD8PpZYfLd8zkYfeL86Z/YQhDqMdpzOdWC/yX0Ok6m5WAQ+SBi7 2vwBMMkza8GLWWTWj0EiFJogZrM4pqU2CDJll5zzE6VqLV0RWjVvfFK25l6ix5T/jdcF EBqF5VdXQFErpH2BZluUVlFQ45KDm7ECHZkPsD3L3P8r1zfUVqVM4G265C/rc73Vzyk7 ZnN7y3emTTliEb3pGGOvuPYSWPORk9GjHYHw4pcM6p12v+7b1/hPy1xnoySFEVTWUCbT UQPw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id lg7-20020a170902fb8700b001c60d1de681si17585139plb.108.2023.10.01.07.08.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 07:08:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 07996802F67D; Sun, 1 Oct 2023 07:08:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235075AbjJAOHz (ORCPT + 99 others); Sun, 1 Oct 2023 10:07:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235060AbjJAOHx (ORCPT ); Sun, 1 Oct 2023 10:07:53 -0400 Received: from mail-ot1-f78.google.com (mail-ot1-f78.google.com [209.85.210.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25C3E9F for ; Sun, 1 Oct 2023 07:07:51 -0700 (PDT) Received: by mail-ot1-f78.google.com with SMTP id 46e09a7af769-6c61ada4178so11086771a34.0 for ; Sun, 01 Oct 2023 07:07:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696169269; x=1696774069; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=eX0vtL5fOhmVLH0Nu1LjGmdg5gsapNaCgl3QZSj8jEY=; b=sd1U6AK8iDmf89iCRn860jEg2KXuPU0+4XVcBqIOEJGtpzjQMMUSX+rq2DZyM7B7yC GQomwZgrRBHN37E3+VXdF6uhVK3vk7MBcHotMhIwM6gx2pit+IqKUX/dp8yEWjP+51kh Puj7xy2xXg0dosOTbzQRlti/buY/bJruncgkP2uB64WS5YO/ECrzPoKc4EZZvE2WD440 e1Etatjg9LpldSrgRpOZoK4Hw9Q1uPwUv5oj6eryqvEAHDt4F8oU80j7tHMgj54ORI2p xBKf592VqWQK0IJ+ElHWXgoz6BPsSbKA0bu5WFZggFcclZknZN/z8/iUHWqYzhkOA30b IDOw== X-Gm-Message-State: AOJu0Yx/VlU0tmaDbYOXUQShN5IJqRdBRWbm+zb6rRlc9odepKF8CFgk 8oXcOI2nv5i7ui+pgGMRhIg4un/cb2Kd/2d+OPH08U3OqBs0 MIME-Version: 1.0 X-Received: by 2002:a05:6870:988a:b0:1dd:11b8:9ce2 with SMTP id eg10-20020a056870988a00b001dd11b89ce2mr3744918oab.5.1696169269394; Sun, 01 Oct 2023 07:07:49 -0700 (PDT) Date: Sun, 01 Oct 2023 07:07:49 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000c801280606a82e95@google.com> Subject: [syzbot] [jfs?] INFO: trying to register non-static key in txEnd 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 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Sun, 01 Oct 2023 07:08:29 -0700 (PDT) Hello, syzbot found the following issue on: HEAD commit: 3b517966c561 Merge tag 'dma-mapping-6.6-2023-09-30' of git.. git tree: upstream console+strace: https://syzkaller.appspot.com/x/log.txt?x=10f60d01680000 kernel config: https://syzkaller.appspot.com/x/.config?x=12da82ece7bf46f9 dashboard link: https://syzkaller.appspot.com/bug?extid=ca4b16c6465dca321d40 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=173cdcd6680000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13451e92680000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/5b735d3535d1/disk-3b517966.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/b97a846fc755/vmlinux-3b517966.xz kernel image: https://storage.googleapis.com/syzbot-assets/b9cdff2a07c0/bzImage-3b517966.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/fcc011d82db8/mount_0.gz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+ca4b16c6465dca321d40@syzkaller.appspotmail.com WARNING: The mand mount option has been deprecated and and is ignored by this kernel. Remove the mand option from the mount to silence this warning. ======================================================= ERROR: (device loop0): txBegin: read-only filesystem ERROR: (device loop0): remounting filesystem as read-only INFO: trying to register non-static key. The code is fine but needs lockdep annotation, or maybe you didn't initialize this object before use? turning off the locking correctness validator. CPU: 1 PID: 5036 Comm: syz-executor418 Not tainted 6.6.0-rc3-syzkaller-00165-g3b517966c561 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 assign_lock_key+0x234/0x270 kernel/locking/lockdep.c:976 register_lock_class+0x28e/0x990 kernel/locking/lockdep.c:1289 __lock_acquire+0x190/0x7f70 kernel/locking/lockdep.c:5013 lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5753 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 __wake_up_common_lock kernel/sched/wait.c:137 [inline] __wake_up+0x101/0x1d0 kernel/sched/wait.c:160 txEnd+0x8c/0x560 fs/jfs/jfs_txnmgr.c:504 __jfs_xattr_set+0x132/0x180 fs/jfs/xattr.c:920 __vfs_setxattr+0x460/0x4a0 fs/xattr.c:201 __vfs_setxattr_noperm+0x12e/0x5e0 fs/xattr.c:235 vfs_setxattr+0x221/0x420 fs/xattr.c:322 do_setxattr fs/xattr.c:630 [inline] setxattr+0x25d/0x2f0 fs/xattr.c:653 path_setxattr+0x1c0/0x2a0 fs/xattr.c:672 __do_sys_setxattr fs/xattr.c:688 [inline] __se_sys_setxattr fs/xattr.c:684 [inline] __x64_sys_setxattr+0xbb/0xd0 fs/xattr.c:684 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8b974129c9 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:00007ffe91f079a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f8b974129c9 RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000020000180 RBP: 00007f8b9745b04b R08: 0000000000000002 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffe91f07b88 R14: 0000000000000001 R15: 0000000000000001 general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 5036 Comm: syz-executor418 Not tainted 6.6.0-rc3-syzkaller-00165-g3b517966c561 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:__wake_up_common+0x23d/0x4e0 Code: 00 49 83 c4 40 4d 39 e7 0f 84 f1 01 00 00 45 31 f6 eb 09 4d 39 e7 0f 84 e3 01 00 00 4c 89 fb 49 8d 6f e8 4c 89 f8 48 c1 e8 03 <80> 3c 10 00 74 12 48 89 df e8 85 46 7e 00 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc90003a3f778 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffffc90002631030 RBP: ffffffffffffffe8 R08: 0000000000000000 R09: ffffc90003a3f820 R10: dffffc0000000000 R11: fffff52000747ed8 R12: ffffc90002631070 R13: 1ffff92000747f04 R14: 0000000000000000 R15: 0000000000000000 FS: 0000555556b00380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f9c7d4fff0 CR3: 000000007e73b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __wake_up_common_lock kernel/sched/wait.c:138 [inline] __wake_up+0x11e/0x1d0 kernel/sched/wait.c:160 txEnd+0x8c/0x560 fs/jfs/jfs_txnmgr.c:504 __jfs_xattr_set+0x132/0x180 fs/jfs/xattr.c:920 __vfs_setxattr+0x460/0x4a0 fs/xattr.c:201 __vfs_setxattr_noperm+0x12e/0x5e0 fs/xattr.c:235 vfs_setxattr+0x221/0x420 fs/xattr.c:322 do_setxattr fs/xattr.c:630 [inline] setxattr+0x25d/0x2f0 fs/xattr.c:653 path_setxattr+0x1c0/0x2a0 fs/xattr.c:672 __do_sys_setxattr fs/xattr.c:688 [inline] __se_sys_setxattr fs/xattr.c:684 [inline] __x64_sys_setxattr+0xbb/0xd0 fs/xattr.c:684 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8b974129c9 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:00007ffe91f079a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f8b974129c9 RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000020000180 RBP: 00007f8b9745b04b R08: 0000000000000002 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffe91f07b88 R14: 0000000000000001 R15: 0000000000000001 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__wake_up_common+0x23d/0x4e0 Code: 00 49 83 c4 40 4d 39 e7 0f 84 f1 01 00 00 45 31 f6 eb 09 4d 39 e7 0f 84 e3 01 00 00 4c 89 fb 49 8d 6f e8 4c 89 f8 48 c1 e8 03 <80> 3c 10 00 74 12 48 89 df e8 85 46 7e 00 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc90003a3f778 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffffc90002631030 RBP: ffffffffffffffe8 R08: 0000000000000000 R09: ffffc90003a3f820 R10: dffffc0000000000 R11: fffff52000747ed8 R12: ffffc90002631070 R13: 1ffff92000747f04 R14: 0000000000000000 R15: 0000000000000000 FS: 0000555556b00380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f9c7d4fff0 CR3: 000000007e73b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 49 83 c4 40 add $0x40,%r12 4: 4d 39 e7 cmp %r12,%r15 7: 0f 84 f1 01 00 00 je 0x1fe d: 45 31 f6 xor %r14d,%r14d 10: eb 09 jmp 0x1b 12: 4d 39 e7 cmp %r12,%r15 15: 0f 84 e3 01 00 00 je 0x1fe 1b: 4c 89 fb mov %r15,%rbx 1e: 49 8d 6f e8 lea -0x18(%r15),%rbp 22: 4c 89 f8 mov %r15,%rax 25: 48 c1 e8 03 shr $0x3,%rax * 29: 80 3c 10 00 cmpb $0x0,(%rax,%rdx,1) <-- trapping instruction 2d: 74 12 je 0x41 2f: 48 89 df mov %rbx,%rdi 32: e8 85 46 7e 00 call 0x7e46bc 37: 48 rex.W 38: ba 00 00 00 00 mov $0x0,%edx 3d: 00 fc add %bh,%ah --- 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 bug is already fixed, 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 bug's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the bug is a duplicate of another bug, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup