{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-142840","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.332Z","datePublished":"2026-12-03T03:20:52.087Z","dateUpdated":"2026-12-03T03:20:52.087Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-03T03:20:52.087Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/zswap: publish the initial pool with list_add_rcu()\n\nzswap_setup() publishes the pool on the zswap_pools list with a plain\nlist_add(), but the list is walked by concurrent RCU readers holding\nnothing but rcu_read_lock() through zswap_total_pages(), e.g. \n/proc/meminfo and the shrinker count path.\n\n    CPU 0 (writer)                          CPU 1 (reader)\n    --------------                          --------------\n    zswap_pool_create():\n      pool->zs_pool = zs_create_pool(); (1)\n    list_add() -> __list_add():\n      WRITE_ONCE(zswap_pools.next,\n          &pool->list);                (2)   zswap_total_pages():\n                                                pool = READ_ONCE(     (a)\n                                                    zswap_pools.next);\n                                                zs_get_total_pages(   (b)\n                                                    pool->zs_pool);\n\nIf (2) becomes visible to CPU 1 before (1), CPU 1 finds the pool at (a)\nbut dereferences a wild pointer at (b).  Publish the node with\nlist_add_rcu()."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["mm/zswap.c"],"versions":[{"version":"91cdcd8d624bfdf05e8db9d572759516f3c786b8","lessThan":"1d69b96df396bb54e0ed6be9be7bff9bd7d9bb41","status":"affected","versionType":"git"},{"version":"91cdcd8d624bfdf05e8db9d572759516f3c786b8","lessThan":"18223e4783fe08229e489b766c13d5abbd648b2a","status":"affected","versionType":"git"},{"version":"91cdcd8d624bfdf05e8db9d572759516f3c786b8","lessThan":"be83045ebb7d2dbda4657e837d6c418d200ace39","status":"affected","versionType":"git"},{"version":"91cdcd8d624bfdf05e8db9d572759516f3c786b8","lessThan":"c1dd5e24a82d19bff8eef50ba8205d4776584aff","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["mm/zswap.c"],"versions":[{"version":"6.10","status":"affected"},{"version":"0","lessThan":"6.10","status":"unaffected","versionType":"semver"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.12.118"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/1d69b96df396bb54e0ed6be9be7bff9bd7d9bb41"},{"url":"https://git.kernel.org/stable/c/18223e4783fe08229e489b766c13d5abbd648b2a"},{"url":"https://git.kernel.org/stable/c/be83045ebb7d2dbda4657e837d6c418d200ace39"},{"url":"https://git.kernel.org/stable/c/c1dd5e24a82d19bff8eef50ba8205d4776584aff"}],"title":"mm/zswap: publish the initial pool with list_add_rcu()","x_generator":{"engine":"bippy-1.2.0"}}}}