From mboxrd@z Thu Jan 1 00:00:00 1970 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 89C08C433F5 for ; Wed, 25 May 2022 14:07:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245694AbiEYOGN (ORCPT ); Wed, 25 May 2022 10:06:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245174AbiEYOFK (ORCPT ); Wed, 25 May 2022 10:05:10 -0400 Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A60D0B0416 for ; Wed, 25 May 2022 07:02:24 -0700 (PDT) Received: by mail-io1-f72.google.com with SMTP id z22-20020a5e8616000000b0066576918849so2783023ioj.1 for ; Wed, 25 May 2022 07:02:24 -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=HKCgwzbPBNhtLwjBdZBQTCRZmgb1oc+nVB2lvf4UOTo=; b=MFubYLzGhgPAhsjFe/cDLL40FRtc3nVIL7ZDgU71ltKYyV19N8BB8NcSV6GI8AVjX7 U6WPs0Xi/uPVItQQNUuqfHMziUX8rGlr8eFNgJdLH4h3AbsByUBgMYRddhkkyWgpu8SB ceYslZY3megqMzgFoxFJmrMtRANQOrIkvXCopoSzJvxqDlmhWcpE5okqwBOyh+gljohV o8bDuiQY78tGs3ox71bOONraa+WvNRu61Yls/VJmqVLvaa3YatLnjTzUFlfrraU9Uo2t O6q4bJo8PmuF1UeHYmssROHSXToz+MvSbw6+SsZdxkvS5tCtIpL/onS1nT56Pc6zwfrB 9cug== X-Gm-Message-State: AOAM530d2UGwf04Ro2wDdJthBIv0+Cs3mNmsrwDlXqhsALJBEbjXiOaJ OmOVL3DtSOwTPSOs7mhCrJje2Oo4WZhTpSYPzpNV9F1RuDtj X-Google-Smtp-Source: ABdhPJyDNDE0vvoTPT9iPJl/B5TbQR9ZNEMQcHwWFNzQTiH75yQgMB1nty1WGvvZ1BBDEB6iStsgepTARoVUfx9BalneY0JasALA MIME-Version: 1.0 X-Received: by 2002:a92:cc82:0:b0:2d1:8efa:f8f4 with SMTP id x2-20020a92cc82000000b002d18efaf8f4mr11100166ilo.23.1653487343850; Wed, 25 May 2022 07:02:23 -0700 (PDT) Date: Wed, 25 May 2022 07:02:23 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000c5f92d05dfd68500@google.com> Subject: [syzbot] memory leak in autofs_wait From: syzbot To: autofs@vger.kernel.org, linux-kernel@vger.kernel.org, raven@themaw.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: 3b5e1590a267 Merge tag 'gpio-fixes-for-v5.18' of git://git.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=11ae2bfdf00000 kernel config: https://syzkaller.appspot.com/x/.config?x=50f4d49cdcacc43c dashboard link: https://syzkaller.appspot.com/bug?extid=5e53f70e69ff0c0a1c0c 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=152799c5f00000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=128ba38df00000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+5e53f70e69ff0c0a1c0c@syzkaller.appspotmail.com BUG: memory leak unreferenced object 0xffff88810c87a400 (size 96): comm "syz-executor416", pid 3611, jiffies 4294957452 (age 13.060s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 08 a4 87 0c 81 88 ff ff ................ 08 a4 87 0c 81 88 ff ff 00 00 00 00 00 00 00 00 ................ backtrace: [] kmalloc include/linux/slab.h:581 [inline] [] autofs_wait+0x3fe/0x9a0 fs/autofs/waitq.c:378 [] autofs_do_expire_multi+0xa7/0x3e0 fs/autofs/expire.c:593 [] autofs_expire_multi+0x53/0x80 fs/autofs/expire.c:619 [] autofs_root_ioctl_unlocked+0x322/0x3b0 fs/autofs/root.c:905 [] autofs_root_ioctl+0x25/0x30 fs/autofs/root.c:918 [] vfs_ioctl fs/ioctl.c:51 [inline] [] __do_sys_ioctl fs/ioctl.c:870 [inline] [] __se_sys_ioctl fs/ioctl.c:856 [inline] [] __x64_sys_ioctl+0xfc/0x140 fs/ioctl.c:856 [] 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 --- 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