Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1162822rdb; Sat, 7 Oct 2023 15:25:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGMpOHkMTczJdC7W2bD3usJsF9t6xuUMRmbZWDaoSiIbcHzC8PVnhwPRZQnQPsSkT9/ymMU X-Received: by 2002:a9d:6a0a:0:b0:6c4:b0fa:12c2 with SMTP id g10-20020a9d6a0a000000b006c4b0fa12c2mr11468933otn.19.1696717514172; Sat, 07 Oct 2023 15:25:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696717514; cv=none; d=google.com; s=arc-20160816; b=mBxkiuBELMXRy6RUQZzeZP5ri/tPJqU7gUadU5H/7Dv/BXd2i6kyrhkTsYnbGVz3or BnGURNwRJoNSZPWGfxKbUY1tp1J3chmh1YUgkpARvMLe4n78Ak7vdQRPNINH4WFMYueD PGXZOJCJXycUqOqNoSyx1i/29UV7N0KMd4wSVIR5LRsbATdhafcRScLvfXksFBLwY987 ZHeteg3VUH+iG0OmYavbq3VA3YtKe/wP31+gV8eWLWoVmshqmk7U9j1kqfpNgSPsiTE5 yeMi8C2n/CowgNijaUDnbB81g3RJmK3v/6p+7Q+3PHfCadEKpp1+JSh6cxCBqrZgLHAF RxPw== 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=/FuzX2nPNuMQVSQDYDe7//3H5al9fCwsTjHKS2cCyXk=; fh=E6z2AKZGKza64cWMWvjJYn0C46uBbcIsKqU7xE3OX5c=; b=ZRd2kdqbNfM3vKHt1qzhLkiikVKLtzwuGq3io7Zq+Q+gjmBOUK/CJ7LVUkoqEFH//h L40gPKxT/ZFljE56mb86UMI2rW2pEr3zFoTRM69wCVupIAg9MbjOwve4Yi3mFg5tecOL wm4oFF8nL5GC4WvwbYwN3pn3j8RxLuKChLPwjmxxPvaZKYLsC+7NZOpXYwFdbyeFaC1c 1JNZMZU+5fsmjxysEcY6t588ZQVgu6ahtmfFDlN0EmdRuiGUOAluSjjZc7ZzRvRojejc snyk/l/Mw08mJIWIY6GngOCs/Ow7PUTXCl+rjSj3GvEw2Fwm4Z2c8m9OsL6YxqSSbiAZ KApQ== 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:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id i8-20020a639d08000000b00578a26aee75si2384179pgd.295.2023.10.07.15.25.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Oct 2023 15:25:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id D1FE5805119C; Sat, 7 Oct 2023 15:25:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344227AbjJGWYy (ORCPT + 99 others); Sat, 7 Oct 2023 18:24:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344218AbjJGWYx (ORCPT ); Sat, 7 Oct 2023 18:24:53 -0400 Received: from mail-oi1-f208.google.com (mail-oi1-f208.google.com [209.85.167.208]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 622659F for ; Sat, 7 Oct 2023 15:24:51 -0700 (PDT) Received: by mail-oi1-f208.google.com with SMTP id 5614622812f47-3aec68e6244so5428829b6e.1 for ; Sat, 07 Oct 2023 15:24:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696717490; x=1697322290; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=/FuzX2nPNuMQVSQDYDe7//3H5al9fCwsTjHKS2cCyXk=; b=fWOZVef27mPVGYgoGN+TBXNwmYHS5kNl1bDFzoLBTyTCA+Rd4BO+4EEWCUiCGCpQHB hRbKHsjbq9rwAtZIYoHM/MkHmQegpKXJSbQbN8ViefCnZCT5n/dQk/es90JVLuy2KG5N tMVD8SPASGavGBkysPK2e3e7bvoTq2T5rH2Sr2ToiCF0qJEFpsdywoO259lRbMfsKkb3 nMuC/j5YCYMKRhj3cEjNLleYETepFNyxN1z0OM+gzPOaN6jPT9aGokM3puXkyxvufKn3 /K2sIIShKfgmJM/0O/Vq0XZCiMIBCy/iWZJN6JEAnNMSVRvnHGWNJOUSOtlXSfxyDgVA tMmw== X-Gm-Message-State: AOJu0YzEKa0gMr92IOsHbMI6GfBEE7fQKFoO6xi2ANf6s3MyUL+KdVRH hKQ5jtPUPztLKX3hzqSs6pHYEHhiK/Goq1fXBTgaja5iX5Sl MIME-Version: 1.0 X-Received: by 2002:a05:6808:14c7:b0:3a7:b55e:a54 with SMTP id f7-20020a05680814c700b003a7b55e0a54mr6066189oiw.1.1696717490762; Sat, 07 Oct 2023 15:24:50 -0700 (PDT) Date: Sat, 07 Oct 2023 15:24:50 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000005239cf060727d3f6@google.com> Subject: [syzbot] [jfs?] general protection fault in lbmStartIO From: syzbot To: axboe@kernel.dk, brauner@kernel.org, dave.kleikamp@oracle.com, hare@suse.de, hch@lst.de, jack@suse.cz, jfs-discussion@lists.sourceforge.net, johannes.thumshirn@wdc.com, 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: Yes, score=5.6 required=5.0 tests=FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_SBL_CSS, SORTED_RECIPS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Sat, 07 Oct 2023 15:25:11 -0700 (PDT) X-Spam-Report: * 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS * [2620:137:e000:0:0:0:3:0 listed in] [zen.spamhaus.org] * 0.3 FROM_LOCAL_HEX From: localpart has long hexadecimal sequence * -0.0 SPF_PASS SPF: sender matches SPF record * 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record * 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level * mail domains are different * 2.5 SORTED_RECIPS Recipient list is sorted by address * -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list * manager X-Spam-Level: ***** Hello, syzbot found the following issue on: HEAD commit: c9f2baaa18b5 Add linux-next specific files for 20231003 git tree: linux-next console+strace: https://syzkaller.appspot.com/x/log.txt?x=1319f981680000 kernel config: https://syzkaller.appspot.com/x/.config?x=3fe9c462fee1649f dashboard link: https://syzkaller.appspot.com/bug?extid=23bc20037854bb335d59 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=16204836680000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12b62ee6680000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/5361e41384fe/disk-c9f2baaa.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/7028b209124d/vmlinux-c9f2baaa.xz kernel image: https://storage.googleapis.com/syzbot-assets/a167dc667ee5/bzImage-c9f2baaa.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/ef5dd9fc6a1b/mount_0.gz The issue was bisected to: commit bacfceeda53ea9ee9af714245e6c67aa70632b63 Author: Jan Kara Date: Wed Sep 27 09:34:30 2023 +0000 jfs: Convert to bdev_open_by_dev() bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=13a06d8a680000 final oops: https://syzkaller.appspot.com/x/report.txt?x=10606d8a680000 console output: https://syzkaller.appspot.com/x/log.txt?x=17a06d8a680000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+23bc20037854bb335d59@syzkaller.appspotmail.com Fixes: bacfceeda53e ("jfs: Convert to bdev_open_by_dev()") 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: 5058 Comm: syz-executor352 Not tainted 6.6.0-rc4-next-20231003-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:lbmStartIO+0xb7/0x3a0 fs/jfs/jfs_logmgr.c:2116 Code: fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 cf 02 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 5c 24 20 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 86 02 00 00 48 8b 3b ba 01 08 00 00 b9 40 0c 00 RSP: 0018:ffffc90003a5fa90 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff82fd8ed3 RDX: 0000000000000000 RSI: ffffffff82fd8ee1 RDI: ffff88807bb07020 RBP: ffff88801764d800 R08: 0000000000000005 R09: 0000000000000003 R10: 0000000000000002 R11: ffffffff910eb4a0 R12: ffff88807bb07000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000002 FS: 0000555555ed5380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffc6e0506c CR3: 000000007c5c6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lbmWrite+0x32e/0x470 fs/jfs/jfs_logmgr.c:2067 lmNextPage.isra.0+0x278/0x700 fs/jfs/jfs_logmgr.c:616 lmWriteRecord+0xb6d/0x12a0 fs/jfs/jfs_logmgr.c:529 lmLogSync+0x182/0x820 fs/jfs/jfs_logmgr.c:969 jfs_syncpt+0x89/0xa0 fs/jfs/jfs_logmgr.c:1041 jfs_sync_fs+0x83/0xa0 fs/jfs/super.c:685 sync_filesystem fs/sync.c:56 [inline] sync_filesystem+0x109/0x280 fs/sync.c:30 generic_shutdown_super+0x7e/0x3c0 fs/super.c:669 kill_block_super+0x3b/0x90 fs/super.c:1652 deactivate_locked_super+0xbc/0x1a0 fs/super.c:484 deactivate_super+0xde/0x100 fs/super.c:517 cleanup_mnt+0x222/0x3d0 fs/namespace.c:1256 task_work_run+0x14d/0x240 kernel/task_work.c:180 ptrace_notify+0x10c/0x130 kernel/signal.c:2399 ptrace_report_syscall include/linux/ptrace.h:411 [inline] ptrace_report_syscall_exit include/linux/ptrace.h:473 [inline] syscall_exit_work kernel/entry/common.c:251 [inline] syscall_exit_to_user_mode_prepare+0x120/0x220 kernel/entry/common.c:278 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0xd/0x60 kernel/entry/common.c:296 do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ff1e4cd5547 Code: 07 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007fffc6e05058 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007ff1e4cd5547 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007fffc6e05110 RBP: 00007fffc6e05110 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000202 R12: 00007fffc6e06180 R13: 0000555555ed66c0 R14: 431bde82d7b634db R15: 00007fffc6e061a0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:lbmStartIO+0xb7/0x3a0 fs/jfs/jfs_logmgr.c:2116 Code: fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 cf 02 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 5c 24 20 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 86 02 00 00 48 8b 3b ba 01 08 00 00 b9 40 0c 00 RSP: 0018:ffffc90003a5fa90 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff82fd8ed3 RDX: 0000000000000000 RSI: ffffffff82fd8ee1 RDI: ffff88807bb07020 RBP: ffff88801764d800 R08: 0000000000000005 R09: 0000000000000003 R10: 0000000000000002 R11: ffffffff910eb4a0 R12: ffff88807bb07000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000002 FS: 0000555555ed5380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555555ede6f8 CR3: 000000007c5c6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: df 48 89 fisttps -0x77(%rax) 3: fa cli 4: 48 c1 ea 03 shr $0x3,%rdx 8: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) c: 0f 85 cf 02 00 00 jne 0x2e1 12: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 19: fc ff df 1c: 49 8b 5c 24 20 mov 0x20(%r12),%rbx 21: 48 89 da mov %rbx,%rdx 24: 48 c1 ea 03 shr $0x3,%rdx * 28: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2c: 0f 85 86 02 00 00 jne 0x2b8 32: 48 8b 3b mov (%rbx),%rdi 35: ba 01 08 00 00 mov $0x801,%edx 3a: b9 .byte 0xb9 3b: 40 0c 00 rex or $0x0,%al --- 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. For information about bisection process see: https://goo.gl/tpsmEJ#bisection 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