Skip to content
FlawDB
Sign in

CVE-2026-142840

UNSCORED

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

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 91cdcd8d624bfdf05e8db9d572759516f3c786b8, < 1d69b96df396bb54e0ed6be9be7bff9bd7d9bb41; >= 91cdcd8d624bfdf05e8db9d572759516f3c786b8, < 18223e4783fe08229e489b766c13d5abbd648b2a; >= 91cdcd8d624bfdf05e8db9d572759516f3c786b8, < be83045ebb7d2dbda4657e837d6c418d200ace39; >= 91cdcd8d624bfdf05e8db9d572759516f3c786b8, < c1dd5e24a82d19bff8eef50ba8205d4776584aff
  • Anyone running Linux 6.10

Vulnerability facts

Affected
Linux >= 91cdcd8d624bfdf05e8db9d572759516f3c786b8, < 1d69b96df396bb54e0ed6be9be7bff9bd7d9bb41; >= 91cdcd8d624bfdf05e8db9d572759516f3c786b8, < 18223e4783fe08229e489b766c13d5abbd648b2a; >= 91cdcd8d624bfdf05e8db9d572759516f3c786b8, < be83045ebb7d2dbda4657e837d6c418d200ace39; >= 91cdcd8d624bfdf05e8db9d572759516f3c786b8, < c1dd5e24a82d19bff8eef50ba8205d4776584aff; Linux 6.10
Fixed in
Linux 1d69b96df396bb54e0ed6be9be7bff9bd7d9bb41, Linux 18223e4783fe08229e489b766c13d5abbd648b2a
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
Published
Modified

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

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 91cdcd8d624bfdf05e8db9d572759516f3c786b8, < 1d69b96df396bb54e0ed6be9be7bff9bd7d9bb41; >= 91cdcd8d624bfdf05e8db9d572759516f3c786b8, < 18223e4783fe08229e489b766c13d5abbd648b2a; >= 91cdcd8d624bfdf05e8db9d572759516f3c786b8, < be83045ebb7d2dbda4657e837d6c418d200ace39; >= 91cdcd8d624bfdf05e8db9d572759516f3c786b8, < c1dd5e24a82d19bff8eef50ba8205d4776584aff—cvelist
Linux6.10—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-142840. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142840.md
Affected: Linux >= 91cdcd8d624bfdf05e8db9d572759516f3c786b8, < 1d69b96df396bb54e0ed6be9be7bff9bd7d9bb41; >= 91cdcd8d624bfdf05e8db9d572759516f3c786b8, < 18223e4783fe08229e489b766c13d5abbd648b2a; >= 91cdcd8d624bfdf05e8db9d572759516f3c786b8, < be83045ebb7d2dbda4657e837d6c418d200ace39; >= 91cdcd8d624bfdf05e8db9d…
Fixed in: Linux 1d69b96df396bb54e0ed6be9be7bff9bd7d9bb41, Linux 18223e4783fe08229e489b766c13d5abbd648b2a

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.

Technologies

References

FAQ

Is CVE-2026-142840 being exploited?

There is no confirmed exploitation: CVE-2026-142840 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

How serious is CVE-2026-142840?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-142840?

Linux >= 91cdcd8d624bfdf05e8db9d572759516f3c786b8, < 1d69b96df396bb54e0ed6be9be7bff9bd7d9bb41; >= 91cdcd8d624bfdf05e8db9d572759516f3c786b8, < 18223e4783fe08229e489b766c13d5abbd648b2a; >= 91cdcd8d624bfdf05e8db9d572759516f3c786b8, < be83045ebb7d2dbda4657e837d6c418d200ace39; >= 91cdcd8d624bfdf05e8db9d572759516f3c786b8, < c1dd5e24a82d19bff8eef50ba8205d4776584aff; Linux 6.10.

Is there a fix for CVE-2026-142840?

Yes. Fixed in Linux 1d69b96df396bb54e0ed6be9be7bff9bd7d9bb41, Linux 18223e4783fe08229e489b766c13d5abbd648b2a. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2026-142840?

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.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
UNSCOREDCVE-2026-142948

i2c: designware: queue only one read command for block reads

Linux kernel
UNSCOREDCVE-2026-142947

cxl/core: Skip einj_inject creation when devm_add_action_or_reset() fails

Linux kernel
UNSCOREDCVE-2026-142946

ASoC: amd: acp-es8336: Switch to use acpi_bus_get_primary_device()

Linux kernel
UNSCOREDCVE-2026-142945

ASoC: amd: acp3x-es83xx: Switch to use acpi_bus_get_primary_device()

Linux kernel
UNSCOREDCVE-2026-142944

ASoC: amd: acp-es8336: Use an owned codec device reference

Linux kernel
Sponsors