From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail115-118.sinamail.sina.com.cn (mail115-118.sinamail.sina.com.cn [218.30.115.118]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 54B324A05 for ; Sun, 29 Dec 2024 00:00:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=218.30.115.118 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735430448; cv=none; b=WSd0XMQ51ifJFzRmAipQkC/eS2ZsWSRxKdyigTtYlLuvg93mB8X+NYnTFwbr8h75g/adXPf0AMj5iCCQCFnc0KDxPK0jS8RTqfOAMJdaDid6N5WDYJHi/FFdb7T35B7IIj53//t3NuijRykRxUEUanSJ83RG3eqLaBOQsPcAgO0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735430448; c=relaxed/simple; bh=sOrvqx3JwvaSxljYgwyverlw9OAnuANadZDAXaierHE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=pXSvSgiEfV0mUL51rxYTH6rMaSfMfvkdlwWkTwu7U6xR5DPnbaZBPOTXXyFFu/WqBOVBvauw+s9KV/huICwOJGw+ugJqGhYrWQMHv4lJYoeaxlmU1icbBaRFtBGm4oiBhlImRNL8mU8af3lS+/T4h/zcsI+TNaW8dLYTQQkQKQg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sina.com; spf=pass smtp.mailfrom=sina.com; arc=none smtp.client-ip=218.30.115.118 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sina.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sina.com X-SMAIL-HELO: localhost.localdomain Received: from unknown (HELO localhost.localdomain)([113.88.51.102]) by sina.com (10.185.250.24) with ESMTP id 6770911E00005B0D; Sun, 29 Dec 2024 08:00:32 +0800 (CST) X-Sender: hdanton@sina.com X-Auth-ID: hdanton@sina.com Authentication-Results: sina.com; spf=none smtp.mailfrom=hdanton@sina.com; dkim=none header.i=none; dmarc=none action=none header.from=hdanton@sina.com X-SMAIL-MID: 67534210748350 X-SMAIL-UIID: D74777138DE148CEBBD33A2B94A50153-20241229-080032-1 From: Hillf Danton To: syzbot Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [mm?] WARNING in __folio_rmap_sanity_checks (2) Date: Sun, 29 Dec 2024 08:00:28 +0800 Message-ID: <20241229000032.619-1-hdanton@sina.com> In-Reply-To: <676f84f5.050a0220.2f3838.0493.GAE@google.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Fri, 27 Dec 2024 20:56:21 -0800 > syzbot has found a reproducer for the following issue on: > > HEAD commit: 8155b4ef3466 Add linux-next specific files for 20241220 > git tree: linux-next > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1652fadf980000 #syz test --- x/mm/filemap.c +++ y/mm/filemap.c @@ -3636,6 +3636,7 @@ static vm_fault_t filemap_map_folio_rang continue; skip: if (count) { + VM_WARN_ON_FOLIO(page_folio(page) != folio, folio); set_pte_range(vmf, folio, page, count, addr); *rss += count; folio_ref_add(folio, count); --