jfs: fix slab-out-of-bounds read in ea_get()
Noroxi assessment
Priority: Monitor (action score 28/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.29% (FIRST EPSS).
- 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.
- Fixed version: Linux Linux 0beddc2a3f9b9cf7d8887973041e36c2d0fa3652, 16d3d36436492aa248b2d8045e75585ebcc2f34d, 3d6fd5b9c6acbc005e53d0211c7381f566babec1; azl3 kernel 6.6.85.1-4 on Azure Linux 3.0 6.6.92.2-1; cbl2 kernel 5.15.176.3-3 on CBL Mariner 2.0 5.15.180.1-1.
Low priority for now. Upgrade to Linux Linux 0beddc2a3f9b9cf7d8887973041e36c2d0fa3652, 16d3d36436492aa248b2d8045e75585ebcc2f34d, 3d6fd5b9c6acbc005e53d0211c7381f566babec1; azl3 kernel 6.6.85.1-4 on Azure Linux 3.0 6.6.92.2-1; cbl2 kernel 5.15.176.3-3 on CBL Mariner 2.0 5.15.180.1-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Apr 18, 2025
- Updated
- Aug 5, 2026
- EPSS
- 0.2% · 20th percentile
- CWE
- CWE-125
Report tools
Action score
28
Monitor
Low priority for now.
- CVSS
- 28 / 40 · 7.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
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.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_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.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.135-1 | 6.1.135-1 |
| Debian:13 | linux | before 6.12.25-1 | 6.12.25-1 |
Same product
linux: all recordsOther 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 KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
- 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 haKEV83Now
Published before and after this one in the same product
- ← EarlierCVE-2025-38637Apr 18, 2025 · net_sched: skbprio: Remove overly strict queue assertions22Monitor
- ← EarlierCVE-2025-39728Apr 18, 2025 · clk: samsung: Fix UBSAN panic in samsung_clk_init()22Monitor
- Later →CVE-2025-39755Apr 18, 2025 · staging: gpib: Fix cb7210 pcmcia Oops22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 0beddc2a3f9b9cf7d8887973041e36c2d0fa3652 | Vendor (CNA) |
| Linux Linux | 16d3d36436492aa248b2d8045e75585ebcc2f34d | Vendor (CNA) |
| Linux Linux | 3d6fd5b9c6acbc005e53d0211c7381f566babec1 | Vendor (CNA) |
| Linux Linux | 4.20 | Vendor (CNA) |
| Linux Linux | 46e2c031aa59ea65128991cbca474bd5c0c2ecdb | Vendor (CNA) |
| Linux Linux | 5.10.236 | Vendor (CNA) |
| Linux Linux | 5.15.180 | Vendor (CNA) |
| Linux Linux | 5.4.292 | Vendor (CNA) |
| Linux Linux | 50afcee7011155933d8d5e8832f52eeee018cfd3 | Vendor (CNA) |
| Linux Linux | 5263822558a8a7c0d0248d5679c2dcf4d5cda61f | Vendor (CNA) |
| Linux Linux | 6.1.134 | Vendor (CNA) |
| Linux Linux | 6.12 | Vendor (CNA) |
| Linux Linux | 6.12.23 | Vendor (CNA) |
| Linux Linux | 6.6.87 | Vendor (CNA) |
| Linux Linux | 78c9cbde8880ec02d864c166bcb4fe989ce1d95f | Vendor (CNA) |
| Linux Linux | a8c31808925b11393a6601f534bb63bac5366bab | Vendor (CNA) |
| Linux Linux | fdf480da5837c23b146c4743c18de97202fcab37 | Vendor (CNA) |
| azl3 kernel 6.6.85.1-4 on Azure Linux 3.0 | 6.6.92.2-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.176.3-3 on CBL Mariner 2.0 | 5.15.180.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| debian:linux | 6.1.135-1 · Debian:12 | Package 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.
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.
Credits
All researchersFinders, 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 ReadCVSS 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.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- git.kernel.org/stable/c/16d3d36436492aa248b2d8045e75585ebcc2f34d
- git.kernel.org/stable/c/3d6fd5b9c6acbc005e53d0211c7381f566babec1
- git.kernel.org/stable/c/46e2c031aa59ea65128991cbca474bd5c0c2ecdb
- git.kernel.org/stable/c/50afcee7011155933d8d5e8832f52eeee018cfd3
- git.kernel.org/stable/c/5263822558a8a7c0d0248d5679c2dcf4d5cda61f
- git.kernel.org/stable/c/78c9cbde8880ec02d864c166bcb4fe989ce1d95f
- git.kernel.org/stable/c/a8c31808925b11393a6601f534bb63bac5366bab
- git.kernel.org/stable/c/fdf480da5837c23b146c4743c18de97202fcab37
- lists.debian.org/debian-lts-announce/2025/05/msg00030.html
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.