Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 254DDC61DA4 for ; Thu, 23 Feb 2023 12:51:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233663AbjBWMvy (ORCPT ); Thu, 23 Feb 2023 07:51:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234266AbjBWMvm (ORCPT ); Thu, 23 Feb 2023 07:51:42 -0500 Received: from mail-il1-f207.google.com (mail-il1-f207.google.com [209.85.166.207]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5428246099 for ; Thu, 23 Feb 2023 04:51:41 -0800 (PST) Received: by mail-il1-f207.google.com with SMTP id y14-20020a92c74e000000b003157134a9fbso5363029ilp.2 for ; Thu, 23 Feb 2023 04:51:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=9kbPBpIBKQDiGCpRovjjwnFD5+L6QBUjTcySVEN/c4U=; b=uEqBS40gWDnt2zaDefW2pKAh2nfbl+rDYQh/tVxYGgV90yAFcf3apeiNKWmJx2DD3n vUU6zcckpuA7NcO6yhBNzAs6Tc94uOmUqXbDW8eQx0Mrkd5RS6UgkS4+kTfOeYknaOhI oRq0mrPcgxzXY7RJIeR5HGtQNaUK2I3IcoiZO9y9CEjTSJkS8E2/IAwQt6G1N5ajb/ik fFw8iqsQnAyX2c9MlIeNZeooBZyYNO+KQG5txZoHKVv2apn1NPRq7redWE9S1lrlcE58 Pp1CXz31PQH3lVkgXSBU/QKrWQRvmbUq9DTFHmbA1JVmtk23VDixIltQg7PlNJqQ7KXJ XiVw== X-Gm-Message-State: AO0yUKVocI7fwncthZkpve40tPEfy2nAGaY3CWCvE3evDspXFZ7x7pZ3 upsN0EL+XAmIyDnktRAieXlP64qPfQ3thkV9LsykQF4dN0uT X-Google-Smtp-Source: AK7set/2T8Md5oijPNWth7peWn9upFoh5kDRTpxkhWEo68B0MqBS5q15uek4xJ6rrSO4fRW+stqEgeHBQtlWSG2E1rS6vL+DESyl MIME-Version: 1.0 X-Received: by 2002:a02:a19b:0:b0:3c4:e84b:2a3a with SMTP id n27-20020a02a19b000000b003c4e84b2a3amr4544411jah.4.1677156700660; Thu, 23 Feb 2023 04:51:40 -0800 (PST) Date: Thu, 23 Feb 2023 04:51:40 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000602c0e05f55d793c@google.com> Subject: [syzbot] [ntfs?] kernel BUG in ntfs_iget From: syzbot To: anton@tuxera.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-ntfs-dev@lists.sourceforge.net, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 307e14c03906 Merge tag '6.3-rc-smb3-client-fixes' of git:/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12974f28c80000 kernel config: https://syzkaller.appspot.com/x/.config?x=636897a0dac3d81e dashboard link: https://syzkaller.appspot.com/bug?extid=d62e6bd2a2d05103d105 compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/970f2d144bf1/disk-307e14c0.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/1ba101847b5b/vmlinux-307e14c0.xz kernel image: https://storage.googleapis.com/syzbot-assets/21e98f0fe45e/bzImage-307e14c0.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+d62e6bd2a2d05103d105@syzkaller.appspotmail.com loop3: detected capacity change from 0 to 4096 ------------[ cut here ]------------ kernel BUG at fs/ntfs/malloc.h:31! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 16279 Comm: syz-executor.3 Not tainted 6.2.0-syzkaller-06742-g307e14c03906 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:__ntfs_malloc fs/ntfs/malloc.h:31 [inline] RIP: 0010:ntfs_malloc_nofs+0xfd/0x100 fs/ntfs/malloc.h:52 Code: 17 e8 87 f7 c4 fe 48 89 df be 42 0c 00 00 5b 41 5e 41 5f e9 c5 df 0d ff e8 70 f7 c4 fe 31 c0 5b 41 5e 41 5f c3 e8 63 f7 c4 fe <0f> 0b 90 66 0f 1f 00 55 41 57 41 56 41 55 41 54 53 49 89 fe 49 bc RSP: 0018:ffffc90027107818 EFLAGS: 00010283 RAX: ffffffff82c7a8ad RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000ce23000 RSI: 0000000000005237 RDI: 0000000000005238 RBP: ffff88803a9e44a0 R08: ffffffff82c7a7dd R09: ffffed10105f8a5b R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff888082fc55a0 R14: ffff88803a9e44ab R15: dffffc0000000000 FS: 00007f447fd87700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f54efde5000 CR3: 000000002a9b8000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ntfs_read_locked_inode+0x1fd5/0x49c0 fs/ntfs/inode.c:703 ntfs_iget+0x113/0x190 fs/ntfs/inode.c:177 load_and_init_mft_mirror fs/ntfs/super.c:1027 [inline] load_system_files+0x100/0x4840 fs/ntfs/super.c:1772 ntfs_fill_super+0x19b4/0x2bd0 fs/ntfs/super.c:2892 mount_bdev+0x271/0x3a0 fs/super.c:1371 legacy_get_tree+0xef/0x190 fs/fs_context.c:610 vfs_get_tree+0x8c/0x270 fs/super.c:1501 do_new_mount+0x28f/0xae0 fs/namespace.c:3031 do_mount fs/namespace.c:3374 [inline] __do_sys_mount fs/namespace.c:3583 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3560 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:0x7f447f08d62a Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 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:00007f447fd86f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000001e70f RCX: 00007f447f08d62a RDX: 0000000020000080 RSI: 0000000020000000 RDI: 00007f447fd86fe0 RBP: 00007f447fd87020 R08: 00007f447fd87020 R09: 0000000000000005 R10: 0000000000000005 R11: 0000000000000202 R12: 0000000020000080 R13: 0000000020000000 R14: 00007f447fd86fe0 R15: 0000000020001400 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__ntfs_malloc fs/ntfs/malloc.h:31 [inline] RIP: 0010:ntfs_malloc_nofs+0xfd/0x100 fs/ntfs/malloc.h:52 Code: 17 e8 87 f7 c4 fe 48 89 df be 42 0c 00 00 5b 41 5e 41 5f e9 c5 df 0d ff e8 70 f7 c4 fe 31 c0 5b 41 5e 41 5f c3 e8 63 f7 c4 fe <0f> 0b 90 66 0f 1f 00 55 41 57 41 56 41 55 41 54 53 49 89 fe 49 bc RSP: 0018:ffffc90027107818 EFLAGS: 00010283 RAX: ffffffff82c7a8ad RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000ce23000 RSI: 0000000000005237 RDI: 0000000000005238 RBP: ffff88803a9e44a0 R08: ffffffff82c7a7dd R09: ffffed10105f8a5b R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff888082fc55a0 R14: ffff88803a9e44ab R15: dffffc0000000000 FS: 00007f447fd87700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcdee130000 CR3: 000000002a9b8000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 --- 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.