{"id":"CVE-2025-71161","aliases":["CVE-2025-71161"],"related":[],"kind":"vulnerability","state":"published","title":"dm-verity: disable recursive forward error correction","summary":"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->bufs\", but fio bufs is shared between recursive invocations, if\n\"verity_hash_for_block\" invoked correction recursively, it would\noverwrite partially filled fio->bufs.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->bufs\", but fio bufs is shared between recursive invocations, if\n\"verity_hash_for_block\" invoked correction recursively, it would\noverwrite partially filled fio->bufs.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ndm-verity: deshabilitar la corrección de errores hacia adelante recursiva\n\nHay dos problemas con la corrección recursiva:\n\n1. Puede causar una denegación de servicio. En fec_read_bufs, hay un bucle que tiene 253 iteraciones. Para cada iteración, podemos llamar a verity_hash_for_block recursivamente. Hay un límite de 4 recursiones anidadas, lo que significa que puede haber como máximo 253^4 (4 mil millones) iteraciones. El equipo de QE de Red Hat creó una imagen que lleva a dm-verity a este límite, y esta imagen simplemente hace que el proceso udev-worker se quede atascado en el estado 'D'.\n\n2. No funciona. En fec_read_bufs almacenamos datos en la variable 'fio-&gt;bufs', pero fio bufs se comparte entre invocaciones recursivas; si 'verity_hash_for_block' invocara la corrección recursivamente, sobrescribiría los fio-&gt;bufs parcialmente llenos.","source":"nvd"}],"published":"2026-01-23T15:23:59.464Z","modified":"2026-11-10T13:18:07.253Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-193","CWE-400"],"affected":[{"ranges":[{"type":"git","introduced":"a739ff3f543afbb4a041c16cd0182c8e8d366e70","fixed":"8b821ca892cfeeaf0bedc9fc72717294f67144d5","status":"affected"},{"type":"git","introduced":"a739ff3f543afbb4a041c16cd0182c8e8d366e70","fixed":"e227d2b229c7529bd98d348efc55262ccf24ab35","status":"affected"},{"type":"git","introduced":"a739ff3f543afbb4a041c16cd0182c8e8d366e70","fixed":"897d9006e75f46f8bd7df78faa424327ae6a4bcf","status":"affected"},{"type":"git","introduced":"a739ff3f543afbb4a041c16cd0182c8e8d366e70","fixed":"4220cb37406915c926c0e4a3dbab77cd9cceeb1e","status":"affected"},{"type":"git","introduced":"a739ff3f543afbb4a041c16cd0182c8e8d366e70","fixed":"232948cf600fba69aff36b25d85ef91a73a35756","status":"affected"},{"type":"git","introduced":"a739ff3f543afbb4a041c16cd0182c8e8d366e70","fixed":"d9f3e47d3fae0c101d9094bc956ed24e7a0ee801","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.5","status":"unaffected"},{"type":"semver","introduced":"5.15.209","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.167","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.130","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.78","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.6","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.5","fixed":"6.18.6"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/8b821ca892cfeeaf0bedc9fc72717294f67144d5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e227d2b229c7529bd98d348efc55262ccf24ab35","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/897d9006e75f46f8bd7df78faa424327ae6a4bcf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4220cb37406915c926c0e4a3dbab77cd9cceeb1e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/232948cf600fba69aff36b25d85ef91a73a35756","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d9f3e47d3fae0c101d9094bc956ed24e7a0ee801","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-16T15:05:59.236Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-71161","url":"https://www.cve.org/CVERecord?id=CVE-2025-71161","licence":"CVE Terms of Use","modified":"2026-11-10T12:39:18.126Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-71161","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71161","licence":"Public domain","modified":"2026-11-10T13:18:07.253Z"}],"updatedAt":"2026-11-25T22:59:10.842Z","epss":{"score":0.00468,"percentile":0.42156,"date":"2026-12-01T12:00:22.000Z"}}