Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp284456imm; Fri, 6 Jul 2018 19:58:46 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeGutG/OOdtcI+zc9ZJMu48kVIp0iVzCeJERP2GzlIpCW4R3aW6HEZgSt9kzDR68iCKdqHh X-Received: by 2002:a63:501c:: with SMTP id e28-v6mr11415702pgb.114.1530932326499; Fri, 06 Jul 2018 19:58:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530932326; cv=none; d=google.com; s=arc-20160816; b=mC0+DUOJAwNv9ofcXfQq3gvGRb9DkYyJs1vanTLsSfjU0tT/hbJzO2najY/xm4aMxh LHHGmNnFeT6VLepw9v0yX6Z0kgutKkE7oxU9AZFqlxAqnxqQ/xkzN0mqSynPATldzsV8 rnILodWLC2kv5ZjpsHylFiwwWc9Gu/cCDFNCwTSbDidvalRYfyxVQlrCfN8d3z2WBptt P2JPpF6BjmKp4JJ9kVmapNIGKhfnMzeTFjLnARlzx4BuZJYDZU49yX1+zlvid41gTJNM Gc9PI2DhynajFNaCU5QwtwNKdp7QVwCu80n1eXRw5b0KIqYiW/WUxaTJUOQsy7mFWDMz CKpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=uJHxrICdYUxXfUbHJjdzFJIZm/ZbGmWsfuMMRIlKcqg=; b=yhJ86gJbaokjQEuqXWQfedMKL0sj0IKrqhx340RKA7ySxKtvL48zP3VQcaOA7omLhC rVVqEdMXqzSIlBwQcmexpiDHriSz/Az14ZCTfJDvbtABdFiVDuCxtp6Pht6mSuUlS6QQ LIryHCLkUWLNj2JihauiKrBzt2HlAny0v2vkWXcfZ/vcmBx6ylVAPBR4lk3RD0e/WTjz b8CgQ4jN27NxHHf/5D1rvwy5OEVV3FjD3fCDx2SrI7YbXYNKOD+ieUZwTbTO0ZXKAfK+ U7d6mzrkjIyTlyEPFPC3Fl3Ntob/kkOewgn2tYw9OgRMNdkdvSS/7aeXlGsapdZToZdg ynxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=iD8GgOjJ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i6-v6si8275501pgt.352.2018.07.06.19.58.32; Fri, 06 Jul 2018 19:58:46 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=iD8GgOjJ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932741AbeGGC5y (ORCPT + 99 others); Fri, 6 Jul 2018 22:57:54 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:44880 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932374AbeGGC5x (ORCPT ); Fri, 6 Jul 2018 22:57:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=uJHxrICdYUxXfUbHJjdzFJIZm/ZbGmWsfuMMRIlKcqg=; b=iD8GgOjJS+CuxfsN+xo78hVKc NI124JzHZ2aiLlmWZt0jKiuLDbg31UwUOmOw6DjD6GduPVbv78yhDHNZGATSvTxgM1cDQYEtP1Vdi ZTje6hUGg33SuYqAw0AVIWL+KMcGNeHbhfgsRqfhRhvp3UktZ2wr4ZLnspxVuFhHSboT9jsWqq6dS 2afg8v50wY62u7nwGF0eHFJXOB+9bBZPesQlBMpKCUKyUXkDVq0flQcfr5e5dpNuYVomKsKkj/I+g TzZIJL/X2a1AZVaFS9ZR2E5virVhPbZsghREjI0Nxy3ALgLVYvX5hqhmDQNZLsU1D2Wps4LGR0Bfw Kzx631BOQ==; Received: from willy by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1fbdQ0-0005DK-4N; Sat, 07 Jul 2018 02:57:52 +0000 Date: Fri, 6 Jul 2018 19:57:51 -0700 From: Matthew Wilcox To: syzbot Cc: hughd@google.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, syzkaller-bugs@googlegroups.com Subject: Re: kernel BUG at mm/shmem.c:LINE! Message-ID: <20180707025751.GA18609@bombadil.infradead.org> References: <000000000000d624c605705e9010@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000000000000d624c605705e9010@google.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 06, 2018 at 06:19:02PM -0700, syzbot wrote: > IMPORTANT: if you fix the bug, please add the following tag to the commit: > Reported-by: syzbot+b8e0dfee3fd8c9012771@syzkaller.appspotmail.com > > raw: 02fffc0000001028 ffffea0007011dc8 ffffea0007058b48 ffff8801a7576ab8 > raw: 000000000000016e ffff8801a7588930 00000003ffffffff ffff8801d9a44c80 > page dumped because: VM_BUG_ON_PAGE(page_to_pgoff(page) != index) > page->mem_cgroup:ffff8801d9a44c80 > ------------[ cut here ]------------ > kernel BUG at mm/shmem.c:815! > invalid opcode: 0000 [#1] SMP KASAN > CPU: 0 PID: 4429 Comm: syz-executor697 Not tainted 4.18.0-rc3-next-20180706+ > #1 > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS > Google 01/01/2011 > RIP: 0010:shmem_undo_range+0xdaa/0x29a0 mm/shmem.c:815 Pretty sure this one's mine. At least I spotted a codepath earlier today which could lead to it. I'll fix it in the morning.