# CVE-2025-71161: dm-verity: disable recursive forward error correction

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.58% (percentile 42, 2026-11-28)
- **CWE:** CWE-193, CWE-400
- **Published:** 2026-01-23T15:23:59.464Z
- **Modified:** 2026-11-10T13:18:07.253Z

## Who should check

- Anyone running Linux \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< 8b821ca892cfeeaf0bedc9fc72717294f67144d5; \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< e227d2b229c7529bd98d348efc55262ccf24ab35; \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< 897d9006e75f46f8bd7df78faa424327ae6a4bcf; \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< 4220cb37406915c926c0e4a3dbab77cd9cceeb1e; \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< 232948cf600fba69aff36b25d85ef91a73a35756; \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< d9f3e47d3fae0c101d9094bc956ed24e7a0ee801
- Anyone running Linux 4.5

## 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

- Linux: \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< 8b821ca892cfeeaf0bedc9fc72717294f67144d5; \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< e227d2b229c7529bd98d348efc55262ccf24ab35; \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< 897d9006e75f46f8bd7df78faa424327ae6a4bcf; \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< 4220cb37406915c926c0e4a3dbab77cd9cceeb1e; \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< 232948cf600fba69aff36b25d85ef91a73a35756; \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< d9f3e47d3fae0c101d9094bc956ed24e7a0ee801 (cvelist)
- Linux: 4.5 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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-28).

### 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.

## References

- patch: <https://git.kernel.org/stable/c/232948cf600fba69aff36b25d85ef91a73a35756>
- patch: <https://git.kernel.org/stable/c/d9f3e47d3fae0c101d9094bc956ed24e7a0ee801>
- other: <https://git.kernel.org/stable/c/8b821ca892cfeeaf0bedc9fc72717294f67144d5>
- other: <https://git.kernel.org/stable/c/e227d2b229c7529bd98d348efc55262ccf24ab35>
- other: <https://git.kernel.org/stable/c/897d9006e75f46f8bd7df78faa424327ae6a4bcf>
- other: <https://git.kernel.org/stable/c/4220cb37406915c926c0e4a3dbab77cd9cceeb1e>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-71161>

HTML: <https://flawdb.com/CVE-2025-71161> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-71161>
