CVE-2026-142840
In the Linux kernel, the following vulnerability has been resolved: mm/zswap: publish the initial pool with list_add_rcu() zswap_setup() publishes the pool on the zswap_pools list with a plain list_add(), but the list is walked by concurrent RCU readers holding nothing but rcu_read_lock() through zswap_total_pages(), e.g. /proc/meminfo and the shrinker count path. CPU 0 (writer) CPU 1 (reader) -------------- -------------- zswap_pool_create(): pool->zs_pool = zs_create_pool(); (1) list_add() -> __list_add(): WRITE_ONCE(zswap_pools.next, &pool->list); (2) zswap_total_pages(): pool = READ_ONCE( (a) zswap_pools.next); zs_get_total_pages( (b) pool->zs_pool); If (2) becomes visible to CPU 1 before (1), CPU 1 finds the pool at (a) but dereferences a wild pointer at (b). Publish the node with list_add_rcu().
Affected versions
Linux kernel versions
6.10
and later are affected. Fixed in
6.12.118,
6.18.63,
7.3.4,
7.4-rc1
and their respective stable series.
References
4 totalFrequently asked questions
-
What is CVE-2026-142840?
CVE-2026-142840 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 6.10 onward and has been patched in 6.12.118, 6.18.63, 7.3.4 and others. CVE-2026-142840 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2026-142840?
Yes. CVE-2026-142840 has been patched. Fixed versions include 6.12.118, 6.18.63, 7.3.4 and others. If you are running Linux kernel 6.10 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-142840 actively exploited?
No. CVE-2026-142840 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.