diff options
author | Peter Collingbourne <pcc@google.com> | 2022-09-14 04:00:01 +0200 |
---|---|---|
committer | Vlastimil Babka <vbabka@suse.cz> | 2022-09-16 23:05:59 +0200 |
commit | 5373b8a09d6e037ee0587cb5d9fe4cc09077deeb (patch) | |
tree | 14d7ee978f14f59ac7e279bdbdbbab110574d144 /mm/shuffle.c | |
parent | mm/slub: fix to return errno if kmalloc() fails (diff) | |
download | linux-5373b8a09d6e037ee0587cb5d9fe4cc09077deeb.tar.xz linux-5373b8a09d6e037ee0587cb5d9fe4cc09077deeb.zip |
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>
Diffstat (limited to 'mm/shuffle.c')
0 files changed, 0 insertions, 0 deletions