CVE-2026-93243

mm/secretmem: properly account locked pages

CVE-2026-93243 is fixed in 39 products on 1 platform, first by DEBIAN-CVE-2026-93243, released September 24, 2026. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
5.5
Moderate
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0025
16th percentile

In the Linux kernel, the following vulnerability has been resolved: mm/secretmem: properly account locked pages secretmem accounts folios by treating memory as if it were mlock()'d and thus limited by the RLIMIT_MEMLOCK limit. However the folios are unevictable and remain so until the inode is evicted, eliminating usual mlock() semantics - mapping folios then unmapping them does not clear their unevictable state, since it depends on AS_UNEVICTABLE, not PG_mlocked. A user can therefore easily work around the RLIMIT_MEMLOCK limit - simply map then unmap and VmLck no longer counts the secretmem range. Worse, folios are not accounted in the process's RSS, meaning the OOM killer won't know to kill the process. Repeatedly mapping/unmapping (or forking) can then result in the consumption of all available system memory with unevictable folios and cause system instability. A secretmem fd can be passed between processes and over fork so a per-process limit simply does not make sense, so follow the precedent set by io_uring, perf, skbuff, iommufd and xdp by tracking the number of locked pages in user_struct->locked_vm. Since the scope tracked is actually inode lifetime, the RLIMIT_MEMLOCK applies per-user not per-process, so it doesn't make sense to bypass for users with CAP_IPC_LOCK, therefore remove this bypass. There is simply no reason to carry on marking the mapping as mlock()'d since it's misleading and the lifecycle is now correctly handled, so remove this too. Note that secretmem does not support any form of truncation (including hole punching) and the folios are unreclaimable, so the folios need only be accounted on fault and unaccounted on inode destruction. __secretmem_account_pages() is more or less a duplicate of the code that io_uring etc. use, but since this is a bug fix that needs backporting, defer any de-duplication efforts to a follow-up. test_mlock_limit() asserts mlock_future_ok() on mmap(), however this has been removed, so remove the test altogether for the fix. A new test will be sent separately for upstream.

Where it's fixed

ProductFixed inFixReleased
Linux
bpftool6.12 · amzn 2023 1:6.12.113-138.209.amzn2023 ALAS2023-2026-3335 Nov 7, 2026
bpftool6.12-debuginfo · amzn 2023 1:6.12.113-138.209.amzn2023 ALAS2023-2026-3335 Nov 7, 2026
bpftool6.18 · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
bpftool6.18-debuginfo · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
kernel-livepatch-6.12.113-138.209 · amzn 2023 1:1.0-0.amzn2023 ALAS2023-2026-3335 Nov 7, 2026
kernel-livepatch-6.18.54-121.166 · amzn 2023 1:1.0-0.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
kernel6.12 · amzn 2023 1:6.12.113-138.209.amzn2023 ALAS2023-2026-3335 Nov 7, 2026
kernel6.12-debuginfo · amzn 2023 1:6.12.113-138.209.amzn2023 ALAS2023-2026-3335 Nov 7, 2026
kernel6.12-debuginfo-common-aarch64 · amzn 2023 1:6.12.113-138.209.amzn2023 ALAS2023-2026-3335 Nov 7, 2026
kernel6.12-debuginfo-common-x86_64 · amzn 2023 1:6.12.113-138.209.amzn2023 ALAS2023-2026-3335 Nov 7, 2026
kernel6.12-devel · amzn 2023 1:6.12.113-138.209.amzn2023 ALAS2023-2026-3335 Nov 7, 2026
kernel6.12-headers · amzn 2023 1:6.12.113-138.209.amzn2023 ALAS2023-2026-3335 Nov 7, 2026
kernel6.12-modules-extra · amzn 2023 1:6.12.113-138.209.amzn2023 ALAS2023-2026-3335 Nov 7, 2026
kernel6.12-modules-extra-common · amzn 2023 1:6.12.113-138.209.amzn2023 ALAS2023-2026-3335 Nov 7, 2026
kernel6.12-tools · amzn 2023 1:6.12.113-138.209.amzn2023 ALAS2023-2026-3335 Nov 7, 2026
kernel6.12-tools-debuginfo · amzn 2023 1:6.12.113-138.209.amzn2023 ALAS2023-2026-3335 Nov 7, 2026
kernel6.12-tools-devel · amzn 2023 1:6.12.113-138.209.amzn2023 ALAS2023-2026-3335 Nov 7, 2026
kernel6.18 · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
kernel6.18-debuginfo · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
kernel6.18-debuginfo-common-aarch64 · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
kernel6.18-debuginfo-common-x86_64 · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
kernel6.18-devel · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
kernel6.18-headers · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
kernel6.18-modules-extra · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
kernel6.18-modules-extra-common · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
kernel6.18-tools · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
kernel6.18-tools-debuginfo · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
kernel6.18-tools-devel · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
linux · Debian 13.5 (trixie) 6.12.113-1 DEBIAN-CVE-2026-93243 Sep 24, 2026
linux · Debian 14 7.2.6-1 DEBIAN-CVE-2026-93243 Sep 24, 2026
linux-6.12 · Debian 12.15 (bookworm) 6.12.113-1~deb12u1 DEBIAN-CVE-2026-93243 Sep 24, 2026
microvm-kernel6.18 · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
perf6.12 · amzn 2023 1:6.12.113-138.209.amzn2023 ALAS2023-2026-3335 Nov 7, 2026
perf6.12-debuginfo · amzn 2023 1:6.12.113-138.209.amzn2023 ALAS2023-2026-3335 Nov 7, 2026
perf6.18 · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
perf6.18-debuginfo · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
python3-perf6.12 · amzn 2023 1:6.12.113-138.209.amzn2023 ALAS2023-2026-3335 Nov 7, 2026
python3-perf6.12-debuginfo · amzn 2023 1:6.12.113-138.209.amzn2023 ALAS2023-2026-3335 Nov 7, 2026
python3-perf6.18 · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
python3-perf6.18-debuginfo · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.