CVE-2025-71161
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-193CVE-2025-71161 is classified as CWE-193
See CWE-193 on MITRE CWE for full details on this weakness type.
Affected versions
Linux kernel versions
4.5
and later are affected. Fixed in
5.15.209,
6.1.167,
6.6.130,
6.12.78,
6.18.6,
6.19
and their respective stable series.
References
The following references provide additional information about CVE-2025-71161 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/232948cf600fba69aff36b25d85ef91a73a35756
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4220cb37406915c926c0e4a3dbab77cd9cceeb1e
-
PatchKernel patch commithttps://git.kernel.org/stable/c/897d9006e75f46f8bd7df78faa424327ae6a4bcf
Frequently asked questions
-
What is CVE-2025-71161?
CVE-2025-71161 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 4.5 onward and has been patched in 5.15.209, 6.1.167, 6.6.130 and others. CVE-2025-71161 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-71161?
CVE-2025-71161 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2025-71161?
Yes — CVE-2025-71161 has been patched. Fixed versions include 5.15.209, 6.1.167, 6.6.130 and others. If you are running Linux kernel 4.5 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-71161 actively exploited?
No — CVE-2025-71161 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.