mirror of
https://github.com/torvalds/linux.git
synced 2026-05-13 00:28:54 +02:00
Restored vmalloc regions are currently not properly marked for KASAN,
causing KASAN to treat accesses to these regions as out-of-bounds.
Fix this by properly unpoisoning the restored vmalloc area using
kasan_unpoison_vmalloc(). This requires setting the VM_UNINITIALIZED flag
during the initial area allocation and clearing it after the pages have
been mapped and unpoisoned, using the clear_vm_uninitialized_flag()
helper.
Link: https://lkml.kernel.org/r/20260225223857.1714801-3-pasha.tatashin@soleen.com
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| kexec_handover_debug.c | ||
| kexec_handover_debugfs.c | ||
| kexec_handover_internal.h | ||
| kexec_handover.c | ||
| luo_core.c | ||
| luo_file.c | ||
| luo_flb.c | ||
| luo_internal.h | ||
| luo_session.c | ||
| Makefile | ||