[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240723103734.1909-1-hdanton@sina.com>
Date: Tue, 23 Jul 2024 18:37:34 +0800
From: Hillf Danton <hdanton@...a.com>
To: syzbot <syzbot+ec4b7d82bb051330f15a@...kaller.appspotmail.com>
Cc: linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [mm?] BUG: Bad page map (8)
On Thu, 18 Jul 2024 15:51:26 -0700
> syzbot found the following issue on:
>
> HEAD commit: 4d145e3f830b Merge tag 'i2c-for-6.10-rc8' of git://git.ker..
> git tree: upstream
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1366ab85980000
#syz test upstream 4d145e3f830b
--- x/mm/rmap.c
+++ y/mm/rmap.c
@@ -1466,6 +1466,7 @@ static __always_inline void __folio_add_
void folio_add_file_rmap_ptes(struct folio *folio, struct page *page,
int nr_pages, struct vm_area_struct *vma)
{
+ BUG_ON(!folio_test_locked(folio));
__folio_add_file_rmap(folio, page, nr_pages, vma, RMAP_LEVEL_PTE);
}
--
Powered by blists - more mailing lists