b99acdcbfe
Currently, addr_has_metadata() returns true for every address. An
invalid address (e.g. NULL) passed to the function when, KASAN_HW_TAGS
is enabled, leads to a kernel panic.
Make addr_has_metadata() return true for valid addresses only.
Note: KASAN_HW_TAGS support for vmalloc will be added with a future
patch.
Link: https://lkml.kernel.org/r/20210126134409.47894-3-vincenzo.frascino@arm.com
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
common.c | ||
generic.c | ||
hw_tags.c | ||
init.c | ||
kasan.h | ||
quarantine.c | ||
report.c | ||
report_generic.c | ||
report_hw_tags.c | ||
report_sw_tags.c | ||
shadow.c | ||
sw_tags.c |