Junglewise Threat Intelligence

CVE-2026-53265: Linux Kernel race condition in dm cache policy smq invalidation

CVE-2026-53265 · Severity: info · CVSS 4.7 · Published 2026-06-25

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A race condition was identified in the Linux kernel's device-mapper (dm) cache policy component. This component is responsible for managing how data is cached on storage drives to improve performance. An attacker or a malfunctioning process could trigger a specific sequence of events that causes the system to corrupt its internal cache tracking tables, potentially leading to a system crash or data inconsistency.

Technical details

A check-then-act race condition exists in the smq_invalidate_mapping() function within drivers/md/dm-cache-policy-smq.c. The vulnerability occurs because the 'e->allocated' check was performed outside the 'mq->lock' critical section. Concurrent invalidation requests can both observe an entry as allocated; the first to acquire the lock frees the entry, while the second proceeds with a stale result, attempting to delete the entry from queues and hash tables it no longer belongs to. This can lead to SMQ queue/hash table corruption or a double-free scenario in free_entry(). The fix moves the allocation check inside the spinlock to ensure atomicity.

Affected products

  • Linux Linux Kernel drivers/md/dm-cache-policy-smq.c

Timeline

  • 2026-05-29: other: Patch authored
  • 2026-06-19: patched: Commits merged into stable branches
  • 2026-06-25: disclosed: CVE published

References

Related threats