{"api_version":"1","generated_at":"2026-06-26T03:58:57+00:00","cve":"CVE-2026-53265","urls":{"html":"https://cve.report/CVE-2026-53265","api":"https://cve.report/api/cve/CVE-2026-53265.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-53265","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-53265"},"summary":{"title":"dm cache policy smq: check allocation under invalidate lock","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm cache policy smq: check allocation under invalidate lock\n\ncommit 2d1f7b65f5de (\"dm cache policy smq: fix missing locks in\ninvalidating cache blocks\") added mq->lock around the destructive part of\nsmq_invalidate_mapping(), but left the e->allocated check outside the\ncritical section.\n\nThat leaves a check-then-act race. Two concurrent invalidators can both\nobserve e->allocated as true before either of them takes mq->lock. The\nfirst invalidator that acquires the lock removes the entry from the\nqueues and hash table and then calls free_entry(), which clears\ne->allocated and puts the entry back on the free list. The second\ninvalidator can then acquire mq->lock and continue with the stale result\nof the unlocked check.\n\nThis can corrupt the SMQ queues or hash table by deleting an entry that\nis no longer on those structures. It can also hit the allocation check in\nfree_entry() when the same entry is freed again.\n\nMove the allocation check under mq->lock so the predicate and the\ndestructive operations are serialized by the same lock.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-06-25 09:16:44","updated_at":"2026-06-25 09:16:44"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/d3f0a606b9f278ece8a0df626ded9c4044071235","name":"https://git.kernel.org/stable/c/d3f0a606b9f278ece8a0df626ded9c4044071235","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d886945fcb0f8c9dc6b39928d7a96c95c587346c","name":"https://git.kernel.org/stable/c/d886945fcb0f8c9dc6b39928d7a96c95c587346c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/13da856c86fb8c2ccab95034fd77da1bb2c2a17c","name":"https://git.kernel.org/stable/c/13da856c86fb8c2ccab95034fd77da1bb2c2a17c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/42ff6774ecd9d7f70d599cb71ff64373a1da4948","name":"https://git.kernel.org/stable/c/42ff6774ecd9d7f70d599cb71ff64373a1da4948","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c242c7af2aecf0b538b8623bdb86b8b441da38d9","name":"https://git.kernel.org/stable/c/c242c7af2aecf0b538b8623bdb86b8b441da38d9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c57570fba24016ec25ec046ab44db39143fb7a64","name":"https://git.kernel.org/stable/c/c57570fba24016ec25ec046ab44db39143fb7a64","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/03ffe1112ed88bb3a9bd0b971549bf4d64bfc59a","name":"https://git.kernel.org/stable/c/03ffe1112ed88bb3a9bd0b971549bf4d64bfc59a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b4892561552d671bd8c4da5ebb70e9fbb1ec446e","name":"https://git.kernel.org/stable/c/b4892561552d671bd8c4da5ebb70e9fbb1ec446e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-53265","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53265","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4991b5a08751e2e82488fb93ae08849b6aea10d9 c242c7af2aecf0b538b8623bdb86b8b441da38d9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1b2bec4a7dcf5f00b7a1cbeeec8997841d783513 13da856c86fb8c2ccab95034fd77da1bb2c2a17c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9a5fdfb9e57ec3a8ad2b8fce5e5ffa42d53b130e d886945fcb0f8c9dc6b39928d7a96c95c587346c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ac5ee99443891bdb161f5539606a66a1b5e72542 b4892561552d671bd8c4da5ebb70e9fbb1ec446e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 93627a29d4b66d4a2def938dfb8610cc80ae454b 03ffe1112ed88bb3a9bd0b971549bf4d64bfc59a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c348ae47d8e65f06429fa41adce9ad986b696766 42ff6774ecd9d7f70d599cb71ff64373a1da4948 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2b62d0611c9af14a16bddf22df2612b4f40eb5a1 c57570fba24016ec25ec046ab44db39143fb7a64 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2d1f7b65f5deedd2e6b09fdc6ea27f8375f24b45 d3f0a606b9f278ece8a0df626ded9c4044071235 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.10.258 5.10.259 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.15.209 5.15.210 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1.175 6.1.176 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6.141 6.6.143 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.12.91 6.12.94 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.18.33 6.18.36 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.0.10 7.0.13 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"53265","cve":"CVE-2026-53265","epss":"0.001720000","percentile":"0.067770000","score_date":"2026-06-25","updated_at":"2026-06-26 00:06:14"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/md/dm-cache-policy-smq.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"c242c7af2aecf0b538b8623bdb86b8b441da38d9","status":"affected","version":"4991b5a08751e2e82488fb93ae08849b6aea10d9","versionType":"git"},{"lessThan":"13da856c86fb8c2ccab95034fd77da1bb2c2a17c","status":"affected","version":"1b2bec4a7dcf5f00b7a1cbeeec8997841d783513","versionType":"git"},{"lessThan":"d886945fcb0f8c9dc6b39928d7a96c95c587346c","status":"affected","version":"9a5fdfb9e57ec3a8ad2b8fce5e5ffa42d53b130e","versionType":"git"},{"lessThan":"b4892561552d671bd8c4da5ebb70e9fbb1ec446e","status":"affected","version":"ac5ee99443891bdb161f5539606a66a1b5e72542","versionType":"git"},{"lessThan":"03ffe1112ed88bb3a9bd0b971549bf4d64bfc59a","status":"affected","version":"93627a29d4b66d4a2def938dfb8610cc80ae454b","versionType":"git"},{"lessThan":"42ff6774ecd9d7f70d599cb71ff64373a1da4948","status":"affected","version":"c348ae47d8e65f06429fa41adce9ad986b696766","versionType":"git"},{"lessThan":"c57570fba24016ec25ec046ab44db39143fb7a64","status":"affected","version":"2b62d0611c9af14a16bddf22df2612b4f40eb5a1","versionType":"git"},{"lessThan":"d3f0a606b9f278ece8a0df626ded9c4044071235","status":"affected","version":"2d1f7b65f5deedd2e6b09fdc6ea27f8375f24b45","versionType":"git"}]},{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/md/dm-cache-policy-smq.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"5.10.259","status":"affected","version":"5.10.258","versionType":"semver"},{"lessThan":"5.15.210","status":"affected","version":"5.15.209","versionType":"semver"},{"lessThan":"6.1.176","status":"affected","version":"6.1.175","versionType":"semver"},{"lessThan":"6.6.143","status":"affected","version":"6.6.141","versionType":"semver"},{"lessThan":"6.12.94","status":"affected","version":"6.12.91","versionType":"semver"},{"lessThan":"6.18.36","status":"affected","version":"6.18.33","versionType":"semver"},{"lessThan":"7.0.13","status":"affected","version":"7.0.10","versionType":"semver"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.259","versionStartIncluding":"5.10.258","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.210","versionStartIncluding":"5.15.209","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.176","versionStartIncluding":"6.1.175","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.143","versionStartIncluding":"6.6.141","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.94","versionStartIncluding":"6.12.91","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.36","versionStartIncluding":"6.18.33","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.13","versionStartIncluding":"7.0.10","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm cache policy smq: check allocation under invalidate lock\n\ncommit 2d1f7b65f5de (\"dm cache policy smq: fix missing locks in\ninvalidating cache blocks\") added mq->lock around the destructive part of\nsmq_invalidate_mapping(), but left the e->allocated check outside the\ncritical section.\n\nThat leaves a check-then-act race. Two concurrent invalidators can both\nobserve e->allocated as true before either of them takes mq->lock. The\nfirst invalidator that acquires the lock removes the entry from the\nqueues and hash table and then calls free_entry(), which clears\ne->allocated and puts the entry back on the free list. The second\ninvalidator can then acquire mq->lock and continue with the stale result\nof the unlocked check.\n\nThis can corrupt the SMQ queues or hash table by deleting an entry that\nis no longer on those structures. It can also hit the allocation check in\nfree_entry() when the same entry is freed again.\n\nMove the allocation check under mq->lock so the predicate and the\ndestructive operations are serialized by the same lock."}],"providerMetadata":{"dateUpdated":"2026-06-25T08:39:52.543Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/c242c7af2aecf0b538b8623bdb86b8b441da38d9"},{"url":"https://git.kernel.org/stable/c/13da856c86fb8c2ccab95034fd77da1bb2c2a17c"},{"url":"https://git.kernel.org/stable/c/d886945fcb0f8c9dc6b39928d7a96c95c587346c"},{"url":"https://git.kernel.org/stable/c/b4892561552d671bd8c4da5ebb70e9fbb1ec446e"},{"url":"https://git.kernel.org/stable/c/03ffe1112ed88bb3a9bd0b971549bf4d64bfc59a"},{"url":"https://git.kernel.org/stable/c/42ff6774ecd9d7f70d599cb71ff64373a1da4948"},{"url":"https://git.kernel.org/stable/c/c57570fba24016ec25ec046ab44db39143fb7a64"},{"url":"https://git.kernel.org/stable/c/d3f0a606b9f278ece8a0df626ded9c4044071235"}],"title":"dm cache policy smq: check allocation under invalidate lock","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-53265","datePublished":"2026-06-25T08:39:52.543Z","dateReserved":"2026-06-09T07:44:35.395Z","dateUpdated":"2026-06-25T08:39:52.543Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-06-25 09:16:44","lastModifiedDate":"2026-06-25 09:16:44","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"53265","Ordinal":"1","Title":"dm cache policy smq: check allocation under invalidate lock","CVE":"CVE-2026-53265","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"53265","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm cache policy smq: check allocation under invalidate lock\n\ncommit 2d1f7b65f5de (\"dm cache policy smq: fix missing locks in\ninvalidating cache blocks\") added mq->lock around the destructive part of\nsmq_invalidate_mapping(), but left the e->allocated check outside the\ncritical section.\n\nThat leaves a check-then-act race. Two concurrent invalidators can both\nobserve e->allocated as true before either of them takes mq->lock. The\nfirst invalidator that acquires the lock removes the entry from the\nqueues and hash table and then calls free_entry(), which clears\ne->allocated and puts the entry back on the free list. The second\ninvalidator can then acquire mq->lock and continue with the stale result\nof the unlocked check.\n\nThis can corrupt the SMQ queues or hash table by deleting an entry that\nis no longer on those structures. It can also hit the allocation check in\nfree_entry() when the same entry is freed again.\n\nMove the allocation check under mq->lock so the predicate and the\ndestructive operations are serialized by the same lock.","Type":"Description","Title":"dm cache policy smq: check allocation under invalidate lock"}]}}}