[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Yp+mnq9x4/tIG+Sz@casper.infradead.org>
Date: Tue, 7 Jun 2022 20:27:26 +0100
From: Matthew Wilcox <willy@...radead.org>
To: syzbot <syzbot+8847ae8c7bc46bc9c10e@...kaller.appspotmail.com>
Cc: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] KASAN: stack-out-of-bounds Write in
check_move_unevictable_pages
On Tue, Jun 07, 2022 at 09:24:21AM -0700, syzbot wrote:
> BUG: KASAN: vmalloc-out-of-bounds in folio_batch_add include/linux/pagevec.h:130 [inline]
> BUG: KASAN: vmalloc-out-of-bounds in check_move_unevictable_pages+0x3f6/0x440 mm/vmscan.c:4857
Oh, I forgot to call folio_batch_init(), so ->nr contains some stack
garbage and we index into hyperspace. I'll fix it up, thanks.
Powered by blists - more mailing lists