Re: [PATCH v3] arm64: fixmap: fix missing break-before-make in __set_fixmap()

From: Catalin Marinas

Date: Thu Nov 26 2026 - 06:16:46 EST


On Thu, 26 Nov 2026 10:22:27 +0800, Yadong Qi wrote:
> __set_fixmap() installs a new PTE with __set_pte() but never invalidates
> the TLB; only the clear path calls flush_tlb_kernel_range(). The
> dsb(ishst)/isb that __set_pte() emits makes the new PTE visible to the
> table walker but does not invalidate stale TLB entries. Overwriting a
> still-valid slot therefore leaves the old translation cached and
> violates break-before-make: accesses may keep hitting the old output
> address, and changing the attributes of a cached entry can trigger TLB
> conflict aborts or CONSTRAINED UNPREDICTABLE behaviour.
>
> [...]

Applied to arm64 (for-next/fixes), thanks!

[1/1] arm64: fixmap: fix missing break-before-make in __set_fixmap()
https://git.kernel.org/arm64/c/18817028301d