Re: [REGRESSION] secretmem: SIGBUS on memfd_secret() pages while perf record runs

From: Sasha Levin

Date: Fri Oct 02 2026 - 21:30:46 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

Thanks for the report. I've dropped 97d34aa65c29 from the 6.12 queue,
and also removed the copies that were staged for 6.6 and 6.1.

7.2.y and 6.18.y already shipped it, so those need an upstream fix,
which stable will pick up once it lands.

--
Thanks,
Sasha