[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <970502.1647851062@warthog.procyon.org.uk>
Date: Mon, 21 Mar 2022 08:24:22 +0000
From: David Howells <dhowells@...hat.com>
To: syzbot <syzbot+d55757faa9b80590767b@...kaller.appspotmail.com>
Cc: dhowells@...hat.com, christophe.jaillet@...adoo.fr,
linux-kernel@...r.kernel.org, syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] KASAN: null-ptr-deref Read in __free_pages
It should be possible to just test for the pointer being NULL in the loop
before calling __free_pages() since the list was allocated with kcalloc().
David
#syz test: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git 6d39b096627f0a1eb6e14f049d8ae3c93e0290f2
Powered by blists - more mailing lists