EnvMap GitHub

CVE-2026-142840

mm/zswap: publish the initial pool with list_add_rcu()

Not scored yetEPSS 0.35%Received

Description

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().

In the words of the organisation that published it (Linux).

Affected

  • Linux: from 91cdcd8d624bfdf05e8db9d572759516f3c786b8 before 1d69b96df396bb54e0ed6be9be7; from 91cdcd8d624bfdf05e8db9d572759516f3c786b8 before 18223e4783fe08229e489b766c1; from 91cdcd8d624bfdf05e8db9d572759516f3c786b8 before be83045ebb7d2dbda4657e837d6; from 91cdcd8d624bfdf05e8db9d572759516f3c786b8 before c1dd5e24a82d19bff8eef50ba82; 6.10

as the publisher (Linux) lists them.

Likelihood of exploitation

FIRST's EPSS gives a 0.35% chance of exploitation in the next 30 days, higher than 31% of all CVEs (as of 4 December 2026).

References

Record

Published04:18 UTC, 3 December 2026
Last changed04:18 UTC, 3 December 2026
NVD statusReceived
Published byLinux

CVE-2026-142840 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.