
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-71161 is a denial-of-service vulnerability in the Linux kernel's dm-verity module caused by flawed recursive forward error correction (FEC) logic. It affects Linux kernel versions 4.5 through 6.18.5 (fixed in 6.18.6). The vulnerability was disclosed on January 23, 2026, and is classified as CVSS v3.1 base score 5.5 (Medium) with a local attack vector requiring low privileges (Red Hat Advisory, Red Hat Bugzilla).
The vulnerability (CWE-193: Off-by-one Error) stems from two compounding defects in the fec_read_bufs function within the dm-verity module. First, a loop with up to 253 iterations may recursively call verity_hash_for_block, and with a recursion depth limit of 4, this can produce up to 253^4 (~4 billion) total iterations, causing the udev-worker process to enter an uninterruptible 'D' (disk sleep) state. Second, the shared buffer fio->bufs is not protected across recursive invocations — when verity_hash_for_block triggers recursive correction, it overwrites partially filled buffer data, causing both functional failure and potential data corruption in the FEC path. Exploitation requires a locally accessible, specially crafted dm-verity image (Red Hat Bugzilla, Kernel Patch).
Successful exploitation causes affected processes (notably udev-worker) to become stuck in an uninterruptible sleep state, effectively freezing system availability without any impact to confidentiality or integrity. A local attacker with low privileges can craft a malicious dm-verity image to trigger this condition, potentially disrupting device management and system operations. The vulnerability does not enable privilege escalation, code execution, or data exfiltration (Red Hat Advisory, Red Hat Bugzilla).
verity_hash_for_block to invoke FEC correction recursively up to 4 levels deep, with each level iterating up to 253 times.fec_read_bufs to be invoked.udev-worker process to enter an uninterruptible 'D' state and hang, degrading system availability (Red Hat Bugzilla).udev-worker) stuck in uninterruptible 'D' (disk sleep) state for extended periods, visible via ps aux or top output.dmesg, /var/log/kern.log) may show dm-verity or FEC-related warnings or stall messages; system logs may record hung task warnings referencing fec_read_bufs or verity_hash_for_block.Apply kernel patches available in Linux kernel version 6.18.6 and later, which disable recursive forward error correction in dm-verity. Multiple stable-branch patches have been released via the kernel stable repository (Kernel Patch, Kernel Patch). Downstream distributions including Debian, Amazon Linux 2023, and SUSE have released updated kernel packages. If immediate patching is not feasible, restrict local system access to trusted users only and consider disabling dm-verity if it is not operationally required (Red Hat Advisory).
Red Hat's QE team was credited with discovering and demonstrating the vulnerability by constructing a proof-of-concept image that triggers the recursive FEC limit, leading to the upstream kernel fix. The issue was tracked in Red Hat Bugzilla (Bug 2432401) and the upstream advisory was published via the linux-cve-announce mailing list. Downstream distributions including Debian (DSA-6238-1, DSA-6243-1, DLA-4561-1), Amazon Linux 2023, SUSE, and Yocto Project have all issued security advisories and updated kernel packages (Red Hat Bugzilla, Debian DSA).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."