Re: [REGRESSION] secretmem: SIGBUS on memfd_secret() pages while perf record runs
From: Sasha Levin
Date: Sun Oct 04 2026 - 12:30:08 EST
> Since commit 97d34aa65c29 ("mm/secretmem: properly account locked
> pages"), in v7.3-rc2 and the 6.18.52 and 7.2.5 backports, touching a
> memfd_secret() page for the first time fails with SIGBUS while the
> same user is running perf record, and read() into such a page fails
> with EFAULT.
Re-queued the secretmem accounting fix for 6.12, 6.6 and 6.1, per Lorenzo.
The perf fix will be needed on these trees once it lands.
--
Thanks,
Sasha