CVE-2025-71161
dm-verity: disable recursive forward error correction
Reported by linux · Published January 23, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.79-101.147.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
| Linux | Linux | 8b821ca892cfeeaf0bedc9fc72717294f67144d5, 4.5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | a739ff3f543afbb4a041c16cd0182c8e8d366e70, a739ff3f543afbb4a041c16cd0182c8e8d366e70, a739ff3f543afbb4a041c16cd0182c8e8d366e70 |
| Linux | Linux | 4.5, 0, 5.15.209 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) | 3.1.7, 3.1.6, 3.1.5 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| Linux | Linux | 6.6.130, 6.19, * |
| chainguard | linux-vmware-6.12 | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| chainguard | linux-gcp-6.12 | 0 |
| chainguard | linux-aws-6.12 | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.7, 3.1.6, 3.1.5 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
…and 25 more
Timeline
- Jan 23, 2026 CVE Published
- Jan 24, 2026 EPSS Score (30 in total, the first dated here)
- Jan 31, 2026 Security Advisory (116 in total, the first dated here)
- Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
- Oct 4, 2026 Distribution Patch (114 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-71161
vulnetix vdb fixes CVE-2025-71161
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-71161/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart