Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp5763156rwl; Sun, 8 Jan 2023 22:23:35 -0800 (PST) X-Google-Smtp-Source: AMrXdXtRr5k7Oh+nF9P/WFxovCaIUvz36my93NAcXJB2qWJvWl48ac6iqah+2xCo8NtesUmvhpUq X-Received: by 2002:a17:902:6b4b:b0:189:8790:73b1 with SMTP id g11-20020a1709026b4b00b00189879073b1mr67405666plt.65.1673245415297; Sun, 08 Jan 2023 22:23:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673245415; cv=none; d=google.com; s=arc-20160816; b=SOpCVVzPIpz2ElE+zhgVe5T8S1yAz/cr7xfnKTpMRQpfLik1eSMfb+govQJSbgej3V 6t87hwY4jUYlnCPq5sVHfz1ocaWp5V6uMA/UF8QOP+GTV+XZZj40iXx7+8p7TxAQACbx hh6VMHgwwDSRG2U6sQsSXc9okVAQWvv2Q61l54K0uCIJLiaYn5GCOiw0DQWysMcjcZPH 3B4ztB46VL9ejCoAcRHnHkSLeY2NzTXdSsptCPzZT3xqBmgzvEIfpRem+sHIGJwAkIit qWCDB3qBbJt3QP9OpjAbPe/Szk+JF3QaDEHnDf2U/cOCB/sZA9fMd+F9vS1nCNzbzgLC vNnQ== 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=ed3FZyB6NU/3+xz5RxJ4dvJy7PBnWBlWfS5GFmcwBNU=; b=P2ShRhzwL/VLjUNuJSB47UnVRrs/+uTUYwHVAt+LgfRHquqRZuuOt+f7xX9Cr1ax5z S/0NorYmUcfSwKZtxrL7FeLRajZtvB68va4h89jXamPNdPExWNAfnGcpkJeOmGO8aKyF j8uVj1xlM9WfHVmO6zDjj5sIadl02PCAZCzxdJnYd7Ff1r+gRL2K2GHNIKcWI8h3YnL2 JJAsvZ2+QTSSPLsA1oKKHvJAdbKJOJR4RbHd/lLx9pPNDmihwaABE8cky1a78CBIIc+y 5zQePhNHWF2h+nGOZQkV1llSWfOnbpGnl7AEwdstME+1hd8N5qGQvwcQHjl4dpGN4P8e NNEA== 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 h6-20020a170902f70600b001929d758436si8422625plo.609.2023.01.08.22.23.28; Sun, 08 Jan 2023 22:23:35 -0800 (PST) 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 S234101AbjAIGD5 (ORCPT + 55 others); Mon, 9 Jan 2023 01:03:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231217AbjAIGDq (ORCPT ); Mon, 9 Jan 2023 01:03:46 -0500 Received: from mail-io1-f69.google.com (mail-io1-f69.google.com [209.85.166.69]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4296510FCC for ; Sun, 8 Jan 2023 22:03:45 -0800 (PST) Received: by mail-io1-f69.google.com with SMTP id w18-20020a5d9cd2000000b006e32359d7fcso4280389iow.15 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=VvVqFabLjYYtGgsQAqDYEK+L8U6arvm0THDRgTR+xfKpEtJCpn7ITloO8lXKWYp6zz MInfV7V2b3BmK3fBDJ7eOiKZlXWPMXtAwwDvTcrHk5otB7lFd+McUgC5DHsG4CGsdDBL 5pbCGKCzwi2DzKuANa+v8h8joBcIQKL5NZDq9wIMh/0cPZfJ6NdwG5uRVsuurOT6l2At I+s9e1NSF2C0vh7vaFmEPco4MYhc2wqVdEwImsoRpNOyaDFlCHunxzvnx8tft9Hn2OdD J9sX0cxfkCz5q7XfMq0jz2JsgYW3E7pBk/kXBTHod2hyWJ9OUhx/cnxTx5gSvA/PbZRz VbIQ== X-Gm-Message-State: AFqh2ko8LHYQhYfXCxCT3l7x90em8An8zUf808lsGQ/5Ze/IVwIYRDwx EbkwnxP81RWEh2S4VayOy6P3+LkbTpY3JGVTyB+Ul/CM4HHN 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" X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,LONGWORDS,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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: 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