Commit 5373b8a
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 <[email protected]>
Cc: <[email protected]> # 5.15
Signed-off-by: Vlastimil Babka <[email protected]>1 parent 7e9c323 commit 5373b8a
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4926 | 4926 | | |
4927 | 4927 | | |
4928 | 4928 | | |
| 4929 | + | |
| 4930 | + | |
4929 | 4931 | | |
4930 | 4932 | | |
4931 | 4933 | | |
| |||
4957 | 4959 | | |
4958 | 4960 | | |
4959 | 4961 | | |
| 4962 | + | |
| 4963 | + | |
4960 | 4964 | | |
4961 | 4965 | | |
4962 | 4966 | | |
| |||
0 commit comments