Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp44605pxb; Wed, 8 Sep 2021 17:11:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy25ivxpgkw171Vq41IjSvTh6Iv1DxI7rnUOnVUfKDeFQXQEzbJdXn07/4oXuAizj1bXLEN X-Received: by 2002:a05:6e02:552:: with SMTP id i18mr116434ils.290.1631146282655; Wed, 08 Sep 2021 17:11:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631146282; cv=none; d=google.com; s=arc-20160816; b=rkFT74IMhxJ68eED0C2wmPiG8vzvEhG35ARtano9LNzrMKBnbSJJ7KcFz31epuDoIZ SiNH/iFuZB9erj6Eys4RbCBzyuqZ6GC0pvGfukehmNvTuBV2xj+c2y0e4F0UsvR7++SN aMIhrNHLdew4VHlNYGlkq7qk8nYW+Z1wsF8B4ZLBT2iNMGDUQ6wtCPPPGQQXNOCczfAo deLnxohIyBdq8pUMa1pTgCmv0wzIotMqLA/JAHxjSxg162sCGITnoE1wCKMIkcJJzMoU oICHMHln/eJQntTK2H7AQeqopz5FPHJHWGf7YqbLI3lVNHUzO/5Hr3mQUFawmDoFWqv0 TPWQ== 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=E6ifD+DxBrKIc0PmerbZr6KIS62In3l8PDO6Br/j8+M=; b=n2iqqAcMkNOpVQhBanCMaRiFziuMZqibl+fHfuA1OloKDiakC7n7+030M12w1X8Jrw 7NhgPVnpsfSY1MEIPyc/tYkbQv4gYJ9sGyTTEMbWK4dvvL6Y5OBRW8ki2tJEcRlg2Ghi ofAui4gm2HhmLdQ+w1cHFVVUwlDb768wAnTsx2Chqak4siH1D2t4k5HEwK9LeZfcbDzk Sgi32I1UvvIocfhqdhZUVlox7n8x0Z3WP6ra9krXSOQ0xZn80eyo7GfGPiSHwDvvCSgn EyhMFvRlqyWl+SSQBhYsFAIvWqxnSDEHN3cwiy+Av+Iz+JcA9OmLEoIREZi7g6Wf1s5c /msQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s8si156873ilv.57.2021.09.08.17.11.11; Wed, 08 Sep 2021 17:11:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1348117AbhIIAKg (ORCPT + 99 others); Wed, 8 Sep 2021 20:10:36 -0400 Received: from mail-il1-f200.google.com ([209.85.166.200]:36766 "EHLO mail-il1-f200.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348020AbhIIAK0 (ORCPT ); Wed, 8 Sep 2021 20:10:26 -0400 Received: by mail-il1-f200.google.com with SMTP id s15-20020a056e02216f00b002276040aa1dso157474ilv.3 for ; Wed, 08 Sep 2021 17:09:18 -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=E6ifD+DxBrKIc0PmerbZr6KIS62In3l8PDO6Br/j8+M=; b=U5l46lSSC3WSwy/tQz46zJxsdWbAFoOP3PpSjge6cjFU92za06DMs3C9dPQZeydz1p mOgaiDlcOuK+K12O+kBBvBQ4QiD/9I0YFyZ0tR9y4L+QsvU56LOd+CJFtfs2cNcjd4QT 35frUbwklZ1vxTRF3RObAmWcWC2izuX2fGfP1f0ByyAHplXnvsikkZtTjl3AgoGKtQpW bI0Uwbj0OZR5DuLDYJjwSEuBTCruw9opTrSQg2lhZgIZRSZA9mBb6kBpFHJX2WwtMS0S uoSq6I70MyEECMbFh0cbrCRbIYSfl/i1Ztl533cxGpC5Zxi+uroeMuD+/IoZynWRmW37 lcmg== X-Gm-Message-State: AOAM5309KdaY5gzQ9dgvY6IIvXxVbPD3jeO2HNrNFZojyUTwZ7fYRRuC DDfywKE1m82nPHfoQfkDncswr7FjMcjPU4aF16FeR9KcAyQw MIME-Version: 1.0 X-Received: by 2002:a05:6e02:20cd:: with SMTP id 13mr123218ilq.156.1631146157792; Wed, 08 Sep 2021 17:09:17 -0700 (PDT) Date: Wed, 08 Sep 2021 17:09:17 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000004fe6b105cb84cf1e@google.com> Subject: [syzbot] memory leak in create_io_worker From: syzbot To: asml.silence@gmail.com, axboe@kernel.dk, io-uring@vger.kernel.org, linux-kernel@vger.kernel.org, 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: 0bcfe68b8767 Revert "memcg: enable accounting for pollfd a.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=152ccba3300000 kernel config: https://syzkaller.appspot.com/x/.config?x=c2f4c21cbd29de3d dashboard link: https://syzkaller.appspot.com/bug?extid=65454c239241d3d647da compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.1 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=123d31b3300000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+65454c239241d3d647da@syzkaller.appspotmail.com 2021/09/08 01:29:02 executed programs: 33 2021/09/08 01:29:08 executed programs: 42 2021/09/08 01:29:15 executed programs: 62 2021/09/08 01:29:21 executed programs: 82 BUG: memory leak unreferenced object 0xffff888126fcd6c0 (size 192): comm "syz-executor.1", pid 11934, jiffies 4294983026 (age 15.690s) hex dump (first 32 bytes): 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [] kmalloc_node include/linux/slab.h:609 [inline] [] kzalloc_node include/linux/slab.h:732 [inline] [] create_io_worker+0x41/0x1e0 fs/io-wq.c:739 [] io_wqe_create_worker fs/io-wq.c:267 [inline] [] io_wqe_enqueue+0x1fe/0x330 fs/io-wq.c:866 [] io_queue_async_work+0xc4/0x200 fs/io_uring.c:1473 [] __io_queue_sqe+0x34c/0x510 fs/io_uring.c:6933 [] io_req_task_submit+0x4b/0xa0 fs/io_uring.c:2233 [] io_async_task_func+0x108/0x1c0 fs/io_uring.c:5462 [] tctx_task_work+0x1b3/0x3a0 fs/io_uring.c:2158 [] task_work_run+0x73/0xb0 kernel/task_work.c:164 [] tracehook_notify_signal include/linux/tracehook.h:212 [inline] [] handle_signal_work kernel/entry/common.c:146 [inline] [] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] [] exit_to_user_mode_prepare+0x151/0x180 kernel/entry/common.c:209 [] __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] [] syscall_exit_to_user_mode+0x1d/0x40 kernel/entry/common.c:302 [] do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 [] 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