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=-3.7 required=3.0 tests=BAYES_00,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 DDF26C4338F for ; Tue, 3 Aug 2021 16:46:30 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 7AB6960F94 for ; Tue, 3 Aug 2021 16:46:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7AB6960F94 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id B8DF86B0070; Tue, 3 Aug 2021 12:46:29 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B40348D0002; Tue, 3 Aug 2021 12:46:29 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A53696B0072; Tue, 3 Aug 2021 12:46:29 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0102.hostedemail.com [216.40.44.102]) by kanga.kvack.org (Postfix) with ESMTP id 8CCDA6B0070 for ; Tue, 3 Aug 2021 12:46:29 -0400 (EDT) Received: from smtpin32.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 3572022BE2 for ; Tue, 3 Aug 2021 16:46:29 +0000 (UTC) X-FDA: 78434347698.32.B6BE0C0 Received: from mail-il1-f200.google.com (mail-il1-f200.google.com [209.85.166.200]) by imf27.hostedemail.com (Postfix) with ESMTP id DADD57008655 for ; Tue, 3 Aug 2021 16:46:28 +0000 (UTC) Received: by mail-il1-f200.google.com with SMTP id c20-20020a9294140000b02902141528bc7cso10566335ili.3 for ; Tue, 03 Aug 2021 09:46:28 -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=HdFltufgXmkJpv/0DbuoYZjNiSCd4PDX5QM+gk3T1Pg=; b=d1xOKuVe42DWA3jrgVB9pbQJjz7GpmEQyH4eRfyKSi4Cj/DIN5fORncW08KvrEORXY KhkJ8LqvUAwxlnoVDUJCKv1K39vV/J+m9DisKiv8m43xqVnNVoF15nP6KivrwkcCAM5R TmKEMcyjkFYHegqxpFwwxiRQRbhDuyQ6dGbiuPs1Qp83srJbA31b0wSqGqaN2KtZIMo9 K7MEEVgyVNXoUlP8uKWG3AYiv3EwcBwCoIUA13FiuAOKkXeZrBAikWHWlvQZGul2FalL lV0HnZImELZxeROQaFsYapXl3fMP2tQJ+0jDNJm59L6qyEpafmjmz/4gQO1P53xqdTRC x+KA== X-Gm-Message-State: AOAM530LH59i4nPNz8cG0rhgnnMKG7B91DUNjsgPTrIlhH4uVjqx3Sm4 +FOu5s8VMCSiKN491ETfjTDguRhZmjdZ+y6Saxd0PJTct3Re X-Google-Smtp-Source: ABdhPJy0Yn/W/PknSJHlPsyJD75+VVPUKmolIcz0MAL+B2jEKsJJqkJuyJwpzQfxZQfntmQjXkd8OuybflHo5lz+RKrFfz88w9rA MIME-Version: 1.0 X-Received: by 2002:a05:6602:2814:: with SMTP id d20mr151586ioe.65.1628009188261; Tue, 03 Aug 2021 09:46:28 -0700 (PDT) Date: Tue, 03 Aug 2021 09:46:28 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000005b873305c8aa6da2@google.com> Subject: [syzbot] linux-next boot error: WARNING in find_vma From: syzbot To: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-next@vger.kernel.org, sfr@canb.auug.org.au, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Authentication-Results: imf27.hostedemail.com; dkim=none; spf=pass (imf27.hostedemail.com: domain of 35HIJYQkbAP0x34pfqqjwfuuni.lttlqjzxjwhtsyjsy.htr@M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com designates 209.85.166.200 as permitted sender) smtp.mailfrom=35HIJYQkbAP0x34pfqqjwfuuni.lttlqjzxjwhtsyjsy.htr@M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=appspotmail.com (policy=none) X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: DADD57008655 X-Stat-Signature: rqctb49e5exgwsciayznkhqk7fnsnmur X-HE-Tag: 1628009188-96634 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hello, syzbot found the following issue on: HEAD commit: c3f7b3be172b Add linux-next specific files for 20210803 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=10b71b42300000 kernel config: https://syzkaller.appspot.com/x/.config?x=ae62f6b8af876a89 dashboard link: https://syzkaller.appspot.com/bug?extid=dcb8a1e30879e0d60e8c compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.1 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+dcb8a1e30879e0d60e8c@syzkaller.appspotmail.com kAFS: Red Hat AFS client v0.1 registering. FS-Cache: Netfs 'afs' registered for caching Btrfs loaded, crc32c=crc32c-intel, assert=on, zoned=yes, fsverity=yes Key type big_key registered Key type encrypted registered AppArmor: AppArmor sha1 policy hashing enabled ima: No TPM chip found, activating TPM-bypass! Loading compiled-in module X.509 certificates Loaded X.509 cert 'Build time autogenerated kernel key: f850c787ad998c396ae089c083b940ff0a9abb77' ima: Allocated hash algorithm: sha256 ima: No architecture policies found evm: Initialising EVM extended attributes: evm: security.selinux (disabled) evm: security.SMACK64 (disabled) evm: security.SMACK64EXEC (disabled) evm: security.SMACK64TRANSMUTE (disabled) evm: security.SMACK64MMAP (disabled) evm: security.apparmor evm: security.ima evm: security.capability evm: HMAC attrs: 0x1 PM: Magic number: 1:653:286 usb usb32-port1: hash matches usb usb22: hash matches ppp ppp: hash matches tty ttyz0: hash matches printk: console [netcon0] enabled netconsole: network logging started gtp: GTP module loaded (pdp ctx size 104 bytes) rdma_rxe: loaded cfg80211: Loading compiled-in X.509 certificates for regulatory database cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' ALSA device list: #0: Dummy 1 #1: Loopback 1 #2: Virtual MIDI Card 1 md: Waiting for all devices to be available before autodetect md: If you don't use raid, use raid=noautodetect md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. EXT4-fs (sda1): mounted filesystem without journal. Opts: (null). Quota mode: none. VFS: Mounted root (ext4 filesystem) readonly on device 8:1. devtmpfs: mounted Freeing unused kernel image (initmem) memory: 4348K Write protecting the kernel read-only data: 169984k Freeing unused kernel image (text/rodata gap) memory: 2012K Freeing unused kernel image (rodata/data gap) memory: 1460K Run /sbin/init as init process ------------[ cut here ]------------ WARNING: CPU: 1 PID: 1 at include/linux/mmap_lock.h:164 mmap_assert_locked include/linux/mmap_lock.h:164 [inline] WARNING: CPU: 1 PID: 1 at include/linux/mmap_lock.h:164 find_vma+0xf8/0x270 mm/mmap.c:2307 Modules linked in: CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.14.0-rc4-next-20210803-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:mmap_assert_locked include/linux/mmap_lock.h:164 [inline] RIP: 0010:find_vma+0xf8/0x270 mm/mmap.c:2307 Code: 49 8d bc 24 28 01 00 00 be ff ff ff ff e8 00 e0 81 07 31 ff 89 c3 89 c6 e8 e5 a5 c9 ff 85 db 0f 85 61 ff ff ff e8 98 9e c9 ff <0f> 0b e9 55 ff ff ff e8 8c 9e c9 ff 4c 89 e7 e8 d4 da fb ff 0f 0b RSP: 0000:ffffc90000c67600 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888011a78000 RSI: ffffffff81ac1ac8 RDI: 0000000000000003 RBP: 00007fffffffe000 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff81ac1abb R11: 0000000000000001 R12: ffff8880260df000 R13: 0000000000000000 R14: 0000000000002016 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000000b68e000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: find_extend_vma+0x25/0x150 mm/mmap.c:2622 __get_user_pages+0x1c7/0xf70 mm/gup.c:1124 __get_user_pages_locked mm/gup.c:1359 [inline] __get_user_pages_remote+0x18f/0x840 mm/gup.c:1868 get_user_pages_remote+0x63/0x90 mm/gup.c:1941 tomoyo_dump_page+0xd3/0x5b0 security/tomoyo/domain.c:915 tomoyo_print_bprm security/tomoyo/audit.c:46 [inline] tomoyo_init_log+0xdc4/0x1ec0 security/tomoyo/audit.c:264 tomoyo_supervisor+0x34d/0xf00 security/tomoyo/common.c:2097 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_execute_permission+0x37f/0x4a0 security/tomoyo/file.c:619 tomoyo_find_next_domain+0x348/0x1f80 security/tomoyo/domain.c:752 tomoyo_bprm_check_security security/tomoyo/tomoyo.c:101 [inline] tomoyo_bprm_check_security+0x121/0x1a0 security/tomoyo/tomoyo.c:91 security_bprm_check+0x45/0xa0 security/security.c:865 search_binary_handler fs/exec.c:1711 [inline] exec_binprm fs/exec.c:1764 [inline] bprm_execve fs/exec.c:1833 [inline] bprm_execve+0x732/0x19b0 fs/exec.c:1795 kernel_execve+0x370/0x460 fs/exec.c:1976 try_to_run_init_process+0x14/0x4e init/main.c:1426 kernel_init+0x12c/0x1d0 init/main.c:1542 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 --- 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.