Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp927429pxb; Fri, 22 Apr 2022 14:32:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxz9gUyt/Krn7HFJLmzWPSNFG+u6X5vN2A6q4Mh6YiIcV9Xlv0WKl7Movo1IAJXxrlPM+kB X-Received: by 2002:a65:6a16:0:b0:39d:4f3:67e6 with SMTP id m22-20020a656a16000000b0039d04f367e6mr5697179pgu.84.1650663142335; Fri, 22 Apr 2022 14:32:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650663142; cv=none; d=google.com; s=arc-20160816; b=U2aS3AhSSBWiyiop9cnxTruyMPFmDs7bfKOL43koWS3X3jNXoHiDcE44fi7B89SfnF a+7H55QtmgHnFmMgB/mLXt0h7FRdBkqxTt6aQh6H9lI5h7+iQZdZaKB2jZZGgH7GfZOS s01SUoUzc+1ep/emEK18vN4ydIjX6UKdSiFBJHs/KhoD7fJoC1iA0yImWtM53EjtdeY2 KJ9Z8IbUm0sOQdDnjACJxDlj0mZyC+GgGy+gOOmkxR77J108spTkheniyEYApcszGCDf pf4bAnO+GlNVS+zzH1WsGgZT5IQm0C4Xc/4qpA6JGwEgY3a1GRSf0RcmE063uH4lBC5L ZGxw== 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=9ZLz1qP7iL5lnV6y3Ho8XIAP9zuovgE3aj5nUkzse0A=; b=AKTBSfyAoDHaKHj+ieD+tHCB/whc2yTA43KXDPkLYRB46ryVal3M+EZRee17x9cqoC vezGewL38WLVFCEHd/1m7aJF0wOqqsBfCGBwjWcqlg3L0V1CSLwmBP01+FVURhr+7nmM vgysd8BeEFsPn2B0eMrycCTi7LyIy7CILPIpWUD4YBml1dMD7/qIuBHx6p53ipSfbWDp hikPWIiJtm5ITSHCATt8zwVKodPRm8wS+rfG0yFodsNm2zYZq7tPoq8MWRm4RjILD2ru jYOn8LdNBcirnsYTMgYCv/jhXi6UH2MJIUyr1jYVgpkGgH78mQjuH+0gMfuNXGtj6hH/ TJwA== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id u12-20020a170902b28c00b00158d36a8114si8600577plr.77.2022.04.22.14.32.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 14:32:22 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0102D1E91D1; Fri, 22 Apr 2022 12:39:39 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1386556AbiDUITS (ORCPT + 99 others); Thu, 21 Apr 2022 04:19:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355921AbiDUITQ (ORCPT ); Thu, 21 Apr 2022 04:19:16 -0400 Received: from mail-il1-f200.google.com (mail-il1-f200.google.com [209.85.166.200]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C395A3889 for ; Thu, 21 Apr 2022 01:16:27 -0700 (PDT) Received: by mail-il1-f200.google.com with SMTP id h28-20020a056e021d9c00b002cc403e851aso2234705ila.12 for ; Thu, 21 Apr 2022 01:16:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=9ZLz1qP7iL5lnV6y3Ho8XIAP9zuovgE3aj5nUkzse0A=; b=tpLl79mk0bQVUnu9rtZkgTgwGx7CLhpqglktiyL4gPCM8C1Ab3sNM28ceN0r8Zra7c vCjRCyIslxmlKjduCrsOaGzaLWoN7J3yI4K+ObIk/66iA8NUnawD3ml+bJs9p7jB2Eh8 kDm0Wx+UcI63mIVhYRUhIAAj2Wjt6VDTK90b+ic+6ytR3RXT45P91uwXhSyX/WjBmpBO gUmOp1/HeRjkYtzyNgm6KJwSoIEx2ZzHGvKqoVHYFZreGuPM3azt8LVbVm+/yZSfuO7/ o7/U7fSXkFxcpSnif+z3L7mTTlxtIXewRsxADC3WhH+97c1xDcPEv2fcjYIbuVbt+qS1 WuGA== X-Gm-Message-State: AOAM531iUaNns/fmAf9GAb89bDnpNTJhOaL5NUuS41Te1YCkIZZEh20Z wsC82BGHqdGk+4Yh13cJmBMDbJ37xNms7sYiC6Ch2zsBjkt9 MIME-Version: 1.0 X-Received: by 2002:a05:6e02:1b81:b0:2ca:c4b1:9687 with SMTP id h1-20020a056e021b8100b002cac4b19687mr10598354ili.293.1650528987164; Thu, 21 Apr 2022 01:16:27 -0700 (PDT) Date: Thu, 21 Apr 2022 01:16:27 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000f8b5ef05dd25b963@google.com> Subject: [syzbot] UBSAN: shift-out-of-bounds in ntfs_fill_super From: syzbot To: almaz.alexandrovich@paragon-software.com, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, nathan@kernel.org, ndesaulniers@google.com, ntfs3@lists.linux.dev, syzkaller-bugs@googlegroups.com, trix@redhat.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SORTED_RECIPS,SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: b253435746d9 Merge tag 'xtensa-20220416' of https://github.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=144dd7f4f00000 kernel config: https://syzkaller.appspot.com/x/.config?x=ff9f8140cbb3af7 dashboard link: https://syzkaller.appspot.com/bug?extid=1631f09646bc214d2e76 compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 Unfortunately, I don't have any reproducer for this issue yet. IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+1631f09646bc214d2e76@syzkaller.appspotmail.com loop3: detected capacity change from 0 to 8189 ================================================================================ UBSAN: shift-out-of-bounds in fs/ntfs3/super.c:673:16 shift exponent -192 is negative CPU: 0 PID: 12945 Comm: syz-executor.3 Not tainted 5.18.0-rc3-syzkaller-00016-gb253435746d9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 ubsan_epilogue+0xb/0x50 lib/ubsan.c:151 __ubsan_handle_shift_out_of_bounds.cold+0xb1/0x187 lib/ubsan.c:322 ntfs_fill_super.cold+0x2bf/0x549 fs/ntfs/bitmap.c:84 get_tree_bdev+0x440/0x760 fs/super.c:1292 vfs_get_tree+0x89/0x2f0 fs/super.c:1497 do_new_mount fs/namespace.c:3040 [inline] path_mount+0x1320/0x1fa0 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f768c28a61a 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:00007f768d3dff88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f768c28a61a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f768d3dffe0 RBP: 00007f768d3e0020 R08: 00007f768d3e0020 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000000 R13: 0000000020000100 R14: 00007f768d3dffe0 R15: 000000002007aa80 ================================================================================ --- 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.