Skip to content
Noroxi
CVE-2025-39735· NVD / CVE Program· CNA Linux

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.1 · v3.1—No exploit Fix available
Published
Apr 18, 2025
Updated
Aug 5, 2026
EPSS
0.3% · 20th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

28

Monitor

Low priority for now.

CVSS
28 / 40 · 7.1 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.3%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
7.1
CNA · Linux
7.1
agree

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
linuxlinux kernel

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • linux linux kernel4.19.325 and later · before 4.20
  • linux linux kernel5.4.287 and later · before 5.4.292
  • linux linux kernel5.10.231 and later · before 5.10.236
  • linux linux kernel5.15.174 and later · before 5.15.180
  • linux linux kernel6.1.120 and later · before 6.1.134
  • linux linux kernel6.6.64 and later · before 6.6.87
  • linux linux kernel6.11.11 and later · before 6.12
  • linux linux kernel6.12.2 and later · before 6.12.23
  • linux linux kernel6.13 and later · before 6.13.11
  • linux linux kernel6.14 and later · before 6.14.2

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.

  • Linux Linux

    • 4ea25fa8747fb8b1e5a11d87b852023ecf7ae420, 676a787048aafd4d1b38a522b05a9cc77e1b0a33, 6.13affected
    • 6e39b681d1eb16f408493bf5023788b57f68998c and later · before 3d6fd5b9c6acbc005e53d0211c7381f566babec1affected · git
    • bbf3f1fd8a0ac7df1db36a9b9e923041a14369f2 and later · before 50afcee7011155933d8d5e8832f52eeee018cfd3affected · git
    • 27a93c45e16ac25a0e2b5e5668e2d1beca56a478 and later · before 78c9cbde8880ec02d864c166bcb4fe989ce1d95faffected · git
    • 9c356fc32a4480a2c0e537a05f2a8617633ddad0 and later · before 46e2c031aa59ea65128991cbca474bd5c0c2ecdbaffected · git
    • 9353cdf28d4c5c0ff19c5df7fbf81ea774de43a4 and later · before a8c31808925b11393a6601f534bb63bac5366babaffected · git
    • 8c505ebeed8045b488b2e60b516c752b851f8437 and later · before 0beddc2a3f9b9cf7d8887973041e36c2d0fa3652affected · git
    • d9f9d96136cba8fedd647d2c024342ce090133c2 and later · before 16d3d36436492aa248b2d8045e75585ebcc2f34daffected · git
    • d9f9d96136cba8fedd647d2c024342ce090133c2 and later · before 5263822558a8a7c0d0248d5679c2dcf4d5cda61faffected · git
    • d9f9d96136cba8fedd647d2c024342ce090133c2 and later · before fdf480da5837c23b146c4743c18de97202fcab37affected · git

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12linuxbefore 6.1.135-16.1.135-1
Debian:13linuxbefore 6.12.25-16.12.25-1

Other highest-scoring records for the same primary product.

  • CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now
  • CVE-2016-5195Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect haKEV
    83Now
  • CVE-2019-13272In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to creKEV
    77This week
  • CVE-2013-6282The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the v6k and v7 ARM platforms do not validate certain addKEV
    77This week
  • CVE-2013-2094The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows loKEV
    77This week

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux0beddc2a3f9b9cf7d8887973041e36c2d0fa3652Vendor (CNA)
Linux Linux16d3d36436492aa248b2d8045e75585ebcc2f34dVendor (CNA)
Linux Linux3d6fd5b9c6acbc005e53d0211c7381f566babec1Vendor (CNA)
Linux Linux4.20Vendor (CNA)
Linux Linux46e2c031aa59ea65128991cbca474bd5c0c2ecdbVendor (CNA)
Linux Linux5.10.236Vendor (CNA)
Linux Linux5.15.180Vendor (CNA)
Linux Linux5.4.292Vendor (CNA)
Linux Linux50afcee7011155933d8d5e8832f52eeee018cfd3Vendor (CNA)
Linux Linux5263822558a8a7c0d0248d5679c2dcf4d5cda61fVendor (CNA)
Linux Linux6.1.134Vendor (CNA)
Linux Linux6.12Vendor (CNA)
Linux Linux6.12.23Vendor (CNA)
Linux Linux6.6.87Vendor (CNA)
Linux Linux78c9cbde8880ec02d864c166bcb4fe989ce1d95fVendor (CNA)
Linux Linuxa8c31808925b11393a6601f534bb63bac5366babVendor (CNA)
Linux Linuxfdf480da5837c23b146c4743c18de97202fcab37Vendor (CNA)
debian:linux6.1.135-1 · Debian:12Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
None
Availability impact
High

Weakness class (CWE)

CWE-125 · Out-of-bounds Read

CVSS vector

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

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

ATT&CK techniques

—

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records