FROMGIT: kasan: call kasan_malloc() from __kmalloc_*track_caller()
We were failing to call kasan_malloc() from __kmalloc_*track_caller() which was causing us to sometimes fail to produce KASAN error reports for allocations made using e.g. devm_kcalloc(), as the KASAN poison was not being initialized. Fix it. Signed-off-by:Peter Collingbourne <pcc@google.com> Cc: <stable@vger.kernel.org> # 5.15 Signed-off-by:
Vlastimil Babka <vbabka@suse.cz> (cherry picked from commit 5373b8a0 git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git for-6.0/fixes) Change-Id: I597dd2d880b9b8b04a079d15a136bede855d9d00 Bug: 246029211
Loading
Please sign in to comment