[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240719230827.1693-1-hdanton@sina.com>
Date: Sat, 20 Jul 2024 07:08:27 +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 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 4d145e3f830b
--- x/mm/truncate.c
+++ y/mm/truncate.c
@@ -192,6 +192,7 @@ int truncate_inode_folio(struct address_
return -EIO;
truncate_cleanup_folio(folio);
+ BUG_ON(folio_mapped(folio));
filemap_remove_folio(folio);
return 0;
}
--
Powered by blists - more mailing lists