[PATCH v3 0/2] rust: add support for Software Tag-Based KASAN

From: Alice Ryhl

Date: Wed Apr 08 2026 - 04:32:59 EST


Please see the commit message of the last patch for details.

Signed-off-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
---
Changes in v3:
- Disallow mixing kasan with gcc.
- Link to v2: https://lore.kernel.org/r/20260331-kasan-rust-sw-tags-v2-1-f6765e3e1a2f@xxxxxxxxxx

Changes in v2:
- Drop the first patch for -Zsanitizer-recover, and mention why in
commit message for remaining patch.
- Pick up tags.
- Link to v1: https://lore.kernel.org/r/20260325-kasan-rust-sw-tags-v1-0-7d3a765a72aa@xxxxxxxxxx

---
Alice Ryhl (2):
rust: kasan: KASAN+RUST requires clang
rust: kasan: add support for Software Tag-Based KASAN

init/Kconfig | 3 ++-
scripts/Makefile.kasan | 2 --
2 files changed, 2 insertions(+), 3 deletions(-)
---
base-commit: 1f318b96cc84d7c2ab792fcc0bfd42a7ca890681
change-id: 20260325-kasan-rust-sw-tags-c5afff30e63a

Best regards,
--
Alice Ryhl <aliceryhl@xxxxxxxxxx>