LiveActive security incident?Get immediate response
CVE Record

CVE-2025-38697: jfs: upper bound check of tree index in dbAllocAG

In the Linux kernel, the following vulnerability has been resolved: jfs: upper bound check of tree index in dbAllocAG When computing the tree index in dbAllocAG, we never check if we are out of bounds realative to the size of the stree. This could happen in a scenario where the filesystem metadata are corrupted.

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A flaw in Linux's JFS filesystem code can use an invalid tree index when filesystem metadata is corrupted. Successful triggering could compromise confidentiality, integrity, and availability. The issue requires local access and applies primarily where JFS is enabled or used.

Executive priority

Treat as a high-priority kernel maintenance issue where JFS is used, particularly on multi-user systems or systems handling external storage. Patch through normal emergency or accelerated maintenance. Lower the priority only after confirming JFS is neither enabled nor reachable.

Technical view

CVE-2025-38697 affects dbAllocAG in the Linux JFS implementation. A computed tree index was not checked against the stree upper bound, allowing out-of-bounds behavior when processing corrupted filesystem metadata. The supplied CVSS 3.1 score is 7.8 with local, low-complexity, low-privilege attack conditions and high impacts.

Likely exposure

Prioritize Linux systems that run an affected kernel and mount or process JFS filesystems, especially untrusted or potentially corrupted volumes. Systems without JFS use are less likely to reach the vulnerable path. The supplied version data is complex, so confirm exposure against distribution or vendor advisories.

Exploitation context

The source bundle does not establish active exploitation, and the CVE is not listed as KEV. The CVSS vector indicates local access and low privileges, while the description identifies corrupted filesystem metadata as the triggering condition. Public sources supplied here do not clarify reliable exploitability beyond that condition.

Researcher notes

The defect is an absent upper-bound check for the tree index computed by dbAllocAG relative to stree size. Corrupted metadata can drive the index out of bounds. The supplied material does not identify a CWE, observed exploitation, public proof of concept, or precise consequences demonstrated in practice.

Mitigation direction

  • Install a vendor-supported kernel containing the cited JFS bounds-check fix.
  • Follow Linux distribution or appliance-vendor advisories for the correct fixed package.
  • Restrict mounting or processing of untrusted JFS volumes until patched.
  • Reduce JFS use where it is unnecessary and operationally safe to do so.

Validation and detection

  • Inventory kernel versions and identify systems where JFS is enabled or mounted.
  • Compare installed kernel packages with current distribution or vendor advisories.
  • Confirm the deployed kernel includes the applicable cited stable-tree fix.
  • Review storage workflows for untrusted or corrupted JFS images and media.
Prepared
Confidence
medium
Sources
5

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-38697 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
High
CVSS
7.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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
13Source links

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
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9Linux

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2025-38697Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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

CVECVE Program Container
siemens-SADPADP container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2unaffected
LinuxLinux2.6.12, 0, 5.4.297, 5.10.241, 5.15.190, 6.1.149, 6.6.103, 6.12.43, 6.15.11, 6.16.2, 6.17affected
Weakness

CWE details

No CWE listed

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