LiveActive security incident?Get immediate response
CVE Record

CVE-2025-39735: jfs: fix slab-out-of-bounds read in ea_get()

In the Linux kernel, the following vulnerability has been resolved: jfs: fix slab-out-of-bounds read in ea_get() During the "size_check" label in ea_get(), the code checks if the extended attribute list (xattr) size matches ea_size. If not, it logs "ea_get: invalid extended attribute" and calls print_hex_dump(). Here, EALIST_SIZE(ea_buf->xattr) returns 4110417968, which exceeds INT_MAX (2,147,483,647). Then ea_size is clamped: int size = clamp_t(int, ea_size, 0, EALIST_SIZE(ea_buf->xattr)); Although clamp_t aims to bound ea_size between 0 and 4110417968, the upper limit is treated as an int, causing an overflow above 2^31 - 1. This leads "size" to wrap around and become negative (-184549328). The "size" is then passed to print_hex_dump() (called "len" in print_hex_dump()), it is passed as type size_t (an unsigned type), this is then stored inside a variable called "int remaining", which is then assigned to "int linelen" which is then passed to hex_dump_to_buffer(). In print_hex_dump() the for loop, iterates through 0 to len-1, where len is 18446744073525002176, calling hex_dump_to_buffer() on each iteration: for (i = 0; i < len; i += rowsize) { linelen = min(remaining, rowsize); remaining -= rowsize; hex_dump_to_buffer(ptr + i, linelen, rowsize, groupsize, linebuf, sizeof(linebuf), ascii); ... } The expected stopping condition (i < len) is effectively broken since len is corrupted and very large. This eventually leads to the "ptr+i" being passed to hex_dump_to_buffer() to get closer to the end of the actual bounds of "ptr", eventually an out of bounds access is done in hex_dump_to_buffer() in the following for loop: for (j = 0; j < len; j++) { if (linebuflen < lx + 2) goto overflow2; ch = ptr[j]; ... } To fix this we should validate "EALIST_SIZE(ea_buf->xattr)" before it is utilised.

HighCVSS 7.1Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

This is a Linux kernel flaw in JFS extended-attribute handling. A local, low-privileged user could trigger an out-of-bounds kernel read, potentially exposing sensitive memory or causing a crash. It is not described as remotely exploitable, and the bundle does not show active exploitation.

Executive priority

Treat as a high-priority kernel maintenance issue for multi-user Linux and shared workload environments. It is not an internet-facing emergency based on the supplied evidence, but delayed patching leaves local privilege boundaries exposed to memory disclosure or kernel instability.

Technical view

In jfs ea_get(), an unchecked EALIST_SIZE value can exceed INT_MAX. clamp_t(int, ...) can overflow to a negative size that later becomes a very large size_t passed into print_hex_dump(), allowing slab out-of-bounds reads in hex_dump_to_buffer().

Likely exposure

Exposure is most likely on Linux systems running affected kernels where JFS is available and local users or processes can interact with JFS extended attributes. Validate through kernel package versions and vendor advisories; the bundle does not identify specific distributions beyond Debian LTS references.

Exploitation context

The CVSS vector is local, low-complexity, low-privilege, and no user interaction. KEV is false in the bundle, so there is no cited evidence of known active exploitation. Practical impact centers on confidentiality and availability, not integrity.

Researcher notes

The root issue is signed integer overflow during size validation before diagnostic hex dumping. Source evidence supports CWE-125 and CVSS 7.1. Version data in the bundle is mechanically flattened, so use kernel commits and downstream advisories for precise affected and fixed package mapping.

Mitigation direction

  • Apply vendor kernel updates that include the referenced Linux stable fixes.
  • Review Debian LTS advisories if managing Debian-based systems.
  • Prioritize systems allowing local users, containers, or untrusted workloads.
  • Avoid mounting untrusted JFS file systems until patched.
  • Check kernel vendor guidance for supported fixed versions.

Validation and detection

  • Inventory Linux kernel versions across servers and endpoints.
  • Identify systems with JFS support enabled or JFS file systems mounted.
  • Compare installed kernels with vendor fixed-version advisories.
  • Confirm Debian LTS systems include the referenced DLA kernel updates.
  • Record compensating controls where patching is delayed.
Prepared
Confidence
high
Sources
12

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-125: 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-39735 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.1 (3.1)
Known Exploited
No
Published

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

SSVC decision data

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

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.1CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H1.85.2CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

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

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/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
LinuxLinux6e39b681d1eb16f408493bf5023788b57f68998c, bbf3f1fd8a0ac7df1db36a9b9e923041a14369f2, 27a93c45e16ac25a0e2b5e5668e2d1beca56a478, 9c356fc32a4480a2c0e537a05f2a8617633ddad0, 9353cdf28d4c5c0ff19c5df7fbf81ea774de43a4, 8c505ebeed8045b488b2e60b516c752b851f8437, d9f9d96136cba8fedd647d2c024342ce090133c2, d9f9d96136cba8fedd647d2c024342ce090133c2, d9f9d96136cba8fedd647d2c024342ce090133c2, 4ea25fa8747fb8b1e5a11d87b852023ecf7ae420, 676a787048aafd4d1b38a522b05a9cc77e1b0a33, 5.4.287, 5.10.231, 5.15.174, 6.1.120, 6.6.64, 6.12.2, 4.19.325, 6.11.11unaffected
LinuxLinux6.13, 0, 5.4.292, 5.10.236, 5.15.180, 6.1.134, 6.6.87, 6.12.23, 6.13.11, 6.14.2, 6.15affected
Weakness

CWE details

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

CWE-125 · source CWE mapping

Out-of-bounds Read

Out-of-bounds Read represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.