Re: [PATCH v6 00/18] kasan: x86: arm64: KASAN tag-based mode for x86

From: Andrew Morton

Date: Wed Oct 29 2025 - 18:08:10 EST


On Wed, 29 Oct 2025 19:05:27 +0000 Maciej Wieczor-Retman <m.wieczorretman@xxxxx> wrote:

> The patchset aims to add a KASAN tag-based mode for the x86 architecture
> with the help of the new CPU feature called Linear Address Masking
> (LAM). Main improvement introduced by the series is 2x lower memory
> usage compared to KASAN's generic mode, the only currently available
> mode on x86. The tag based mode may also find errors that the generic
> mode couldn't because of differences in how these modes operate.

Thanks. Quite a lot of these patches aren't showing signs of review at
this time, so I'll skip v6 for now.

However patches 1&2 are fixes that have cc:stable. It's best to
separate these out from the overall add-a-feature series please - their
path-to-mainline will be quite different.

I grabbed just those two patches for some testing, however their
changelogging isn't fully appropriate. Can I ask that you resend these
as a two-patch series after updating the changelogs to clearly describe
the userspace-visible effects of the flaws which the patches fix?

This is to help -stable maintainers understand why we're proposing the
backports and it is to help people to predict whether these fixes might
address an issue which they or their customers are experiencing.