Security mailing lists by PureSourceCode

CVE-2026-53265

HIGH 7.8CVSS 3.1

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.

Published
25 Jun 2026
Last modified
19 Oct 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Modified
Weakness
CWE-362
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.6.141, < 6.6.143 6.6.143
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.12.91, < 6.12.94 6.12.94
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.18.33, < 6.18.36 6.18.36
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 7.0.10, < 7.0.13 7.0.13
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:5.10.258:*:*:*:*:*:*:*
= 5.10.258
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:5.15.209:*:*:*:*:*:*:*
= 5.15.209
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.1.175:*:*:*:*:*:*:*
= 6.1.175
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
= 7.1
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
= 7.1
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
= 7.1
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*
= 7.1
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*
= 7.1
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:*
= 7.1

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 25 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.