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 6E8E0C433FE for ; Tue, 21 Dec 2021 10:44:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233972AbhLUKou (ORCPT ); Tue, 21 Dec 2021 05:44:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233864AbhLUKot (ORCPT ); Tue, 21 Dec 2021 05:44:49 -0500 Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08B2FC061574 for ; Tue, 21 Dec 2021 02:44:49 -0800 (PST) Received: by mail-yb1-xb2d.google.com with SMTP id v64so37481894ybi.5 for ; Tue, 21 Dec 2021 02:44:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NDtQgb9AA9xFpWuXkc+E4u23J1dpI6q3KUw8LtmkUY4=; b=ovRbDOO2X6hqPfiK/gjWv7YQ+244WflmjY3yZq9cJQOSgTPJydu/nbHdDw9lr8vmi/ zxib8m2jR5z2FSANVQNHDy6k764HSw9nvKTW+XzIhN0dLh6V9zr6W/YpJMzTbXVRN6F5 9UBFUHMLjkb7XnubVZj2qxqokO5PxSptXvirtG2wePW937F8auR/q7zq/hvxCrsx7lvo MpcQZVVAbABQzJ9KvzbyNev8aasfruRE9vgz9YoDUNKMlHjZPD8LwmeJSw3Kq40rx8E6 YOiPQ/xJLQDlkTkBcdV9aL4TV33kDoXalpchSkU8OeUL6oGQl/kbT98bYCU9kG9mhAbX WhFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NDtQgb9AA9xFpWuXkc+E4u23J1dpI6q3KUw8LtmkUY4=; b=2eq6C7zH4QpUBx+U5t58ZQLwwbPXPx1q5QmPDqwQXgOThVlIPPCinGAmeNN0WrfL3C W8fOaaGMpLbQR4BsFKXEIui4POyagBbly8B9OsYdUKS1i5sfPtD654839RQwmN6eswnf Qz04pflVUNHXfGkPKzJcnGk5QXCPFdAjDt7zW4+TAvO4uS5JY9MY8ln9KpoRtvNQZw9N VcHLyueN23UnEt2B9qxk2ANYgUh9DVCACgHOi7ETjP2UVQ2tvhoz/17UfcLRVMJzvf6h FRgLb0zKzi8CyxMnUC5ZEchIRKBa0xTYyMW5+KUNE0vV/fwvSPope7W1r+O3uT64SXku IDkA== X-Gm-Message-State: AOAM5317vaklUK9hXDjh80ETTcpd61GQvC9Py8SsdKZXfzNlgMfEUOWa t4v5pWOSbLs0bSQBVy8e4EMbqhujF6LZvGzvp7mrcg== X-Google-Smtp-Source: ABdhPJxdMBSrVlyjappl/8A1n64cSvK0pWT+wsIIG/Rr1u/SqTZbJCLSpE7r7ssu9rf/kxNEj1CabHdgFByo5q4RJOE= X-Received: by 2002:a25:af14:: with SMTP id a20mr3799875ybh.753.1640083487564; Tue, 21 Dec 2021 02:44:47 -0800 (PST) MIME-Version: 1.0 References: <000000000000c70eef05d39f42a5@google.com> <00000000000066073805d3a4f598@google.com> In-Reply-To: <00000000000066073805d3a4f598@google.com> From: Eric Dumazet Date: Tue, 21 Dec 2021 02:44:36 -0800 Message-ID: Subject: Re: [syzbot] general protection fault in set_task_ioprio To: syzbot , Christoph Hellwig Cc: Jens Axboe , changbin.du@intel.com, Christian Brauner , Daniel Borkmann , David Miller , Heiner Kallweit , Jakub Kicinski , linux-block@vger.kernel.org, LKML , netdev , syzkaller-bugs , Yajun Deng Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 21, 2021 at 1:52 AM syzbot wrote: > > syzbot has bisected this issue to: > > commit e4b8954074f6d0db01c8c97d338a67f9389c042f > Author: Eric Dumazet > Date: Tue Dec 7 01:30:37 2021 +0000 > > netlink: add net device refcount tracker to struct ethnl_req_info > Unfortunately this commit will be in the way of many bisections. Real bug was added in commit 5fc11eebb4a98df5324a4de369bb5ab7f0007ff7 Author: Christoph Hellwig Date: Thu Dec 9 07:31:29 2021 +0100 block: open code create_task_io_context in set_task_ioprio The flow in set_task_ioprio can be simplified by simply open coding create_task_io_context, which removes a refcount roundtrip on the I/O context. Signed-off-by: Christoph Hellwig Reviewed-by: Jan Kara Link: https://lore.kernel.org/r/20211209063131.18537-10-hch@lst.de Signed-off-by: Jens Axboe > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=10620fcdb00000 > start commit: 07f8c60fe60f Add linux-next specific files for 20211220 > git tree: linux-next > final oops: https://syzkaller.appspot.com/x/report.txt?x=12620fcdb00000 > console output: https://syzkaller.appspot.com/x/log.txt?x=14620fcdb00000 > kernel config: https://syzkaller.appspot.com/x/.config?x=2060504830b9124a > dashboard link: https://syzkaller.appspot.com/bug?extid=8836466a79f4175961b0 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=12058fcbb00000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17141adbb00000 > > Reported-by: syzbot+8836466a79f4175961b0@syzkaller.appspotmail.com > Fixes: e4b8954074f6 ("netlink: add net device refcount tracker to struct ethnl_req_info") > > For information about bisection process see: https://goo.gl/tpsmEJ#bisection