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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id EDB43C433FE for ; Wed, 26 Oct 2022 13:25:42 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 18CE18E0002; Wed, 26 Oct 2022 09:25:42 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 13D8D8E0001; Wed, 26 Oct 2022 09:25:42 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 006578E0002; Wed, 26 Oct 2022 09:25:41 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id D699F8E0001 for ; Wed, 26 Oct 2022 09:25:41 -0400 (EDT) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 8FEE51C646E for ; Wed, 26 Oct 2022 13:25:41 +0000 (UTC) X-FDA: 80063172882.06.E6AECF6 Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) by imf10.hostedemail.com (Postfix) with ESMTP id 0CC7EC0041 for ; Wed, 26 Oct 2022 13:25:40 +0000 (UTC) Received: by mail-lf1-f47.google.com with SMTP id j16so8931082lfe.12 for ; Wed, 26 Oct 2022 06:25:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=3F0J21CmvJ5WHYm54tJvUEMwUkDmIvZoPvGXEV0b6J0=; b=lsUq/Qjsz9IpqJKpiyJDngqGR9UY+5zS4PjiUAV10f+pvIUBRlfvIUDW2JUWfd0M9Z M5qO0x36vlguUJg4KU/YD2wvlqQWuAyTq1kuCzE5zZI6urZ6j4I4Bg7dCHOE4rkr35Jc C99l6rZ07Jo+aAIACx46GhvOUVf3KHC5PyJSaMPDeYJx7OpjeaUv+Aw7g1dGYN/R8SBx AFtP0pwheE5KQg6mks7OXc479o/5XdKUdZVceFS4BmIrfOUHE3JW8jxVTa+25y2mF42T 9ONF1ksL8yte8/HDFf9uiEBxogxHstNx/7B50HcPDR+rKQKwa0/pZWSC5GpGkrygbzDa XZvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3F0J21CmvJ5WHYm54tJvUEMwUkDmIvZoPvGXEV0b6J0=; b=edqduNdBzuJJfIvsiivUvWrKyFOwlMBPsO7Nh5YHP6V9yKJFfYVkzVY6oPasP/HRHc 71RRw1Ysj+owa0knQ6EPN26TOELQr9oZ4pDR5ApDuClo52+XsZEMeDw+CnFeuiYSTDdx RLM1AeB+HHfD5qv4zIG2Axo9y7cMRnZAyFRtN/J+amqnPel2YKUSyX3/PmniCzpUWdFl TtOvpuOUtsR07K81JZ/pakXXAoL2YrsYt+AH8fWAjfBvFrSPEJd6nnGaExzPvxGrb0kB 5zDwDuVcT9WJDZupJ6dVF/YKnZGxz31DgAo7NT/KyiaT3i4gr9adi34p9eYvXFK4ekeo PZew== X-Gm-Message-State: ACrzQf1Ds2hPT1wq58S1TjvahjOm7mRK4BI7i8+3y1WBLt2D96jGYqNZ Fy+93ZIZxC0f0Bso0SxZh4BRHrOZ8OXLYKT260TogA== X-Google-Smtp-Source: AMsMyM6Ix7WVURNf29MW/sR9dZMcJHjp4pAbYMfHGaQV0OuYybYDVQVX3iQaU4p5VxB4eE+WtkUAaTqy96ma42EGVZ4= X-Received: by 2002:a05:6512:3a83:b0:4ad:23ac:94ec with SMTP id q3-20020a0565123a8300b004ad23ac94ecmr4470741lfu.540.1666790739137; Wed, 26 Oct 2022 06:25:39 -0700 (PDT) MIME-Version: 1.0 References: <000000000000aa2b2805ebea9137@google.com> <9a450a11-531d-8e1a-4c77-70102aa7f424@redhat.com> In-Reply-To: <9a450a11-531d-8e1a-4c77-70102aa7f424@redhat.com> From: Dmitry Vyukov Date: Wed, 26 Oct 2022 06:25:27 -0700 Message-ID: Subject: Re: [syzbot] WARNING in __split_huge_page_tail To: David Hildenbrand Cc: syzbot , akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1666790741; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=3F0J21CmvJ5WHYm54tJvUEMwUkDmIvZoPvGXEV0b6J0=; b=kW9xZq+E70/Br+K/2JPUzsFjjWKdZ6aXikB/G9pT779l7mvDh10bahjRNkncKdAg8BaVG5 9FtHzzAGUVPcbmyI2VkKTKo9HDKG2+7R+LxNryud0Llb5VWF43Pz8shR+wtiuDAaQJ418A 7MKPqd2iHo7Cab29AEgJZeGlxbS/uJE= ARC-Authentication-Results: i=1; imf10.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b="lsUq/Qjs"; spf=pass (imf10.hostedemail.com: domain of dvyukov@google.com designates 209.85.167.47 as permitted sender) smtp.mailfrom=dvyukov@google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1666790741; a=rsa-sha256; cv=none; b=e/KetyPTyqKNkz5wqxVvWHH9CQHaTUg8IbRNuLgZap6PNcGMCyDhm4tLSUqyTPVRy5obd2 0V/VnArTXa2nC+RwfMsYxU/HQk+SqQ903ftqHIC87XKggrf0YcY1GexbCBEFPx5T8NrURs TsLFDiWzAlAwP6CZtJKr+TlLlUnOpyg= X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 0CC7EC0041 X-Rspam-User: Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b="lsUq/Qjs"; spf=pass (imf10.hostedemail.com: domain of dvyukov@google.com designates 209.85.167.47 as permitted sender) smtp.mailfrom=dvyukov@google.com; dmarc=pass (policy=reject) header.from=google.com X-Stat-Signature: jw7iuzr6s4s5ekkru8668b6eceecfjm8 X-HE-Tag: 1666790740-660052 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: On Wed, 26 Oct 2022 at 02:54, David Hildenbrand wrote: > > On 26.10.22 08:59, syzbot wrote: > > Hello, > > > > syzbot found the following issue on: > > > > HEAD commit: 4da34b7d175d Merge tag 'thermal-6.1-rc2' of git://git.kern.. > > git tree: upstream > > console+strace: https://syzkaller.appspot.com/x/log.txt?x=113bd8bc880000 > > kernel config: https://syzkaller.appspot.com/x/.config?x=4789759e8a6d5f57 > > dashboard link: https://syzkaller.appspot.com/bug?extid=273b547b15eb58ea35e8 > > compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=161e1f62880000 > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16dd4fe6880000 > > > > Downloadable assets: > > disk image: https://storage.googleapis.com/syzbot-assets/a61ddb36c296/disk-4da34b7d.raw.xz > > vmlinux: https://storage.googleapis.com/syzbot-assets/ceee41246252/vmlinux-4da34b7d.xz > > > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > > Reported-by: syzbot+273b547b15eb58ea35e8@syzkaller.appspotmail.com > > > > tlb_finish_mmu+0xcb/0x200 mm/mmu_gather.c:363 > > exit_mmap+0x2b1/0x670 mm/mmap.c:3098 > > __mmput+0x114/0x3b0 kernel/fork.c:1185 > > exit_mm+0x217/0x2f0 kernel/exit.c:516 > > do_exit+0x5e7/0x2070 kernel/exit.c:807 > > do_group_exit+0x1fd/0x2b0 kernel/exit.c:950 > > __do_sys_exit_group kernel/exit.c:961 [inline] > > __se_sys_exit_group kernel/exit.c:959 [inline] > > __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:959 > > do_syscall_x64 arch/x86/entry/common.c:50 [inline] > > do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 > > entry_SYSCALL_64_after_hwframe+0x63/0xcd > > ------------[ cut here ]------------ > > WARNING: CPU: 0 PID: 3908 at mm/huge_memory.c:2465 __split_huge_page_tail+0x81c/0x1080 mm/huge_memory.c:2465 > > Is this the > > VM_BUG_ON_PAGE(atomic_read(&page_tail->_mapcount) != -1, page_tail); > > assertion? Hi David, You can check the sources for that revision, but on the dashboard there are clickable links for all source references: https://syzkaller.appspot.com/bug?extid=273b547b15eb58ea35e8 In this case it points to: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/mm/huge_memory.c?id=4da34b7d175dc99b8befebd69e96546c960d526c#n2465