{"id":"CVE-2026-46093","state":"PUBLISHED","title":"mm/vmalloc: take vmap_purge_lock in shrinker","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/vmalloc: take vmap_purge_lock in shrinker\n\ndecay_va_pool_node() can be invoked concurrently from two paths:\n__purge_vmap_area_lazy() when pools are being purged, and the shrinker via\nvmap_node_shrink_scan().\n\nHowever, decay_va_pool_node() is not safe to run concurrently, and the\nshrinker path currently lacks serialization, leading to races and possible\nleaks.\n\nProtect decay_va_pool_node() by taking vmap_purge_lock in the shrinker\npath to ensure serialization with purge users.","publishedAt":"2026-05-27T12:58:43.458Z","updatedAt":"2026-08-05T12:29:35.424Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7679ba6b36dbb300b757b672d6a32a606499e14b","status":"affected","lessThan":"c15ff206ba78820bf2873d0c668a882e99f4b631","versionType":"git"},{"version":"7679ba6b36dbb300b757b672d6a32a606499e14b","status":"affected","lessThan":"687ccdf582169cd680aeaf24cc953807c4cd4345","versionType":"git"},{"version":"7679ba6b36dbb300b757b672d6a32a606499e14b","status":"affected","lessThan":"12f2341b4c235d5593a433abac201c1c6725787f","versionType":"git"},{"version":"7679ba6b36dbb300b757b672d6a32a606499e14b","status":"affected","lessThan":"ec05f51f1e65bce95528543eb73fda56fd201d94","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["mm/vmalloc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.9","versionType":"semver"},{"version":"6.12.96","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.27","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.4","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["mm/vmalloc.c"]}],"references":["https://git.kernel.org/stable/c/c15ff206ba78820bf2873d0c668a882e99f4b631","https://git.kernel.org/stable/c/687ccdf582169cd680aeaf24cc953807c4cd4345","https://git.kernel.org/stable/c/12f2341b4c235d5593a433abac201c1c6725787f","https://git.kernel.org/stable/c/ec05f51f1e65bce95528543eb73fda56fd201d94"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/46xxx/CVE-2026-46093.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-46093","state":"PUBLISHED","datePublished":"2026-05-27T12:58:43.458Z","dateUpdated":"2026-08-05T12:29:35.424Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-05-13T15:03:33.097Z"},"containers":{"cna":{"title":"mm/vmalloc: take vmap_purge_lock in shrinker","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/vmalloc: take vmap_purge_lock in shrinker\n\ndecay_va_pool_node() can be invoked concurrently from two paths:\n__purge_vmap_area_lazy() when pools are being purged, and the shrinker via\nvmap_node_shrink_scan().\n\nHowever, decay_va_pool_node() is not safe to run concurrently, and the\nshrinker path currently lacks serialization, leading to races and possible\nleaks.\n\nProtect decay_va_pool_node() by taking vmap_purge_lock in the shrinker\npath to ensure serialization with purge users."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7679ba6b36dbb300b757b672d6a32a606499e14b","status":"affected","lessThan":"c15ff206ba78820bf2873d0c668a882e99f4b631","versionType":"git"},{"version":"7679ba6b36dbb300b757b672d6a32a606499e14b","status":"affected","lessThan":"687ccdf582169cd680aeaf24cc953807c4cd4345","versionType":"git"},{"version":"7679ba6b36dbb300b757b672d6a32a606499e14b","status":"affected","lessThan":"12f2341b4c235d5593a433abac201c1c6725787f","versionType":"git"},{"version":"7679ba6b36dbb300b757b672d6a32a606499e14b","status":"affected","lessThan":"ec05f51f1e65bce95528543eb73fda56fd201d94","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["mm/vmalloc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.9","versionType":"semver"},{"version":"6.12.96","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.27","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.4","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["mm/vmalloc.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/c15ff206ba78820bf2873d0c668a882e99f4b631"},{"url":"https://git.kernel.org/stable/c/687ccdf582169cd680aeaf24cc953807c4cd4345"},{"url":"https://git.kernel.org/stable/c/12f2341b4c235d5593a433abac201c1c6725787f"},{"url":"https://git.kernel.org/stable/c/ec05f51f1e65bce95528543eb73fda56fd201d94"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerable race is in core MM internals (vmap pool decay) reached only via local memory-management activity — inducing vmalloc/vfree churn (purge path) and memory pressure (shrinker path). No network-delivered data reaches the vulnerable function.\nAC:L - An unprivileged attacker controls both sides: one thread forces direct reclaim (shrinker→decay) while another drives vmalloc/vfree churn past the lazy-free threshold (purge→decay), and both can loop indefinitely to repeatedly attempt and win the narrow race.\nPR:L - Any unprivileged local process can allocate/free memory and induce reclaim; no capabilities or root are required to drive either racing path.\nUI:N - The race is triggered entirely by the attacker's own memory activity; no victim action is needed.\nS:U - The corruption stays within the kernel's own memory-management structures and does not cross into another security authority (no VM/IOMMU boundary escape).\nC:H - The data race corrupts the vmap pool linked list and free-area tree metadata; per kernel guidance, allocator memory corruption can be leveraged to read freed/adjacent kernel memory.\nI:H - Concurrent unserialized list_replace_init plus double-merge of vmap_area objects into the global free tree corrupts kernel free-list/tree state, a write/corruption primitive over allocator metadata.\nA:H - Corrupted lists and inconsistent len accounting (and the documented leaks) cause kernel crashes/oops and resource exhaustion when the corrupted pool is subsequently traversed or reused."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T12:29:35.424Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.12.96"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.18.27"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"7.0.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}