LiveActive security incident?Get immediate response
CVE Record

CVE-2025-68264: ext4: refresh inline data size before write operations

In the Linux kernel, the following vulnerability has been resolved: ext4: refresh inline data size before write operations The cached ei->i_inline_size can become stale between the initial size check and when ext4_update_inline_data()/ext4_create_inline_data() use it. Although ext4_get_max_inline_size() reads the correct value at the time of the check, concurrent xattr operations can modify i_inline_size before ext4_write_lock_xattr() is acquired. This causes ext4_update_inline_data() and ext4_create_inline_data() to work with stale capacity values, leading to a BUG_ON() crash in ext4_write_inline_data(): kernel BUG at fs/ext4/inline.c:1331! BUG_ON(pos + len > EXT4_I(inode)->i_inline_size); The race window: 1. ext4_get_max_inline_size() reads i_inline_size = 60 (correct) 2. Size check passes for 50-byte write 3. [Another thread adds xattr, i_inline_size changes to 40] 4. ext4_write_lock_xattr() acquires lock 5. ext4_update_inline_data() uses stale i_inline_size = 60 6. Attempts to write 50 bytes but only 40 bytes actually available 7. BUG_ON() triggers Fix this by recalculating i_inline_size via ext4_find_inline_data_nolock() immediately after acquiring xattr_sem. This ensures ext4_update_inline_data() and ext4_create_inline_data() work with current values that are protected from concurrent modifications. This is similar to commit a54c4613dac1 ("ext4: fix race writing to an inline_data file while its xattrs are changing") which fixed i_inline_off staleness. This patch addresses the related i_inline_size staleness issue.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2025-68264 is a Linux kernel ext4 filesystem flaw where a race during file writes and extended-attribute changes can make the kernel use stale inline-data size information. The documented result is a kernel BUG crash, so the business impact is primarily availability loss on affected Linux systems.

Executive priority

Treat this as a reliability and service-availability issue. Patch through normal kernel maintenance, with accelerated handling for shared Linux infrastructure, container hosts, and operational technology environments where an unexpected kernel crash could disrupt business operations.

Technical view

In ext4 inline-data handling, ei->i_inline_size can become stale after an initial size check but before ext4_update_inline_data() or ext4_create_inline_data() uses it. Concurrent xattr modification can shrink available inline capacity, causing ext4_write_inline_data() to hit BUG_ON(pos + len > i_inline_size). The fix recalculates inline data state after acquiring xattr_sem.

Likely exposure

Exposure is most likely on Linux systems using ext4 where local processes, containers, or workloads can write inline-data files and modify extended attributes. The bundle lists Linux as affected, but does not provide distribution-specific package names or a complete version-to-fix mapping.

Exploitation context

The source bundle does not show CISA KEV listing or active exploitation. The described trigger is a race between write operations and xattr changes, leading to a crash rather than documented privilege escalation or data theft. Remote exploitability is not established by the provided sources.

Researcher notes

The evidence supports an ext4 race condition fixed by refreshing inline data size after xattr_sem acquisition. Severity, CVSS, CWE, and exploitation details are absent in the bundle. Avoid claiming more than local crash potential unless vendor advisories add stronger impact analysis.

Mitigation direction

  • Apply vendor-provided Linux kernel updates containing the referenced ext4 fixes.
  • Check distribution advisories for the corrected kernel package in your supported branch.
  • For Siemens environments, review SSA-019113 for product-specific guidance.
  • Prioritize shared, multi-tenant, or container hosts using ext4.
  • If no update is available, follow vendor mitigation guidance rather than ad hoc workarounds.

Validation and detection

  • Inventory Linux hosts and identify ext4 filesystems in use.
  • Check running kernel versions against vendor advisories and referenced stable commits.
  • Review kernel logs for BUG_ON entries mentioning fs/ext4/inline.c.
  • Confirm whether untrusted local workloads can modify xattrs on ext4 files.
  • Verify Siemens product exposure against SSA-019113 where applicable.
Prepared
Confidence
medium
Sources
11

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.

cve · low confidence lookup

CVE-2025-68264 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
Unknown
CVSS
Not scored
Known Exploited
No
Published
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.

0CVSS vectors
3Timeline events
2ADP providers
10Source links

SSVC decision data

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

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
other:ssvc
siemens-SADPADP container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux67cf5b09a46f72e048501b84996f2f77bc42e947, 67cf5b09a46f72e048501b84996f2f77bc42e947, 67cf5b09a46f72e048501b84996f2f77bc42e947, 67cf5b09a46f72e048501b84996f2f77bc42e947, 67cf5b09a46f72e048501b84996f2f77bc42e947, 67cf5b09a46f72e048501b84996f2f77bc42e947, 67cf5b09a46f72e048501b84996f2f77bc42e947, 67cf5b09a46f72e048501b84996f2f77bc42e947unaffected
LinuxLinux3.8, 0, 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.62, 6.17.12, 6.18.1, 6.19affected
Weakness

CWE details

No CWE listed

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