Junglewise Threat Intelligence

CVE-2025-71161: Linux Kernel denial of service in dm-verity FEC

CVE-2025-71161 · Severity: medium · CVSS 5.5 · Published 2026-01-23

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's dm-verity component can allow a local user to cause a system hang or denial-of-service. dm-verity is a tool used to ensure the integrity of disk partitions, often used in Android and other secure Linux distributions. By providing a specially crafted disk image, an attacker can trigger an infinite loop that freezes system processes, potentially disrupting operations or requiring a hard reboot.

Technical details

A vulnerability exists in the dm-verity Forward Error Correction (FEC) implementation where recursive calls in 'fec_read_bufs' can lead to a denial-of-service. The 'verity_hash_for_block' function could be called recursively up to a limit of 4 nested levels, which, combined with a loop of 253 iterations, could result in over 4 billion iterations. This computational exhaustion causes affected processes (such as udev-worker) to enter an uninterruptible sleep ('D' state). Additionally, the shared 'fio->bufs' variable between recursive invocations could lead to data corruption as recursive calls overwrite partially filled buffers. The fix disables recursive FEC by returning an error if the recursion level is greater than zero.

Affected products

  • Linux Linux Kernel 4.5 to 6.18.6

Timeline

  • 2025-11-14: other: Patch authored
  • 2026-01-23: advisory: NVD Published Date

References