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=-0.4 required=3.0 tests=FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 A7C2DC3F2D1 for ; Sun, 1 Mar 2020 19:13:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7B09D246BF for ; Sun, 1 Mar 2020 19:13:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726527AbgCATNP (ORCPT ); Sun, 1 Mar 2020 14:13:15 -0500 Received: from mail-il1-f197.google.com ([209.85.166.197]:53615 "EHLO mail-il1-f197.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726146AbgCATNP (ORCPT ); Sun, 1 Mar 2020 14:13:15 -0500 Received: by mail-il1-f197.google.com with SMTP id t11so9032399ill.20 for ; Sun, 01 Mar 2020 11:13:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=zNC2T0hLt60hxZU2ALw1d5rG9t+MrQbgwlE91pkiSjU=; b=YkgHQZeHg+od3XJfb/E3TOdq0U1UUVi22ZCdRON1dT6+lepKhVju4poOf+tOBwDM3O +pM5NDMZlzjMmyxTBNa8JHF7Oncy5GkVhOMC2MepQmtBuUHjMJycj0qF/D/mJcCnEF0R gRub/xqsv1BnESa03NFqgHV7Ju3QPKIVaAfqc4eeW+ZLsuCSVVm1gPVv+wdMvvZ6BSYq 20wTz8QJGFg9ug6f5GNaTivuZ8YMurk0Uqb56IQVCEdu6Uxcx3ghTzOtO+1vYPAkCE1V Sn+ceM75sPGzQbUQP6C/KqRKC1YFJ5v3P/Tgb0eeGJ2mxICtn+F3LaQY9BUsV1PlZykp 2rLg== X-Gm-Message-State: ANhLgQ3f7W+AkkRtQ9pZngzWKknddVCLge4dTS+mim50TfnPETmLlIWi I+cotkhNV9XmC7lxpzFSXjyBKz0s7L8t5RllIj5Lc5qb07gE X-Google-Smtp-Source: ADFU+vse8hZ5nHKk+5NIY4vMDQDsZ0Lq8jS5ZnqMnsqwtm4/dM31Wy8of6l33EJBnFkg7GHxebhGGIwcsxqDS/iuGInFR6acwxA9 MIME-Version: 1.0 X-Received: by 2002:a5d:88c9:: with SMTP id i9mr1713101iol.210.1583089994963; Sun, 01 Mar 2020 11:13:14 -0800 (PST) Date: Sun, 01 Mar 2020 11:13:14 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000cc1faf059fcfdc73@google.com> Subject: WARNING: lock held when returning to user space in ovl_write_iter From: syzbot To: jiufei.xue@linux.alibaba.com, linux-kernel@vger.kernel.org, linux-unionfs@vger.kernel.org, miklos@szeredi.hu, mszeredi@redhat.com, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Sender: linux-unionfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-unionfs@vger.kernel.org Hello, syzbot found the following crash on: HEAD commit: bdc5461b Add linux-next specific files for 20200224 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=10deee65e00000 kernel config: https://syzkaller.appspot.com/x/.config?x=8402e437f1eeea92 dashboard link: https://syzkaller.appspot.com/bug?extid=9331a354f4f624a52a55 compiler: gcc (GCC) 9.0.0 20181231 (experimental) syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1571d22de00000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=175192c3e00000 The bug was bisected to: commit 2406a307ac7ddfd7effeeaff6947149ec6a95b4e Author: Jiufei Xue Date: Wed Nov 20 09:45:26 2019 +0000 ovl: implement async IO routines bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=113c6d29e00000 final crash: https://syzkaller.appspot.com/x/report.txt?x=133c6d29e00000 console output: https://syzkaller.appspot.com/x/log.txt?x=153c6d29e00000 IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+9331a354f4f624a52a55@syzkaller.appspotmail.com Fixes: 2406a307ac7d ("ovl: implement async IO routines") ================================================ WARNING: lock held when returning to user space! 5.6.0-rc2-next-20200224-syzkaller #0 Not tainted ------------------------------------------------ syz-executor184/10029 is leaving the kernel with locks still held! 1 lock held by syz-executor184/10029: #0: ffff88809987c418 (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2903 [inline] #0: ffff88809987c418 (sb_writers#3){.+.+}, at: ovl_write_iter+0xcc1/0x1090 fs/overlayfs/file.c:348 --- This bug 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 bug report. 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 bug, for details see: https://goo.gl/tpsmEJ#testing-patches