CVE-2025-71161

dm-verity: disable recursive forward error correction

7.5 high EPSS 0.47%

Published 23 Jan 2026 Updated 10 Nov 2026 CNA: Linux

Check your servers for CVE-2025-71161

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-71161 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.5 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.47%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 42.1% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
partial: limited control or limited data

Weakness

  • CWE-400 Uncontrolled Resource Consumption

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from a739ff3f543afbb4a041c16cd0182c8e8d366e70, before 8b821ca892cfeeaf0bedc9fc72717294f67144d5
affected from a739ff3f543afbb4a041c16cd0182c8e8d366e70, before e227d2b229c7529bd98d348efc55262ccf24ab35
affected from a739ff3f543afbb4a041c16cd0182c8e8d366e70, before 897d9006e75f46f8bd7df78faa424327ae6a4bcf
affected from a739ff3f543afbb4a041c16cd0182c8e8d366e70, before 4220cb37406915c926c0e4a3dbab77cd9cceeb1e
affected from a739ff3f543afbb4a041c16cd0182c8e8d366e70, before 232948cf600fba69aff36b25d85ef91a73a35756
affected from a739ff3f543afbb4a041c16cd0182c8e8d366e70, before d9f3e47d3fae0c101d9094bc956ed24e7a0ee801
Other versions: unaffected
Linux
affected 4.5
unaffected before 4.5
unaffected from 5.15.209 up to and including 5.15.*
unaffected from 6.1.167 up to and including 6.1.*
unaffected from 6.6.130 up to and including 6.6.*
unaffected from 6.12.78 up to and including 6.12.*
unaffected from 6.18.6 up to and including 6.18.*
unaffected 6.19 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-71161 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-71161

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-71161
trivy image --scanners vuln IMAGE | grep CVE-2025-71161

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-71161 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.