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 5F23DC61DB3 for ; Mon, 9 Jan 2023 06:03:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230105AbjAIGDt (ORCPT ); Mon, 9 Jan 2023 01:03:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231148AbjAIGDq (ORCPT ); Mon, 9 Jan 2023 01:03:46 -0500 Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A52610B7B for ; Sun, 8 Jan 2023 22:03:45 -0800 (PST) Received: by mail-io1-f72.google.com with SMTP id d24-20020a5d9bd8000000b006ee2ddf6d77so4252693ion.6 for ; Sun, 08 Jan 2023 22:03:45 -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=ed3FZyB6NU/3+xz5RxJ4dvJy7PBnWBlWfS5GFmcwBNU=; b=3JmOgR0kjxNOTrE11xPvOYjdGaG65Sy+ehkDHiDw99fTC2hb5oLlThSMyDLP/511Me XO+GiQRUkiG2r1ih5O+z/dml9TJzLGXXfmXfC5/rPoMBB45nuGIwqNlLZRBgTCUjgwHZ I0LRHlvDlUp6t8mFRHChA34sL7fY43lGdO0NjqYeNU4rsdcF/ckGzKL5YM+IkxOjyqiE VMc3jMhgL824M6mV0A8MJGphr7Rpw5cXC/ANCCdIA2yVrMoam8qKDnqBVwBIqODm21Uu zmRetSVBNq6B+rbzgD7DwMOG4J6mPcnXd6AqR7YiPS0kmWPH6XqTDyWIkIQK014Enn9J QevA== X-Gm-Message-State: AFqh2kpON+MIMN7n9Y6q090jX2aHQ77+ki1ZWE56zVZsAvsJWpB5nSob bBggUc7ClrjYipA8RXyLShiVqUv/HAC+FB3rGKD1bd2lnIIc X-Google-Smtp-Source: AMrXdXuk4gWZRoP2S7HK2oTYB3ek6PhMKldLygTYsqWRMa4Oy/mMx0X3kyFTxLJUQVEQP+LaMAznYxlT8JIt8ZShES1NjqmXDsl2 MIME-Version: 1.0 X-Received: by 2002:a02:7162:0:b0:39e:5eb6:27e2 with SMTP id n34-20020a027162000000b0039e5eb627e2mr1199541jaf.315.1673244224484; Sun, 08 Jan 2023 22:03:44 -0800 (PST) Date: Sun, 08 Jan 2023 22:03:44 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000009f829805f1ce87b2@google.com> Subject: [syzbot] memory leak in io_submit_sqes (4) 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: io-uring@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 0a71553536d2 Merge tag 'drm-fixes-2023-01-06' of git://ano.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=164951c2480000 kernel config: https://syzkaller.appspot.com/x/.config?x=5ddca4921a53cff2 dashboard link: https://syzkaller.appspot.com/bug?extid=6c95df01470a47fc3af4 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=12929d9a480000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=105ffae2480000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/ad52353dc15f/disk-0a715535.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/90927b7e9870/vmlinux-0a715535.xz kernel image: https://storage.googleapis.com/syzbot-assets/553a64766dcc/bzImage-0a715535.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+6c95df01470a47fc3af4@syzkaller.appspotmail.com executing program executing program executing program executing program executing program BUG: memory leak unreferenced object 0xffff88810de89200 (size 256): comm "syz-executor286", pid 5100, jiffies 4294952261 (age 14.130s) hex dump (first 32 bytes): 00 8f 90 0a 81 88 ff ff 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 40 00 00 00 00 00 00 .........@...... backtrace: [] __io_alloc_req_refill+0x55/0x193 io_uring/io_uring.c:1040 [] io_alloc_req_refill io_uring/io_uring.h:378 [inline] [] io_submit_sqes.cold+0x65/0x8a io_uring/io_uring.c:2384 [] __do_sys_io_uring_enter+0x76d/0x1490 io_uring/io_uring.c:3345 [] 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 BUG: memory leak unreferenced object 0xffff888109cac600 (size 96): comm "syz-executor286", pid 5100, jiffies 4294952261 (age 14.130s) hex dump (first 32 bytes): 00 8f 90 0a 81 88 ff ff 00 00 00 00 00 00 00 00 ................ 7b 20 00 c0 00 00 00 00 00 00 00 00 00 00 00 00 { .............. backtrace: [] kmalloc_trace+0x20/0x90 mm/slab_common.c:1062 [] kmalloc include/linux/slab.h:580 [inline] [] io_req_alloc_apoll io_uring/poll.c:650 [inline] [] io_arm_poll_handler+0x1fc/0x470 io_uring/poll.c:694 [] io_queue_async+0x8d/0x2e0 io_uring/io_uring.c:2006 [] io_queue_sqe io_uring/io_uring.c:2037 [inline] [] io_submit_sqe io_uring/io_uring.c:2286 [inline] [] io_submit_sqes+0x968/0xb70 io_uring/io_uring.c:2397 [] __do_sys_io_uring_enter+0x76d/0x1490 io_uring/io_uring.c:3345 [] 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 BUG: memory leak unreferenced object 0xffff88810a72bb00 (size 256): comm "syz-executor286", pid 5100, jiffies 4294952261 (age 14.130s) hex dump (first 32 bytes): 00 8f 90 0a 81 88 ff ff 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 40 00 00 00 00 00 00 .........@...... backtrace: [] __io_alloc_req_refill+0x55/0x193 io_uring/io_uring.c:1040 [] io_alloc_req_refill io_uring/io_uring.h:378 [inline] [] io_submit_sqes.cold+0x65/0x8a io_uring/io_uring.c:2384 [] __do_sys_io_uring_enter+0x76d/0x1490 io_uring/io_uring.c:3345 [] 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 BUG: memory leak unreferenced object 0xffff88810f18f600 (size 96): comm "syz-executor286", pid 5100, jiffies 4294952261 (age 14.130s) hex dump (first 32 bytes): 00 8f 90 0a 81 88 ff ff 00 00 00 00 00 00 00 00 ................ 7b 20 00 c0 00 00 00 00 00 00 00 00 00 00 00 00 { .............. backtrace: [] kmalloc_trace+0x20/0x90 mm/slab_common.c:1062 [] kmalloc include/linux/slab.h:580 [inline] [] io_req_alloc_apoll io_uring/poll.c:650 [inline] [] io_arm_poll_handler+0x1fc/0x470 io_uring/poll.c:694 [] io_queue_async+0x8d/0x2e0 io_uring/io_uring.c:2006 [] io_queue_sqe io_uring/io_uring.c:2037 [inline] [] io_submit_sqe io_uring/io_uring.c:2286 [inline] [] io_submit_sqes+0x968/0xb70 io_uring/io_uring.c:2397 [] __do_sys_io_uring_enter+0x76d/0x1490 io_uring/io_uring.c:3345 [] 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