Add missing kasan_kmalloc() in __kmalloc_node_track_caller().
Signed-off-by: Hyeonggon Yoo <[email protected]>
---
mm/slab_common.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/mm/slab_common.c b/mm/slab_common.c
index a3eb66e5180c..6abe7f61c197 100644
--- a/mm/slab_common.c
+++ b/mm/slab_common.c
@@ -954,6 +954,7 @@ void *__kmalloc_node_track_caller(size_t size, gfp_t gfpflags,
return s;
ret = __kmem_cache_alloc_node(s, NULL, gfpflags, node, caller);
+ ret = kasan_kmalloc(s, ret, size, gfpflags);
return ret;
}
--
2.32.0