Received: by 10.213.65.68 with SMTP id h4csp728697imn; Fri, 6 Apr 2018 07:58:51 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+Cd5/dR5447c2S0R18YUKE/RLik5jJhhb1E9drw3DUWiKRxd71u5OkzMKZzw4vfYELjJdP X-Received: by 10.99.112.84 with SMTP id a20mr17958421pgn.253.1523026731374; Fri, 06 Apr 2018 07:58:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523026731; cv=none; d=google.com; s=arc-20160816; b=NY3NcZwdi35O1v2PYcle8I8Led5t+gurHZHwvsqI9Hb4bNGcxRwPLN/p3CZp6X6zLb /JbIrQsX0ERRVeo8dfMcepcpkUx0n7EnO0R1+vk2EoUhP5dkFts4MkQxhkfb22Masgg2 0msbQCU8ryTJO3vEuwtUdDo7k8BkWUgVMXtBcs0Nk3zsVJeHJkYJYbwPUJaiqWVKJW5w Bhc0v0zvKoClrhbOuzWsoOrA3yChYVMfovL9YD2fJHZQKg+Pi2Lz8yNLQY0AYj6SnoqS AmLft401CQiNLG5XssWCggvYDjOKZm6nsjRCCsN8vJMpxcBhkbUTCWUm0rWvxJI37yo2 d3Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=hDn2U2ECWby5yncF2Wl5nZyCpBhgyv5vQEtgXJOPeRk=; b=BblpxlB+jwBl79TIl5/2LYr2/Kl3pmDX2h6NTMgyMO3Sk8vwShX/J3drLnajMEuXZF X8yYqAnt+C7lXcGCDFV71br1kBaLhYy0ePUkPXIk6KTvgee/oY3Pl5n1YrrxZJID3koh oNKntulRgLPEiXSPjuQ3xp0d0B+VEkZblQIB/10H/GFYvMX1r+feMV7XJTGnfLmcVyX7 5LNyNoB6b1hmlG6E9NuQQgZZ2eZ0aCUy/JhivPGFcZUgtFHmnylrEAe9Vx/zz81P+9dQ H/AwCUzV29fnYctrypNokPREC/2HmruSSbj3qIFJ7Bs0b4Bc8LuSRkXlT2CAJX79QnT5 NmvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=U7jnQDJk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b8-v6si10024713pll.146.2018.04.06.07.58.36; Fri, 06 Apr 2018 07:58:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=U7jnQDJk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755260AbeDFO5g (ORCPT + 99 others); Fri, 6 Apr 2018 10:57:36 -0400 Received: from mail-pl0-f50.google.com ([209.85.160.50]:39813 "EHLO mail-pl0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754275AbeDFO5e (ORCPT ); Fri, 6 Apr 2018 10:57:34 -0400 Received: by mail-pl0-f50.google.com with SMTP id s24-v6so775920plq.6 for ; Fri, 06 Apr 2018 07:57:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=hDn2U2ECWby5yncF2Wl5nZyCpBhgyv5vQEtgXJOPeRk=; b=U7jnQDJkDQYYDBW1UVeN/dankahK6EEFZDfjin747MYJHpNcQuWHUAh+EZWOk4Elz5 vHmFPc0U0IMbvjFqJdLpOK+AQHVy4qWeXxj1qUNBuyenrkcXjGgXU+6Pg0JUzhmW/OG7 DNGr1KUzQ+3jV8ZL+8YCbHPR6+hKZTg0hlZu1RoOugmRj//mmSBNlr9d4AgET1W7Gx7g MC7LrJ51gXj7IsyUun23DL84raVrhDHBjmKBWJIA5Jeevy2gbRCtJbKPLmPpciRhpPSw 94PbDGox6wmgY0PZ5iIrjzZ6q/2XOlCNpc/9yA5q91RcQvO402vCkbcYgohdf4FQfQYC 9C7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=hDn2U2ECWby5yncF2Wl5nZyCpBhgyv5vQEtgXJOPeRk=; b=gsj9dG8NYVGSQS5vzPzsdDvumBgFTasxItdLSJi9idYlYJFrT7QuT1aJwJmf1YLVyu glxxF8tUlUzmk3gNOcgAfr47nzggVLJ35TEBLDuaN9sAAbrW3NgWZNh1p9D6LriFYAiK j52TrzjGcLk6tXercXSvAMd5c6Lq0go/MTj9B03bjz0fNOUgEn4USBw2suIgGwu74Htv fVAWniBobOUYcWJvfTy0ROWOfwJJ7VJVyCBbsXSdQiBVpQk4/+QWiJVLfwKGuzmPwh0j PR0sOoDKOA0YPhnLJUiFmwSSiW9k7CRR6rf1TNWGFb3SZHaUliOenGxornLryCootgEx HF1Q== X-Gm-Message-State: AElRT7HS3kUR8f6VboqfzwxvLbpzgKjhOBUREE+lgn0rbweNvigR92pY /N3RsOqrGp81WboFN+EdwGaLNBuWP8hXAxlNR7KM4yzkJkbqt1MbdPTAKbcP4bmIpPyAP6OR3Ya UCrqYlVMIn2NIHdwLQoUEVQn9A8NXJYg= X-Received: by 2002:a17:902:8f85:: with SMTP id z5-v6mr19200219plo.105.1523026653866; Fri, 06 Apr 2018 07:57:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.182.136 with HTTP; Fri, 6 Apr 2018 07:57:13 -0700 (PDT) In-Reply-To: <0e998b77-14f0-aee0-8d32-bc1dd96fcc4c@kernel.dk> References: <00000000000082922905692da9e1@google.com> <0e998b77-14f0-aee0-8d32-bc1dd96fcc4c@kernel.dk> From: Dmitry Vyukov Date: Fri, 6 Apr 2018 16:57:13 +0200 Message-ID: Subject: Re: WARNING: lock held when returning to user space! To: Jens Axboe Cc: syzbot , linux-block@vger.kernel.org, LKML , syzkaller-bugs@googlegroups.com, Omar Sandoval Content-Type: text/plain; charset="UTF-8" X-ccpol: medium Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 6, 2018 at 4:27 PM, Jens Axboe wrote: > On 4/6/18 7:02 AM, syzbot wrote: >> Hello, >> >> syzbot hit the following crash on upstream commit >> 38c23685b273cfb4ccf31a199feccce3bdcb5d83 (Fri Apr 6 04:29:35 2018 +0000) >> Merge tag 'armsoc-drivers' of >> git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc >> syzbot dashboard link: >> https://syzkaller.appspot.com/bug?extid=31e8daa8b3fc129e75f2 >> >> So far this crash happened 9 times on upstream. >> C reproducer: https://syzkaller.appspot.com/x/repro.c?id=6407930337296384 >> syzkaller reproducer: >> https://syzkaller.appspot.com/x/repro.syz?id=4942413340606464 >> Raw console output: >> https://syzkaller.appspot.com/x/log.txt?id=4764483918495744 >> Kernel config: >> https://syzkaller.appspot.com/x/.config?id=-5813481738265533882 >> compiler: gcc (GCC) 8.0.1 20180301 (experimental) >> >> IMPORTANT: if you fix the bug, please add the following tag to the commit: >> Reported-by: syzbot+31e8daa8b3fc129e75f2@syzkaller.appspotmail.com >> It will help syzbot understand when the bug is fixed. See footer for >> details. >> If you forward the report, please keep this part and the footer. >> >> >> ================================================ >> WARNING: lock held when returning to user space! >> 4.16.0+ #3 Not tainted >> ------------------------------------------------ >> syzkaller433111/4462 is leaving the kernel with locks still held! >> 1 lock held by syzkaller433111/4462: >> #0: 0000000003a06fae (&lo->lo_ctl_mutex/1){+.+.}, at: lo_ioctl+0x8d/0x1ec0 >> drivers/block/loop.c:1363 > > Is this a new regression? Omar did just fiddle with the locking a bit, > seems suspicious. Looking at: https://syzkaller.appspot.com/bug?extid=31e8daa8b3fc129e75f2 It first happened 4 hours ago and 9 times since then, so probably a just introduced regression. > -- > Jens Axboe > > -- > You received this message because you are subscribed to the Google Groups "syzkaller-bugs" group. > To unsubscribe from this group and stop receiving emails from it, send an email to syzkaller-bugs+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-bugs/0e998b77-14f0-aee0-8d32-bc1dd96fcc4c%40kernel.dk. > For more options, visit https://groups.google.com/d/optout.