CVE-2025-71161
dm-verity: disable recursive forward error correction
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < 8b821ca892cfeeaf0bedc9fc72717294f67144d5; >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < e227d2b229c7529bd98d348efc55262ccf24ab35; >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < 897d9006e75f46f8bd7df78faa424327ae6a4bcf; >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < 4220cb37406915c926c0e4a3dbab77cd9cceeb1e; >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < 232948cf600fba69aff36b25d85ef91a73a35756; >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < d9f3e47d3fae0c101d9094bc956ed24e7a0ee801
- Anyone running Linux 4.5
Vulnerability facts
- Affected
- Linux >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < 8b821ca892cfeeaf0bedc9fc72717294f67144d5; >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < e227d2b229c7529bd98d348efc55262ccf24ab35; >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < 897d9006e75f46f8bd7df78faa424327ae6a4bcf; >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < 4220cb37406915c926c0e4a3dbab77cd9cceeb1e; >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < 232948cf600fba69aff36b25d85ef91a73a35756; >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < d9f3e47d3fae0c101d9094bc956ed24e7a0ee801; Linux 4.5
- Fixed in
- Linux 8b821ca892cfeeaf0bedc9fc72717294f67144d5, Linux 897d9006e75f46f8bd7df78faa424327ae6a4bcf, Linux 4220cb37406915c926c0e4a3dbab77cd9cceeb1e, Linux 232948cf600fba69aff36b25d85ef91a73a35756
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.58% chance of exploitation in 30 days (percentile 41, 2026-11-26)
- CWE
- CWE-193, CWE-400
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: dm-verity: disable recursive forward error correction There are two problems with the recursive correction: 1. It may cause denial-of-service. In fec_read_bufs, there is a loop that has 253 iterations. For each iteration, we may call verity_hash_for_block recursively. There is a limit of 4 nested recursions - that means that there may be at most 253^4 (4 billion) iterations. Red Hat QE team actually created an image that pushes dm-verity to this limit - and this image just makes the udev-worker process get stuck in the 'D' state. 2. It doesn't work. In fec_read_bufs we store data into the variable "fio->bufs", but fio bufs is shared between recursive invocations, if "verity_hash_for_block" invoked correction recursively, it would overwrite partially filled fio->bufs.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < 8b821ca892cfeeaf0bedc9fc72717294f67144d5; >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < e227d2b229c7529bd98d348efc55262ccf24ab35; >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < 897d9006e75f46f8bd7df78faa424327ae6a4bcf; >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < 4220cb37406915c926c0e4a3dbab77cd9cceeb1e; >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < 232948cf600fba69aff36b25d85ef91a73a35756; >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < d9f3e47d3fae0c101d9094bc956ed24e7a0ee801 | — | cvelist |
| Linux | 4.5 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-71161. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-71161.md Affected: Linux >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < 8b821ca892cfeeaf0bedc9fc72717294f67144d5; >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < e227d2b229c7529bd98d348efc55262ccf24ab35; >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < 897d9006e75f46f8bd7df78faa424327ae6a4bcf; >= a739ff3f543afbb4a041c16… Fixed in: Linux 8b821ca892cfeeaf0bedc9fc72717294f67144d5, Linux 897d9006e75f46f8bd7df78faa424327ae6a4bcf, Linux 4220cb37406915c926c0e4a3dbab77cd9cceeb1e, Linux 232948cf600fba69aff36b25d85ef91a73a35756 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
Other
- https://git.kernel.org/stable/c/8b821ca892cfeeaf0bedc9fc72717294f67144d5
- https://git.kernel.org/stable/c/e227d2b229c7529bd98d348efc55262ccf24ab35
- https://git.kernel.org/stable/c/897d9006e75f46f8bd7df78faa424327ae6a4bcf
- https://git.kernel.org/stable/c/4220cb37406915c926c0e4a3dbab77cd9cceeb1e
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html
FAQ
Is CVE-2025-71161 being exploited?
There is no confirmed exploitation: CVE-2025-71161 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.58% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-71161?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2025-71161?
Linux >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < 8b821ca892cfeeaf0bedc9fc72717294f67144d5; >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < e227d2b229c7529bd98d348efc55262ccf24ab35; >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < 897d9006e75f46f8bd7df78faa424327ae6a4bcf; >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < 4220cb37406915c926c0e4a3dbab77cd9cceeb1e; >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < 232948cf600fba69aff36b25d85ef91a73a35756; >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < d9f3e47d3fae0c101d9094bc956ed24e7a0ee801; Linux 4.5.
Is there a fix for CVE-2025-71161?
Yes. Fixed in Linux 8b821ca892cfeeaf0bedc9fc72717294f67144d5, Linux 897d9006e75f46f8bd7df78faa424327ae6a4bcf, Linux 4220cb37406915c926c0e4a3dbab77cd9cceeb1e, Linux 232948cf600fba69aff36b25d85ef91a73a35756. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-71161?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.