Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp671351pxv; Thu, 15 Jul 2021 13:04:35 -0700 (PDT) X-Received: by 2002:a05:6402:2154:: with SMTP id bq20mr9419688edb.111.1626379474996; Thu, 15 Jul 2021 13:04:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyO+qABtAuHa0+mOEE9uq0nVKNc9uxvK0kHlfmop9g+YiK3Yn9SAGzhnEJ0AhI2gxEgSgK0 X-Received: by 2002:a05:6402:2154:: with SMTP id bq20mr9419533edb.111.1626379473562; Thu, 15 Jul 2021 13:04:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626379473; cv=none; d=google.com; s=arc-20160816; b=FPZod3D7UGo+CT+hFjp0vsMWbb3/CXW4FuVBXNa2tdDjvFT0fZIjDRfD5hpp+yRdGy +fDqt5eWEO1Hy+lWUGwnnFzoZxdmcwCq4sCfoYZ427VDzPwN9Y6uw09vG8ePVPIcPtGr 6GtC04ILQkShxRloYGQ5ML31VnAWAg+9AvS8Lh/aFs1Pw7iv+SjpHEYHl+xSpei5+Nmb tW1fkukIjJyZTvb0YYoC/MkEHMwt8lAISw9TuzRf+N2ZrL69ZdKpjO2lgEJdSE7hqcyy eU6+6qqUdMPWIHdV8D1211hae+dKLWNSu+taFdg+W1feUMSO14lls1Wj6fUI/0jH34kC hYvw== 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=ubhdISJb5EaJQpZfKVhtUqGoI9Mz/JTjLbwTPkd4q7k=; b=DgV3myBdrWpA2HMnA7etl75vm29qUsFOku2UQXyvR/X5VYyJO04/TOvAXglPafV4dT OCGQBuX7dTaW9yIfYPH+qJyR9aqpEVschhYrHCQJutO0hWkptpwOcKwgJC2u+ACVtxt0 JxkVHJfs6MYnggsZAl5QonPVxhxeFezDGl80qZWsdjgsGQI6xi/2Ilb7yT4KMgh8anu4 AngH+HOnloDojx3jFFFT8RaAgjiCkHEqyrWFah9oMB3jxG97L11h0DAKQ8bYf5ZtjzKz /IxIQpyBcPXEZBhefru6NmnhsAREs4S+wxRAOUsuczx2ZPIF7EyQDmA6V+z+QvQTgDHq q/CQ== 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 cf25si515697ejb.742.2021.07.15.13.04.10; Thu, 15 Jul 2021 13:04:33 -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 S241685AbhGOUDk (ORCPT + 99 others); Thu, 15 Jul 2021 16:03:40 -0400 Received: from mail-io1-f71.google.com ([209.85.166.71]:42906 "EHLO mail-io1-f71.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243897AbhGOUDV (ORCPT ); Thu, 15 Jul 2021 16:03:21 -0400 Received: by mail-io1-f71.google.com with SMTP id v21-20020a5d90550000b0290439ea50822eso4406719ioq.9 for ; Thu, 15 Jul 2021 13:00:27 -0700 (PDT) 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=ubhdISJb5EaJQpZfKVhtUqGoI9Mz/JTjLbwTPkd4q7k=; b=q5uneQ8xx3Zby932XbMCgTcTCeeAqIIgwmVdptWvje149AtHFxNj0lBGcHMAeDHJcG TkcErKizwMvTJdx0h+AkfV1oZWRWtsxxTBHewRxRiPgl8RB6Q2h9n9MGSCpUhXGoxz3B CbzB5yzkryaj7jyKr/M+pMKh3yuTLtErItlfnCUr8MWeX0u2rajzd7hkVeijZwWq+r0W fjXTi+FRwsZV4TQeGZDeQVqjqrIo22KFbje2qvD3pY756uMzchSVZ00ITaZLRU/vA10k m5aJw7+B0lt8S3BJrEYi8RyHdNi+2qTBwIjVfWtpADNSs4EenzNg7PvuH8lia/QEDH0X aynA== X-Gm-Message-State: AOAM533YTF6LwtdsfZvPUPSdWjgkzs7k6e4LWq3WrM89XR90/o/wlcay L2mRUyCsFTgJ5ui4P7WOuopU0cnxDPSUAU/06Hr28hqRF9hd MIME-Version: 1.0 X-Received: by 2002:a02:11c6:: with SMTP id 189mr5557529jaf.20.1626379227372; Thu, 15 Jul 2021 13:00:27 -0700 (PDT) Date: Thu, 15 Jul 2021 13:00:27 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000001e294505c72eec63@google.com> Subject: [syzbot] BUG: sleeping function called from invalid context in munlock_vma_pages_range From: syzbot To: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, syzkaller-bugs@googlegroups.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: 98f7fdced2e0 Merge tag 'irq-urgent-2021-07-11' of git://gi.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13576e9c300000 kernel config: https://syzkaller.appspot.com/x/.config?x=da2203b984f4af9f dashboard link: https://syzkaller.appspot.com/bug?extid=2e3ee45ea14cd0b81f26 compiler: Debian clang version 11.0.1-2 Unfortunately, I don't have any reproducer for this issue yet. IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+2e3ee45ea14cd0b81f26@syzkaller.appspotmail.com BUG: sleeping function called from invalid context at mm/mlock.c:482 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 14373, name: syz-executor.5 INFO: lockdep is turned off. Preemption disabled at: [<0000000000000000>] 0x0 CPU: 1 PID: 14373 Comm: syz-executor.5 Tainted: G W 5.13.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1d3/0x29f lib/dump_stack.c:105 ___might_sleep+0x4e5/0x6b0 kernel/sched/core.c:9154 munlock_vma_pages_range+0xa80/0xf60 mm/mlock.c:482 mlock_fixup+0x40f/0x580 mm/mlock.c:552 apply_mlockall_flags mm/mlock.c:768 [inline] __do_sys_munlockall+0x1ef/0x310 mm/mlock.c:810 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f448bc37188 EFLAGS: 00000246 ORIG_RAX: 0000000000000098 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffe7eb2d2ef R14: 00007f448bc37300 R15: 0000000000022000 --- 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.