summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/journal.h
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@gmail.com>2024-06-14 16:32:38 +0200
committerAndrew Morton <akpm@linux-foundation.org>2024-06-25 05:52:09 +0200
commit1c61990d3762a020817daa353da0a0af6794140b (patch)
treedb97d61131d267ccc00b2cf62fb1c3d482a10b21 /fs/ocfs2/journal.h
parentmm: handle profiling for fake memory allocations during compaction (diff)
downloadlinux-1c61990d3762a020817daa353da0a0af6794140b.tar.xz
linux-1c61990d3762a020817daa353da0a0af6794140b.zip
kasan: fix bad call to unpoison_slab_object
Commit 29d7355a9d05 ("kasan: save alloc stack traces for mempool") messed up one of the calls to unpoison_slab_object: the last two arguments are supposed to be GFP flags and whether to init the object memory. Fix the call. Without this fix, __kasan_mempool_unpoison_object provides the object's size as GFP flags to unpoison_slab_object, which can cause LOCKDEP reports (and probably other issues). Link: https://lkml.kernel.org/r/20240614143238.60323-1-andrey.konovalov@linux.dev Fixes: 29d7355a9d05 ("kasan: save alloc stack traces for mempool") Signed-off-by: Andrey Konovalov <andreyknvl@gmail.com> Reported-by: Brad Spengler <spender@grsecurity.net> Acked-by: Marco Elver <elver@google.com> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2/journal.h')
0 files changed, 0 insertions, 0 deletions