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 X-Spam-Level: X-Spam-Status: No, score=-10.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1742FC433E1 for ; Sat, 15 Aug 2020 21:57:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E2DF2206B6 for ; Sat, 15 Aug 2020 21:57:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20150623.gappssmtp.com header.i=@kernel-dk.20150623.gappssmtp.com header.b="mwPdJUOf" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729006AbgHOV5I (ORCPT ); Sat, 15 Aug 2020 17:57:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729009AbgHOVwJ (ORCPT ); Sat, 15 Aug 2020 17:52:09 -0400 Received: from mail-pj1-x1042.google.com (mail-pj1-x1042.google.com [IPv6:2607:f8b0:4864:20::1042]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63609C0F26FF for ; Sat, 15 Aug 2020 11:16:20 -0700 (PDT) Received: by mail-pj1-x1042.google.com with SMTP id ha11so5767649pjb.1 for ; Sat, 15 Aug 2020 11:16:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=aHbPQIVd/Qe2bxa2lkfj1WcJBAAINeZI/2NvgeQ+k6c=; b=mwPdJUOfdVE84cnkViJ5O0ph4igy8uVH0E7hwwgOHF/BGrdoxbK/wByIw5qevH0x2M muio9At3ebLGCKcWkeHWUcmBtz5ufryd2yUjscsDFA1D5pNLJJcl4pnKVmmRRROYTr5b QUwSX/+03uoubcslXaj38NkjDM6Xnrx/gzMjrdLtfNYFyXLd/31cxMVATQY4cBkAtBWe Y/qTjfpEoo0hukGPP5cYsdiL/O2JM53KeLMjPxCJlYgFBDJZW49mAMUwnONginKAItPH kppT6Bp/8IshH2hX5V5EihNt55Ey7H5bM1UN2HTXl0IgcFlrxh0JLT3xe3pKV2Z+hLb8 3Gkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=aHbPQIVd/Qe2bxa2lkfj1WcJBAAINeZI/2NvgeQ+k6c=; b=cvViqUpFT8ZWlETMJnJiihNebHL+xptMpjYVup+lhjYhB8zn5VyPrkrGBC7gRGuDIQ 2+lkVqXpaGAgHzYxC9uxAqVCJJWORaa8nolGjN62Ghz3N+jKBl5GbED0/THLqYRAp+eC Y3O10LXWP2Vun1/qQltpQXGYuy7YoTgZPeWYBhryNp3vDIPTd9/UzQ3TmsdC103kBqeb gFMj3je+TdpSKh0GieC48S8cz8IrtVygS83zXPvS5l/seZ2oN1mJvPJ4vSUD8kGJ6xgu ryNVmehgS005fJXNVHtjY9VWYSsoxWU64lph8WZaQvFLybgraoAOHjQhBwgNemPbsWH3 DWmg== X-Gm-Message-State: AOAM530+dCJVx+/BTkaZ3Ibx6cXbZjXOHub+UVndHJ5n453ph+LF3W/G Uqj9q8HlHouCCBiuWWz6CpmUrA== X-Google-Smtp-Source: ABdhPJzyAKKWItm8tuF8S5WO4+K0NDvvBG1QJaQG0vGIS7rdWp7bNWczCC4l4R6jE43GBD4STmqKEQ== X-Received: by 2002:a17:902:bd90:: with SMTP id q16mr5915763pls.196.1597515379440; Sat, 15 Aug 2020 11:16:19 -0700 (PDT) Received: from ?IPv6:2605:e000:100e:8c61:6299:2df1:e468:6351? ([2605:e000:100e:8c61:6299:2df1:e468:6351]) by smtp.gmail.com with ESMTPSA id y1sm12536506pfl.136.2020.08.15.11.16.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 15 Aug 2020 11:16:18 -0700 (PDT) Subject: Re: general protection fault in io_poll_double_wake To: syzbot , io-uring@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, viro@zeniv.linux.org.uk References: <00000000000018f60505aced798e@google.com> From: Jens Axboe Message-ID: Date: Sat, 15 Aug 2020 11:16:17 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <00000000000018f60505aced798e@google.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: io-uring-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On 8/15/20 10:00 AM, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit: 7fca4dee Merge tag 'powerpc-5.9-2' of git://git.kernel.org.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=1264d116900000 > kernel config: https://syzkaller.appspot.com/x/.config?x=21f0d1d2df6d5fc > dashboard link: https://syzkaller.appspot.com/bug?extid=7f617d4a9369028b8a2c > compiler: clang version 10.0.0 (https://github.com/llvm/llvm-project/ c2443155a0fb245c8f17f2c1c72b6ea391e86e81) > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10f211d2900000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1721b0ce900000 > > The issue was bisected to: > > commit 18bceab101adde8f38de76016bc77f3f25cf22f4 > Author: Jens Axboe > Date: Fri May 15 17:56:54 2020 +0000 > > io_uring: allow POLL_ADD with double poll_wait() users I can reproduce this, I'll fix it up. Thanks! -- Jens Axboe