{
  "id": "CVE-2025-71161",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-71161",
  "published_at": "2026-01-23T15:23:59.464Z",
  "title": "dm-verity: disable recursive forward error correction",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\ndm-verity: disable recursive forward error correction\n\nThere are two problems with the recursive correction:\n\n1. It may cause denial-of-service. In fec_read_bufs, there is a loop that\nhas 253 iterations. For each iteration, we may call verity_hash_for_block\nrecursively. There is a limit of 4 nested recursions - that means that\nthere may be at most 253^4 (4 billion) iterations. Red Hat QE team\nactually created an image that pushes dm-verity to this limit - and this\nimage just makes the udev-worker process get stuck in the 'D' state.\n\n2. It doesn't work. In fec_read_bufs we store data into the variable\n\"fio-\u003ebufs\", but fio bufs is shared between recursive invocations, if\n\"verity_hash_for_block\" invoked correction recursively, it would\noverwrite partially filled fio-\u003ebufs.",
  "cwe": "CWE-400",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \u003c 8b821ca892cfeeaf0bedc9fc72717294f67144d5",
          "\u003e= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \u003c e227d2b229c7529bd98d348efc55262ccf24ab35",
          "\u003e= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \u003c 897d9006e75f46f8bd7df78faa424327ae6a4bcf",
          "\u003e= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \u003c 4220cb37406915c926c0e4a3dbab77cd9cceeb1e",
          "\u003e= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \u003c 232948cf600fba69aff36b25d85ef91a73a35756",
          "\u003e= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \u003c d9f3e47d3fae0c101d9094bc956ed24e7a0ee801"
        ],
        "fixed_in": [
          "8b821ca892cfeeaf0bedc9fc72717294f67144d5",
          "e227d2b229c7529bd98d348efc55262ccf24ab35",
          "897d9006e75f46f8bd7df78faa424327ae6a4bcf",
          "4220cb37406915c926c0e4a3dbab77cd9cceeb1e",
          "232948cf600fba69aff36b25d85ef91a73a35756",
          "d9f3e47d3fae0c101d9094bc956ed24e7a0ee801"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.5"
        ],
        "fixed_in": [
          "0",
          "5.15.209",
          "6.1.167",
          "6.6.130",
          "6.12.78",
          "6.18.6",
          "6.19"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 8b821ca892cfeeaf0bedc9fc72717294f67144d5 or e227d2b229c7529bd98d348efc55262ccf24ab35 or 897d9006e75f46f8bd7df78faa424327ae6a4bcf or 4220cb37406915c926c0e4a3dbab77cd9cceeb1e or 232948cf600fba69aff36b25d85ef91a73a35756 or d9f3e47d3fae0c101d9094bc956ed24e7a0ee801 or later.",
      "Upgrade Linux to 0 or 5.15.209 or 6.1.167 or 6.6.130 or 6.12.78 or 6.18.6 or 6.19 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
