CVE-2025-38328: jffs2: check jffs2_prealloc_raw_node_refs() result in few other places
Noroxi assessment
Priority: Monitor (action score 22/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.21% (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 042fa922c84b5080401bcd8897d4ac4919d15075, 2b6d96503255a3ed676cd70f8368870c6d6a25c6, 38d767fb4a7766ec2058f97787e4c6e8d10343d6; azl3 kernel 6.6.92.2-2 on Azure Linux 3.0 6.6.96.1-1.
Low priority for now. Upgrade to Linux Linux 042fa922c84b5080401bcd8897d4ac4919d15075, 2b6d96503255a3ed676cd70f8368870c6d6a25c6, 38d767fb4a7766ec2058f97787e4c6e8d10343d6; azl3 kernel 6.6.92.2-2 on Azure Linux 3.0 6.6.96.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: jffs2: check jffs2_prealloc_raw_node_refs() result in few other places Fuzzing hit another invalid pointer dereference due to the lack of checking whether jffs2_prealloc_raw_node_refs() completed successfully. Subsequent logic implies that the node refs have been allocated. Handle that. The code is ready for propagating the error upwards. KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 1 PID: 5835 Comm: syz-executor145 Not tainted 5.10.234-syzkaller #0 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:jffs2_link_node_ref+0xac/0x690 fs/jffs2/nodelist.c:600 Call Trace: jffs2_mark_erased_block fs/jffs2/erase.c:460 [inline] jffs2_erase_pending_blocks+0x688/0x1860 fs/jffs2/erase.c:118 jffs2_garbage_collect_pass+0x638/0x1a00 fs/jffs2/gc.c:253 jffs2_reserve_space+0x3f4/0xad0 fs/jffs2/nodemgmt.c:167 jffs2_write_inode_range+0x246/0xb50 fs/jffs2/write.c:362 jffs2_write_end+0x712/0x1110 fs/jffs2/file.c:302 generic_perform_write+0x2c2/0x500 mm/filemap.c:3347 __generic_file_write_iter+0x252/0x610 mm/filemap.c:3465 generic_file_write_iter+0xdb/0x230 mm/filemap.c:3497 call_write_iter include/linux/fs.h:2039 [inline] do_iter_readv_writev+0x46d/0x750 fs/read_write.c:740 do_iter_write+0x18c/0x710 fs/read_write.c:866 vfs_writev+0x1db/0x6a0 fs/read_write.c:939 do_pwritev fs/read_write.c:1036 [inline] __do_sys_pwritev fs/read_write.c:1083 [inline] __se_sys_pwritev fs/read_write.c:1078 [inline] __x64_sys_pwritev+0x235/0x310 fs/read_write.c:1078 do_syscall_64+0x30/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 Found by Linux Verification Center (linuxtesting.org) with Syzkaller.
- Published
- Jul 10, 2025
- Updated
- Jun 17, 2026
- EPSS
- 0.2% · 12th percentile
- CWE
- CWE-476
Report tools
Action score
22
Monitor
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
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 |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux11.0
- linux linux kernel5.5 and later · before 5.10.239
- linux linux kernel5.11 and later · before 5.15.186
- linux linux kernel5.16 and later · before 6.1.142
- linux linux kernel2.6.18 and later · before 5.4.295
- linux linux kernel6.7 and later · before 6.12.35
- linux linux kernel6.13 and later · before 6.15.4
- linux linux kernel6.2 and later · before 6.6.95
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
- 2.6.18affected
- 2f785402f39b96a077b6e62bf26164bfb8e0c980 and later · before 7e860296d7808de1db175c1eda29f94a2955dcc4affected · git
- 2f785402f39b96a077b6e62bf26164bfb8e0c980 and later · before d96e6451a8d0fe62492d4cc942d695772293c05aaffected · git
- 2f785402f39b96a077b6e62bf26164bfb8e0c980 and later · before f41c625328777f9ad572901ba0b0065bb9c9c1daaffected · git
- 2f785402f39b96a077b6e62bf26164bfb8e0c980 and later · before 38d767fb4a7766ec2058f97787e4c6e8d10343d6affected · git
- 2f785402f39b96a077b6e62bf26164bfb8e0c980 and later · before cd42ddddd70abc7127c12b96c8c85dbd080ea56faffected · git
- 2f785402f39b96a077b6e62bf26164bfb8e0c980 and later · before d1b81776f337a9b997f797c70ac0a26d838a2168affected · git
- 2f785402f39b96a077b6e62bf26164bfb8e0c980 and later · before 042fa922c84b5080401bcd8897d4ac4919d15075affected · git
- 2f785402f39b96a077b6e62bf26164bfb8e0c980 and later · before 2b6d96503255a3ed676cd70f8368870c6d6a25c6affected · git
- before 2.6.18not affected · semver
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.147-1 | 6.1.147-1 |
| Debian:13 | linux | before 6.12.35-1 | 6.12.35-1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- 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
Published before and after this one in the same product
- ← EarlierCVE-2025-38326Jul 10, 2025 · aoe: clean device rq_list in aoedev_downdev()22Monitor
- ← EarlierCVE-2025-38327Jul 10, 2025 · fgraph: Do not enable function_graph tracer when setting funcgraph-args22Monitor
- Later →CVE-2025-38329Jul 10, 2025 · firmware: cs_dsp: Fix OOB memory read access in KUnit test (wmfw info)28Monitor
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 | 042fa922c84b5080401bcd8897d4ac4919d15075 | Vendor (CNA) |
| Linux Linux | 2b6d96503255a3ed676cd70f8368870c6d6a25c6 | Vendor (CNA) |
| Linux Linux | 38d767fb4a7766ec2058f97787e4c6e8d10343d6 | Vendor (CNA) |
| Linux Linux | 7e860296d7808de1db175c1eda29f94a2955dcc4 | Vendor (CNA) |
| Linux Linux | cd42ddddd70abc7127c12b96c8c85dbd080ea56f | Vendor (CNA) |
| Linux Linux | d1b81776f337a9b997f797c70ac0a26d838a2168 | Vendor (CNA) |
| Linux Linux | d96e6451a8d0fe62492d4cc942d695772293c05a | Vendor (CNA) |
| Linux Linux | f41c625328777f9ad572901ba0b0065bb9c9c1da | Vendor (CNA) |
| azl3 kernel 6.6.92.2-2 on Azure Linux 3.0 | 6.6.96.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| debian:linux | 6.1.147-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.
No history yet (it accumulates with the daily EPSS job).
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
- none
- 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
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-476 · NULL Pointer DereferenceCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/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.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (9 more)Show less
- git.kernel.org/stable/c/2b6d96503255a3ed676cd70f8368870c6d6a25c6
- git.kernel.org/stable/c/38d767fb4a7766ec2058f97787e4c6e8d10343d6
- git.kernel.org/stable/c/7e860296d7808de1db175c1eda29f94a2955dcc4
- git.kernel.org/stable/c/cd42ddddd70abc7127c12b96c8c85dbd080ea56f
- git.kernel.org/stable/c/d1b81776f337a9b997f797c70ac0a26d838a2168
- git.kernel.org/stable/c/d96e6451a8d0fe62492d4cc942d695772293c05a
- git.kernel.org/stable/c/f41c625328777f9ad572901ba0b0065bb9c9c1da
- lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- lists.debian.org/debian-lts-announce/2025/10/msg00008.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.