Before working on this, it makes sense to add CONFIG_KASAN_VMALLOC support to the generic [1] and SW_TAGS modes [2] first. This will allow to only focus on the interaction between MTE and vmalloc internals. [1] https://bugzilla.kernel.org/show_bug.cgi?id=208515 [2] https://bugzilla.kernel.org/show_bug.cgi?id=211775
Resolved with [1]. [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f6f37d9320a11e9059f11a99fc59dfb8e307c07f