Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3198331rwa; Mon, 22 Aug 2022 23:56:00 -0700 (PDT) X-Google-Smtp-Source: AA6agR7JUfjMpiIXUOiAYpqh9LUbQS0Ebxh3UwoFp8G94j/taheiTvyQOe2fIPuAWf3jCjXNZMQO X-Received: by 2002:a05:6402:2904:b0:445:f3a8:a917 with SMTP id ee4-20020a056402290400b00445f3a8a917mr2430099edb.183.1661237760308; Mon, 22 Aug 2022 23:56:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661237760; cv=none; d=google.com; s=arc-20160816; b=dL5tGpmXGGu9EetcXhcakhJOwU9aWxEuTJtNYarO8oFoK4oB3FiyzBnsjo0nQ1iscD 28rKO1A2KLYmmvH7xMEPO2U/5cM6GDau9qUktE6fNaxsrZdO2yGPH5gsiZ/ExPz5CENJ X/CX6oF+0e2xWvscnSrAOICdVGqv2e2WTQdRGhTwGy7pUm91Z4WBdeTVDCiovKmxL0w2 pI/KIzJusOC8F4nlsjWEJAWpaAOHW0Fk3p+VgNgrPJ+DVuQIEB2+t/mAJhRiPui4/k7x MqBKlEwo+4QilT8R4VLx4rOqvjefVK9P1qD5dVjfbtjnmhepWdq3jW7SkqeIvuy01avG fITQ== 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=w7IBh16YCOLSqhh2JLVcXFQTO2VKalGU5Te6z3qBSMc=; b=KW2yQ5e4qPZ8/oIJaokH7RaBytW0SGAUIK1wIKlVZn7KwHkrClfYk44/CWXcb6Iqu7 Q69Oouif2ErBVYz9P7uOXOWNpsrJEIBHX24NqJIQ708Tm1/XsvlFHsNUYEDCYxuQD6IS 4yvRpl9pl5c5VwwH1S+Eg4FEy9c9OWLspAn0eRWIUTbBG6zAK6Cugd6glLTj+m0JAywR YvYC02GqRyg8P39GWm+4E1nLqw+VsNamICrB19fsniigwI8rRIkcfZBJDCQfGAO5TEWV ZbiEKQwa1J9+aIi9oN5hGJq6YDpi8P8RhEIG6WrjfVKOSlRz/QXwnXlq1VnrFcvaHjbe asKw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m14-20020a50998e000000b00445f2dfacaasi1214472edb.614.2022.08.22.23.55.35; Mon, 22 Aug 2022 23:56:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240083AbiHWGSo (ORCPT + 99 others); Tue, 23 Aug 2022 02:18:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239880AbiHWGSk (ORCPT ); Tue, 23 Aug 2022 02:18:40 -0400 Received: from mail-io1-f71.google.com (mail-io1-f71.google.com [209.85.166.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40174BC24 for ; Mon, 22 Aug 2022 23:18:36 -0700 (PDT) Received: by mail-io1-f71.google.com with SMTP id p123-20020a6bbf81000000b00674f66cf13aso6925831iof.23 for ; Mon, 22 Aug 2022 23:18:36 -0700 (PDT) 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; bh=w7IBh16YCOLSqhh2JLVcXFQTO2VKalGU5Te6z3qBSMc=; b=noGPIPOGO52F0gAGDWT13VvKp/qahJoAB0bHiquNBr5AdBNWB3rYPcpYfXqcK52FBt 9wVTnEqvhAfWGNUMwmy2NOrL55SivCp3dog52LzCJ3Ip5J83zc9qaKBHcEf2LWdjIBwI qweuSQpK/v+Zx///Shl6bjPBvsj49/sbRvZeSveq0EdihGq1Ii32F5bdZgNnm4AT/suL bFadvFXTr4Ox8HXQYKEfL9AZ2AgxVz5mZl34+frbOL2l8FHx6/Qch7NEPCo8wWSTnIT8 4pfqSwoSOFYPXOWLG+0NGcJFsBFMnxPCbomekKE/VOQ25VfUE/Ydq3fad9LruAkhUOdr qyfQ== X-Gm-Message-State: ACgBeo2D2M0W0wGUbxUhqV7+1mz1q1sjt+Lzv8dNrO72DQ4lFI7G6h5a 0Z4XLQX4tqJL9CZW4flkjhVfvixXdPmzvjIHSoO69P/n3umW MIME-Version: 1.0 X-Received: by 2002:a05:6e02:f04:b0:2e9:be2a:5fac with SMTP id x4-20020a056e020f0400b002e9be2a5facmr4268302ilj.70.1661235515559; Mon, 22 Aug 2022 23:18:35 -0700 (PDT) Date: Mon, 22 Aug 2022 23:18:35 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000cb172905e6e28808@google.com> Subject: [syzbot] memory leak in ntfs_init_fs_context 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.8 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SORTED_RECIPS,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: 1c23f9e627a7 Linux 6.0-rc2 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16caa92d080000 kernel config: https://syzkaller.appspot.com/x/.config?x=b1831d905b683446 dashboard link: https://syzkaller.appspot.com/bug?extid=9d67170b20e8f94351c8 compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=161472f3080000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=145f3e2d080000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+9d67170b20e8f94351c8@syzkaller.appspotmail.com executing program executing program BUG: memory leak unreferenced object 0xffff8881100918a0 (size 32): comm "syz-executor151", pid 3611, jiffies 4294944949 (age 8.110s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 c0 ff c0 ff 00 00 00 00 ................ backtrace: [] kmalloc include/linux/slab.h:600 [inline] [] kzalloc include/linux/slab.h:733 [inline] [] ntfs_init_fs_context+0x22/0x1e0 fs/ntfs3/super.c:1397 [] alloc_fs_context+0x225/0x3b0 fs/fs_context.c:290 [] do_new_mount fs/namespace.c:3025 [inline] [] path_mount+0x6f3/0x10d0 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+0x18e/0x1d0 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+0x63/0xcd --- 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. syzbot can test patches for this issue, for details see: https://goo.gl/tpsmEJ#testing-patches