CVE-2026-93243
mm/secretmem: properly account locked pages
Mitigation
- Upgrade Linux to 97d34aa65c29cca85e3e9050f4c936389b38a054 or later.
Who should check
- Anyone running Linux >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 37fd10e3d079bccf348180ff0bdac074d84ff31f; >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 51fba083e454f901947d6a335eeff671171d4714; >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < a41c95ac90f285cbe473b9606428b14518896ea4; >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 853043cb129473ff2fa0090602be944d96b9d5c9; >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 3b4f72bdddff69819d665395376329ef21f37a06; >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 97d34aa65c29cca85e3e9050f4c936389b38a054
- Anyone running Linux 5.14
Vulnerability facts
- Affected
- Linux >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 37fd10e3d079bccf348180ff0bdac074d84ff31f; >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 51fba083e454f901947d6a335eeff671171d4714; >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < a41c95ac90f285cbe473b9606428b14518896ea4; >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 853043cb129473ff2fa0090602be944d96b9d5c9; >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 3b4f72bdddff69819d665395376329ef21f37a06; >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 97d34aa65c29cca85e3e9050f4c936389b38a054; Linux 5.14
- Fixed in
- Linux 37fd10e3d079bccf348180ff0bdac074d84ff31f, Linux 51fba083e454f901947d6a335eeff671171d4714, Linux 853043cb129473ff2fa0090602be944d96b9d5c9, Linux 3b4f72bdddff69819d665395376329ef21f37a06, Linux 97d34aa65c29cca85e3e9050f4c936389b38a054
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.22% chance of exploitation in 30 days (percentile 8, 2026-11-26)
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 37fd10e3d079bccf348180ff0bdac074d84ff31f; >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 51fba083e454f901947d6a335eeff671171d4714; >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < a41c95ac90f285cbe473b9606428b14518896ea4; >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 853043cb129473ff2fa0090602be944d96b9d5c9; >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 3b4f72bdddff69819d665395376329ef21f37a06; >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 97d34aa65c29cca85e3e9050f4c936389b38a054 | — | cvelist |
| Linux | 5.14 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-93243. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-93243.md Affected: Linux >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 37fd10e3d079bccf348180ff0bdac074d84ff31f; >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 51fba083e454f901947d6a335eeff671171d4714; >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < a41c95ac90f285cbe473b9606428b14518896ea4; >= 1507f51255c9ff07d75909a… Fixed in: Linux 37fd10e3d079bccf348180ff0bdac074d84ff31f, Linux 51fba083e454f901947d6a335eeff671171d4714, Linux 853043cb129473ff2fa0090602be944d96b9d5c9, Linux 3b4f72bdddff69819d665395376329ef21f37a06, Linux 97d34aa65c29cca85e3e9050f4c936389b38a054 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/37fd10e3d079bccf348180ff0bdac074d84ff31f
- https://git.kernel.org/stable/c/51fba083e454f901947d6a335eeff671171d4714
- https://git.kernel.org/stable/c/a41c95ac90f285cbe473b9606428b14518896ea4
- https://git.kernel.org/stable/c/853043cb129473ff2fa0090602be944d96b9d5c9
- https://git.kernel.org/stable/c/3b4f72bdddff69819d665395376329ef21f37a06
- https://git.kernel.org/stable/c/97d34aa65c29cca85e3e9050f4c936389b38a054
FAQ
Is CVE-2026-93243 being exploited?
There is no confirmed exploitation: CVE-2026-93243 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-93243?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-93243?
Linux >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 37fd10e3d079bccf348180ff0bdac074d84ff31f; >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 51fba083e454f901947d6a335eeff671171d4714; >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < a41c95ac90f285cbe473b9606428b14518896ea4; >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 853043cb129473ff2fa0090602be944d96b9d5c9; >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 3b4f72bdddff69819d665395376329ef21f37a06; >= 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 97d34aa65c29cca85e3e9050f4c936389b38a054; Linux 5.14.
Is there a fix for CVE-2026-93243?
Yes. Fixed in Linux 37fd10e3d079bccf348180ff0bdac074d84ff31f, Linux 51fba083e454f901947d6a335eeff671171d4714, Linux 853043cb129473ff2fa0090602be944d96b9d5c9, Linux 3b4f72bdddff69819d665395376329ef21f37a06, Linux 97d34aa65c29cca85e3e9050f4c936389b38a054. Upgrade Linux to 97d34aa65c29cca85e3e9050f4c936389b38a054 or later.
How do I check if I'm affected by CVE-2026-93243?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.