Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2228953pxb; Sun, 31 Oct 2021 10:43:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzf5iZuPDfCwds7Dti+Ig3Acy6xQYdAnvpzp7X8YfE9PshKVdeJxpXTVhcU6zBpIQ2Yr31X X-Received: by 2002:a5d:80c4:: with SMTP id h4mr17420578ior.40.1635702224835; Sun, 31 Oct 2021 10:43:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635702224; cv=none; d=google.com; s=arc-20160816; b=Nghx9raUbliG7bSgudvCAC3A0+qINUz3iN4///RwLlShxaqDAunO19U5iUUkY6RkUq B5/cq3cBo57O0FEAygtGBHe+7NPrqk+dlqwrm128y/QozizLvdm82/G6a9r2EXaavTn1 GhiQc8UQaaOyGqWS2l4BCsjzVWX/ia0QcR+PVZFbwWk8owyncTO8t0bI0Oo7gY+efDFE dokOkQPiAE2zcn7fdXTB8HIwtzj6jFPTnOwl45U7suX1Oj4Gt1mZQjwTF+p5puZr4YLT CSWebN5epYeOk3kjBDXbLQD+cQ5y3BiKy0cqtOWGtHaqC9uzP1PWFXRpPNQY8QnIEkjE c0Bg== 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=xn2VPDHyczbj/6eKQO8PUyqqrb+LWwudCU/o8kfDPBk=; b=WCIHcjXdGbZgDJa/GKRrEUbrF4v+DQc/hhYKNZ2ui5xEDhNwmdq53kqHE0zZbj2oU3 0ncfm4W8qM7WVyjyUZDPVpOCFM48r7VEDdXfHKYpAEZ8WST82HQKdYBTVTK69wWC4L9Y YnwejAanZAALHdztXAriRPcBnPGQ8YqL2MLk5XEfQcWjZIhkMTGMbRHWroDTnSoTVFFH 5ZVExU8zkOOs06bCZMZlkJHOqO8oOlrQKPbjVYwkYQpRgeQLjrdd6GPkJ5sQo7Ya8y+w 6dMOZU59UBa5+ODTkwICbi5Wo4LRDUi5uu/VCnlTsDOSp/OeZH6piVYPWKdL6MXGlYuj 8Jdw== 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 a6si13537360ioa.60.2021.10.31.10.43.32; Sun, 31 Oct 2021 10:43:44 -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 S230425AbhJaRoC (ORCPT + 99 others); Sun, 31 Oct 2021 13:44:02 -0400 Received: from mail-il1-f197.google.com ([209.85.166.197]:45686 "EHLO mail-il1-f197.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230409AbhJaRn5 (ORCPT ); Sun, 31 Oct 2021 13:43:57 -0400 Received: by mail-il1-f197.google.com with SMTP id q14-20020a92750e000000b002589d954013so8642561ilc.12 for ; Sun, 31 Oct 2021 10:41:25 -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=xn2VPDHyczbj/6eKQO8PUyqqrb+LWwudCU/o8kfDPBk=; b=xEyo5b+pyd211BdwUGpgnOEK6k7sR0iM76kEbf/4C4RGxnzM9MOzFbLU7BxX0zUO8E 3LXMXAl/qkxGCABk9RQZz69PHt3h02kT+5iHg378QjcGkhoyPYRTti19I1M51fI8HaOu vz8XkeK4Bs8LsbKSWa88WPos4e9TeKoF/hijvavbekfq/xB73NSnl2sO/u89aFclIxyw G+aU4kNNoOgXjMLNBPBO+n3va0yLANXiUVD0UuMSEEH169+RBf+zTqmw+eVNzTD5jC+2 DVjhFzzHpj7XilwYFANpSzWkIznXrZCYjzSr6Vg/typL1Rop+xYsnMmLHUZmAvuMp10K R2hA== X-Gm-Message-State: AOAM533bxNoKJJnvCLy9C52q6qiU55HWLFEn7KG3s24pfm8+jJdyaQ7E lF+KMM2UR/fol8XPsUJUH2EvnyGBKNOvyQrlbjrUl3SZu9Qk MIME-Version: 1.0 X-Received: by 2002:a92:c74a:: with SMTP id y10mr9962613ilp.122.1635702084959; Sun, 31 Oct 2021 10:41:24 -0700 (PDT) Date: Sun, 31 Oct 2021 10:41:24 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000bb843a05cfa99111@google.com> Subject: [syzbot] WARNING: ODEBUG bug in __put_task_struct From: syzbot To: akpm@linux-foundation.org, andrii@kernel.org, asml.silence@gmail.com, ast@kernel.org, axboe@kernel.dk, bpf@vger.kernel.org, christian@brauner.io, daniel@iogearbox.net, david@redhat.com, ebiederm@xmission.com, io-uring@vger.kernel.org, john.fastabend@gmail.com, kafai@fb.com, kpsingh@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, npiggin@gmail.com, peterz@infradead.org, songliubraving@fb.com, syzkaller-bugs@googlegroups.com, xiaoguang.wang@linux.alibaba.com, yhs@fb.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: bdcc9f6a5682 Add linux-next specific files for 20211029 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1413226ab00000 kernel config: https://syzkaller.appspot.com/x/.config?x=cea91ee10b0cd274 dashboard link: https://syzkaller.appspot.com/bug?extid=30a60157d4ef222fd5e2 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=121ba3e2b00000 The issue was bisected to: commit 34ced75ca1f63fac6148497971212583aa0f7a87 Author: Xiaoguang Wang Date: Mon Oct 25 05:38:48 2021 +0000 io_uring: reduce frequent add_wait_queue() overhead for multi-shot poll request bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=11d8286ab00000 final oops: https://syzkaller.appspot.com/x/report.txt?x=13d8286ab00000 console output: https://syzkaller.appspot.com/x/log.txt?x=15d8286ab00000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+30a60157d4ef222fd5e2@syzkaller.appspotmail.com Fixes: 34ced75ca1f6 ("io_uring: reduce frequent add_wait_queue() overhead for multi-shot poll request") ------------[ cut here ]------------ ODEBUG: free active (active state 1) object type: rcu_head hint: 0x0 WARNING: CPU: 0 PID: 6915 at lib/debugobjects.c:505 debug_print_object+0x16e/0x250 lib/debugobjects.c:505 Modules linked in: CPU: 0 PID: 6915 Comm: kworker/0:1 Not tainted 5.15.0-rc7-next-20211029-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events io_fallback_req_func RIP: 0010:debug_print_object+0x16e/0x250 lib/debugobjects.c:505 Code: ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 af 00 00 00 48 8b 14 dd 00 4f bf 89 4c 89 ee 48 c7 c7 00 43 bf 89 e8 88 45 2e 05 <0f> 0b 83 05 05 c1 9f 09 01 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e c3 RSP: 0018:ffffc900033a7a98 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000 RDX: ffff88801a799d40 RSI: ffffffff815f3788 RDI: fffff52000674f45 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815ed55e R11: 0000000000000000 R12: ffffffff896d62a0 R13: ffffffff89bf4940 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff9fb60898 CR3: 000000000b48e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __debug_check_no_obj_freed lib/debugobjects.c:992 [inline] debug_check_no_obj_freed+0x301/0x420 lib/debugobjects.c:1023 slab_free_hook mm/slub.c:1698 [inline] slab_free_freelist_hook+0xeb/0x1c0 mm/slub.c:1749 slab_free mm/slub.c:3513 [inline] kmem_cache_free+0x92/0x5e0 mm/slub.c:3529 __put_task_struct+0x277/0x400 kernel/fork.c:810 put_task_struct_many include/linux/sched/task.h:120 [inline] io_put_task fs/io_uring.c:1773 [inline] __io_free_req+0x2a3/0x3c5 fs/io_uring.c:2037 io_fallback_req_func+0xf9/0x1ae fs/io_uring.c:1335 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 --- 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. For information about bisection process see: https://goo.gl/tpsmEJ#bisection syzbot can test patches for this issue, for details see: https://goo.gl/tpsmEJ#testing-patches