LiveActive security incident?Get immediate response
CVE Record

CVE-2025-21667: iomap: avoid avoid truncating 64-bit offset to 32 bits

In the Linux kernel, the following vulnerability has been resolved: iomap: avoid avoid truncating 64-bit offset to 32 bits on 32-bit kernels, iomap_write_delalloc_scan() was inadvertently using a 32-bit position due to folio_next_index() returning an unsigned long. This could lead to an infinite loop when writing to an xfs filesystem.

MediumCVSS 5.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2025-21667 is a Linux kernel availability bug. On some 32-bit systems using XFS, a write operation can hit an infinite loop in kernel filesystem code. The practical concern is service disruption or a hung workload, not data theft or privilege escalation based on the provided sources.

Executive priority

Treat this as a targeted availability risk. It is not a broad remote emergency, but affected 32-bit XFS systems running critical workloads should be updated promptly because a local trigger can cause serious service disruption.

Technical view

The bug is in Linux iomap delayed-allocation scanning. On 32-bit kernels, folio_next_index() returns unsigned long, which can truncate a 64-bit file offset to 32 bits. During XFS writes this can cause iomap_write_delalloc_scan() to loop indefinitely. CVSS is 5.5, local, low complexity, low privilege, availability-only impact.

Likely exposure

Exposure is most likely on 32-bit Linux kernels using XFS where local users or workloads can perform writes. The source bundle lists Linux kernel branches and stable commits, but distribution-specific package mapping must be checked against each vendor advisory.

Exploitation context

The CVE is not listed as KEV in the provided bundle, and no cited source states active exploitation. The CVSS vector indicates local access with low privileges and no user interaction. Evidence supports a denial-of-service scenario rather than remote compromise.

Researcher notes

The key condition is 64-bit offset truncation on 32-bit kernels in iomap_write_delalloc_scan(). Validate exposure through architecture, filesystem, and kernel lineage rather than product name alone. The affected-version evidence is kernel-centric and may require distribution backport review.

Mitigation direction

  • Apply vendor kernel updates containing the referenced stable fixes.
  • Prioritize 32-bit Linux systems using XFS filesystems.
  • Check Debian LTS guidance if running affected Debian kernel packages.
  • If patching is delayed, reduce untrusted local write access on exposed hosts.
  • Schedule reboot or kernel live-patch validation after updating.

Validation and detection

  • Inventory Linux hosts for 32-bit kernels and XFS usage.
  • Map installed kernel packages to vendor advisories for CVE-2025-21667.
  • Confirm the running kernel includes the applicable stable fix.
  • Verify updated hosts have rebooted into the fixed kernel.
  • Review monitoring for filesystem write hangs or kernel availability symptoms.
Prepared
Confidence
medium
Sources
7

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-835: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2025-21667 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
2ADP providers
6Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.5CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H1.83.6CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

5.5Medium
CVSS 3.1 vector shape for CVE-2025-21667Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux38be53c3fd7f4f4bd5de319a323d72f9f6beb16d, f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78, f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78, f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78, 6.1.92unaffected
LinuxLinux6.2, 0, 6.1.127, 6.6.74, 6.12.11, 6.13affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-835 · source CWE mapping

Loop with Unreachable Exit Condition ('Infinite Loop')

Loop with Unreachable Exit Condition ('Infinite Loop') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.