[PATCH 0/4] fixes for data/bss linear alias unmap series

From: Ard Biesheuvel

Date: Wed Jun 03 2026 - 12:49:10 EST


From: Ard Biesheuvel <ardb@xxxxxxxxxx>

Fixes for the data/bss linear alias unmap series:

- Fix KASAN related issue reported by Mark, by moving all KASAN page
tables out of BSS [on arm64], not just the ones defined under
arch/arm64

- Fix two issues spotted by Sashiko

- Fix the CKI reported WARN() splat on BBML2_NOABORT systems that try to
split block mappings too early.

Cc: Kevin Brodsky <kevin.brodsky@xxxxxxx>
Cc: Mark Brown <broonie@xxxxxxxxxx>

Ard Biesheuvel (4):
arm64: Move generic KASAN page tables out of BSS too
arm64: Avoid double evaluation of __ptep_get()
arm64: mte: Disregard the zero page explicitly for manipulating tags
arm64: mm: Defer remap of linear alias of data/bss

arch/arm64/include/asm/linkage.h | 2 ++
arch/arm64/include/asm/mmu.h | 2 --
arch/arm64/include/asm/mte.h | 5 +++++
arch/arm64/include/asm/pgtable.h | 4 ----
arch/arm64/kernel/vmlinux.lds.S | 8 ++++----
arch/arm64/mm/fixmap.c | 6 +++---
arch/arm64/mm/kasan_init.c | 2 +-
arch/arm64/mm/mmu.c | 20 +++++++++++++-------
include/linux/linkage.h | 4 ++++
mm/kasan/init.c | 10 +++++-----
10 files changed, 37 insertions(+), 26 deletions(-)


base-commit: 63e0b6a5b6934d6a919d1c65ea185303200a1874
--
2.54.0.1013.g208068f2d8-goog