Wiz Agents & Workflows are here

CVE-2025-21667
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-21667 is a vulnerability discovered in the Linux kernel affecting the iomap subsystem. The issue was identified and disclosed on January 31, 2025, involving a 64-bit offset truncation bug on 32-bit kernels. Specifically, the vulnerability affects multiple versions of the Linux kernel up to versions 6.1.127, 6.6.74, and 6.12.11 (NVD).

Technical details

The vulnerability occurs in the iomap_write_delalloc_scan() function where a 32-bit position is inadvertently used due to folio_next_index() returning an unsigned long on 32-bit kernels. The issue has been assigned a CVSS v3.1 base score of 5.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. The vulnerability is classified as CWE-835 (Loop with Unreachable Exit Condition - 'Infinite Loop') (NVD, Red Hat).

Impact

The vulnerability can lead to an infinite loop condition when writing to an XFS filesystem on 32-bit kernels. This results in a denial of service through unexpected resource consumption, potentially affecting CPU cycles and system memory, which can significantly impact system availability (Red Hat).

Mitigation and workarounds

The vulnerability has been patched in the Linux kernel. The fix involves replacing the use of folio_next_index() with a combination of folio_pos() and folio_size() to properly handle 64-bit offsets. Updated kernel versions have been released: 6.1.128 and later, 6.6.75 and later, and 6.12.12 and later (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23395CRITICAL9.1
  • Linux KernelLinux Kernel
  • linux-xilinx-zynqmp
NoYesMar 25, 2026
CVE-2026-23399MEDIUM6.5
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-devel-matched
NoYesMar 28, 2026
CVE-2026-23398MEDIUM6.5
  • Linux KernelLinux Kernel
  • kernel-abi-stablelists
NoYesMar 26, 2026
CVE-2026-23397MEDIUM4.4
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesMar 26, 2026
CVE-2026-31788N/AN/A
  • Linux KernelLinux Kernel
  • kernel-devel-matched
NoYesMar 25, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management