« Volver al listado

CVE-2026-53265

Estado: AnalizadaAlta (7.8)—

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.

Leer descripción completaMostrar menos

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.

CVSS

Probabilidad de explotación (EPSS)

EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).

🎯 Técnicas ATT&CK

Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.

Vulnerabilidad de race condition en kernel Linux con acceso local (AV:L/PR:L) que permite escalada de privilegios (I:H) mediante corrupción de estructuras de memoria del subsistema dm-cache, causando DoS o manipulación de datos del sistema de ficheros.

Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.

🛡️ Mitigaciones ATT&CK que cubren estas técnicas

Tecnologías afectadas (1)

CWE

Referencias

JSON original (NVD)

Mostrar
{
  "id": "CVE-2026-53265",
  "cveTags": [],
  "metrics": {
    "cvssMetricV31": [
      {
        "type": "Secondary",
        "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "cvssData": {
          "scope": "UNCHANGED",
          "version": "3.1",
          "baseScore": 7.8,
          "attackVector": "LOCAL",
          "baseSeverity": "HIGH",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
          "integrityImpact": "HIGH",
          "userInteraction": "NONE",
          "attackComplexity": "LOW",
          "availabilityImpact": "HIGH",
          "privilegesRequired": "LOW",
          "confidentialityImpact": "HIGH"
        },
        "impactScore": 5.9,
        "exploitabilityScore": 1.8
      }
    ]
  },
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "product": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4991b5a08751e2e82488fb93ae08849b6aea10d9",
              "lessThan": "c242c7af2aecf0b538b8623bdb86b8b441da38d9",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "1b2bec4a7dcf5f00b7a1cbeeec8997841d783513",
              "lessThan": "13da856c86fb8c2ccab95034fd77da1bb2c2a17c",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "9a5fdfb9e57ec3a8ad2b8fce5e5ffa42d53b130e",
              "lessThan": "d886945fcb0f8c9dc6b39928d7a96c95c587346c",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "ac5ee99443891bdb161f5539606a66a1b5e72542",
              "lessThan": "b4892561552d671bd8c4da5ebb70e9fbb1ec446e",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "93627a29d4b66d4a2def938dfb8610cc80ae454b",
              "lessThan": "03ffe1112ed88bb3a9bd0b971549bf4d64bfc59a",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "c348ae47d8e65f06429fa41adce9ad986b696766",
              "lessThan": "42ff6774ecd9d7f70d599cb71ff64373a1da4948",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "2b62d0611c9af14a16bddf22df2612b4f40eb5a1",
              "lessThan": "c57570fba24016ec25ec046ab44db39143fb7a64",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "2d1f7b65f5deedd2e6b09fdc6ea27f8375f24b45",
              "lessThan": "d3f0a606b9f278ece8a0df626ded9c4044071235",
              "versionType": "git"
            }
          ],
          "programFiles": [
            "drivers/md/dm-cache-policy-smq.c"
          ],
          "defaultStatus": "unaffected"
        },
        {
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "product": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.10.258",
              "lessThan": "5.10.259",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "5.15.209",
              "lessThan": "5.15.210",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "6.1.175",
              "lessThan": "6.1.176",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "6.6.141",
              "lessThan": "6.6.143",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "6.12.91",
              "lessThan": "6.12.94",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "6.18.33",
              "lessThan": "6.18.36",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "7.0.10",
              "lessThan": "7.0.13",
              "versionType": "semver"
            }
          ],
          "programFiles": [
            "drivers/md/dm-cache-policy-smq.c"
          ],
          "defaultStatus": "unaffected"
        }
      ]
    }
  ],
  "published": "2026-06-25T09:16:44.530",
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/03ffe1112ed88bb3a9bd0b971549bf4d64bfc59a",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/13da856c86fb8c2ccab95034fd77da1bb2c2a17c",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/42ff6774ecd9d7f70d599cb71ff64373a1da4948",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/b4892561552d671bd8c4da5ebb70e9fbb1ec446e",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/c242c7af2aecf0b538b8623bdb86b8b441da38d9",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/c57570fba24016ec25ec046ab44db39143fb7a64",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/d3f0a606b9f278ece8a0df626ded9c4044071235",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/d886945fcb0f8c9dc6b39928d7a96c95c587346c",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "vulnStatus": "Analyzed",
  "weaknesses": [
    {
      "type": "Primary",
      "source": "nvd@nist.gov",
      "description": [
        {
          "lang": "en",
          "value": "NVD-CWE-noinfo"
        }
      ]
    }
  ],
  "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."
    }
  ],
  "lastModified": "2026-07-08T04:02:08.980",
  "configurations": [
    {
      "nodes": [
        {
          "negate": false,
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "4AFF4889-6272-45B8-83E6-40947CF7C045",
              "versionEndExcluding": "6.6.143",
              "versionStartIncluding": "6.6.141"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "EB3D103E-DB23-43C8-AF24-8F145E9C9E88",
              "versionEndExcluding": "6.12.94",
              "versionStartIncluding": "6.12.91"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "C7D4EF57-A04D-41BB-B0BA-9049C50D800A",
              "versionEndExcluding": "6.18.36",
              "versionStartIncluding": "6.18.33"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "F1B096A9-C4FA-4C91-BDD2-CBF0B2D0C3EE",
              "versionEndExcluding": "7.0.13",
              "versionStartIncluding": "7.0.10"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:5.10.258:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "E06CB1F8-0038-48C3-B07B-5AB49978945D"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:5.15.209:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "06EE5040-044C-46B4-B840-27D15DB507EC"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:6.1.175:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "999EB52F-155A-4FDB-900D-33D8421E7009"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "B1EF7059-E670-45F4-B422-54C40FA86390"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "0D38F0BF-A728-4133-A358-D44A2F7EE6D6"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "EC732D08-5F7B-46D9-B154-E60C7F4F0A97"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "E5910A9D-F60A-409A-B486-FE66BFEBA9B9"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "81DFF19E-9CF8-49C6-8C36-1E4038622933"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "B0E8FC71-3952-444C-83E9-718DBBBEC615"
            }
          ],
          "operator": "OR"
        }
      ]
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}