6.8

CVE-2026-93243: mm/secretmem: properly account locked pages

Received
AliasesUBUNTU-CVE-2026-93243DEBIAN-CVE-2026-93243
Published 24-09-2026Last modified 30-10-2026

Vulnerability summary

CVE-2026-93243 is a medium (CVSS 6.8) vulnerability in linux. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 16.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.8/10
010
Medium · v4.0 (OSV · Ubuntu), selected by version preference
EPSS score
0.25%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 21 · Related 16

Timeline

  1. 24-09-2026
    PublishedVulnerability first disclosed.
  2. 30-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

1 score · 1 source · 1 version

EPSS trend

Probability

0.25%

Chance of exploitation in the next 30 days

Percentile

17%

Versus all other CVEs

30-day change

Increase +0.02 pp

From 0.23% on 21-10-2026

21-10-202620-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu157 products
  • linuxAll versions (No fix recorded) | < 6.8.0-149.149 | < 7.0.0-42.42
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 6.8.0-1069.74 | < 7.0.0-1016.17
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian2 products
  • linuxAll versions (No fix recorded) | < 6.1.192-1 | < 6.12.113-1 | < 7.2.6-1
  • linux-6.12< 6.12.113-1~deb12u1
Linux1 product
  • linux≥ 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 37fd10e3d079bccf348180ff0bdac074d84ff31f | ≥ 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 51fba083e454f901947d6a335eeff671171d4714 | ≥ 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < a41c95ac90f285cbe473b9606428b14518896ea4 | ≥ 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 853043cb129473ff2fa0090602be944d96b9d5c9 | ≥ 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 3b4f72bdddff69819d665395376329ef21f37a06 | ≥ 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49, < 97d34aa65c29cca85e3e9050f4c936389b38a054 | 5.14

3 vendors · 160 products

References

24 links
Show all 24 references