Junglewise Threat Intelligence

CVE-2025-38063: Linux Kernel Device Mapper unconditional IO throttling

CVE-2025-38063 · Severity: medium · CVSS 5.5 · Published 2025-06-18

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's Device Mapper (DM) component can cause system performance issues or instability. The issue occurs when certain storage operations are incorrectly slowed down (throttled), potentially leading to a denial-of-service condition where the system becomes unresponsive during heavy disk activity. This affects systems using specific storage configurations like LVM or software RAID.

Technical details

A vulnerability in the Linux kernel's Device Mapper (DM) layer involves unconditional I/O throttling during REQ_PREFLUSH operations. When a bio with REQ_PREFLUSH is submitted, the __send_empty_flush() function generates a flush_bio that is incorrectly throttled by wbt_wait() in the Writeback Throttling (WBT) subsystem. This occurs even when the underlying filesystem (such as XFS) explicitly requests that metadata I/O not be throttled. An attacker with local access could potentially trigger heavy I/O patterns that exploit this behavior to cause a denial-of-service (DoS) by stalling critical kernel worker threads. The fix involves conditionally adding the REQ_IDLE flag to flush_bio.bi_opf to bypass WBT throttling.

Affected products

  • Linux Linux Kernel up to 6.1.141, 6.2 to 6.6.93, 6.7 to 6.12.31, 6.13 to 6.14.9

Timeline

  • 2025-06-18: disclosed: CVE published and patched in various stable branches.

References

Related threats