CVE-2026-53265

dm cache policy smq: check allocation under invalidate lock

7.8 high EPSS 0.14%

Published 25 Jun 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-53265

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-53265 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

dm cache policy smq: check allocation under invalidate lock

commit 2d1f7b65f5de ("dm cache policy smq: fix missing locks in invalidating cache blocks") added mq->lock around the destructive part of smq_invalidate_mapping(), but left the e->allocated check outside the critical section.

That leaves a check-then-act race. Two concurrent invalidators can both observe e->allocated as true before either of them takes mq->lock. The first invalidator that acquires the lock removes the entry from the queues and hash table and then calls free_entry(), which clears e->allocated and puts the entry back on the free list. The second invalidator can then acquire mq->lock and continue with the stale result of the unlocked check.

This can corrupt the SMQ queues or hash table by deleting an entry that is no longer on those structures. It can also hit the allocation check in free_entry() when the same entry is freed again.

Move the allocation check under mq->lock so the predicate and the destructive operations are serialized by the same lock.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.14%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 1.61% of all scored CVEs. Scores of 30 Nov 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 4991b5a08751e2e82488fb93ae08849b6aea10d9, before c242c7af2aecf0b538b8623bdb86b8b441da38d9
affected from 1b2bec4a7dcf5f00b7a1cbeeec8997841d783513, before 13da856c86fb8c2ccab95034fd77da1bb2c2a17c
affected from 9a5fdfb9e57ec3a8ad2b8fce5e5ffa42d53b130e, before d886945fcb0f8c9dc6b39928d7a96c95c587346c
affected from ac5ee99443891bdb161f5539606a66a1b5e72542, before b4892561552d671bd8c4da5ebb70e9fbb1ec446e
affected from 93627a29d4b66d4a2def938dfb8610cc80ae454b, before 03ffe1112ed88bb3a9bd0b971549bf4d64bfc59a
affected from c348ae47d8e65f06429fa41adce9ad986b696766, before 42ff6774ecd9d7f70d599cb71ff64373a1da4948
affected from 2b62d0611c9af14a16bddf22df2612b4f40eb5a1, before c57570fba24016ec25ec046ab44db39143fb7a64
affected from 2d1f7b65f5deedd2e6b09fdc6ea27f8375f24b45, before d3f0a606b9f278ece8a0df626ded9c4044071235
Other versions: unaffected
Linux
affected from 5.10.258, before 5.10.259
affected from 5.15.209, before 5.15.210
affected from 6.1.175, before 6.1.176
affected from 6.6.141, before 6.6.143
affected from 6.12.91, before 6.12.94
affected from 6.18.33, before 6.18.36
affected from 7.0.10, before 7.0.13
Other versions: unaffected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-53265 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-53265

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-53265
trivy image --scanners vuln IMAGE | grep CVE-2026-53265

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-53265 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.