]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm-return-an-err_ptr-from-__filemap_get_folio-fix
authorChristoph Hellwig <hch@lst.de>
Fri, 10 Mar 2023 07:00:23 +0000 (08:00 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 28 Mar 2023 23:24:59 +0000 (16:24 -0700)
commit1677df403085583f5f15be0a3d632e1e33e65795
treeb7fefab4fb29050d5524cefa6f71c364b2eb74cb
parentff5f3caa4613c20c73e0d47cb0d5a2027341ebd9
mm-return-an-err_ptr-from-__filemap_get_folio-fix

fix null-pointer deref

Link: https://lkml.kernel.org/r/20230310070023.GA13563@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Naoya Horiguchi <naoya.horiguchi@linux.dev>
Link: https://lkml.kernel.org/r/20230310043137.GA1624890@u2004
Cc: Andreas Gruenbacher <agruenba@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/swap_state.c