CVE-2025-71161

Source
https://cve.org/CVERecord?id=CVE-2025-71161
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71161.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-71161
Downstream
Related
Published
2026-01-23T15:23:59.464Z
Modified
2026-07-16T03:30:54.908325410Z
Summary
dm-verity: disable recursive forward error correction
Details

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 fecreadbufs, there is a loop that has 253 iterations. For each iteration, we may call verityhashfor_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 fecreadbufs we store data into the variable "fio->bufs", but fio bufs is shared between recursive invocations, if "verityhashfor_block" invoked correction recursively, it would overwrite partially filled fio->bufs.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71161.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a739ff3f543afbb4a041c16cd0182c8e8d366e70
Fixed
8b821ca892cfeeaf0bedc9fc72717294f67144d5
Fixed
e227d2b229c7529bd98d348efc55262ccf24ab35
Fixed
897d9006e75f46f8bd7df78faa424327ae6a4bcf
Fixed
4220cb37406915c926c0e4a3dbab77cd9cceeb1e
Fixed
232948cf600fba69aff36b25d85ef91a73a35756
Fixed
d9f3e47d3fae0c101d9094bc956ed24e7a0ee801

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71161.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.5.0
Fixed
5.15.209
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.167
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.130
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.78
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71161.json"