CVE-2025-38194jffs2: check that raw node were preallocated before writing summary
- 5.5MediumCVSS base score
- 0.23%Exploitation in 30 daysEPSS · top 86% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: jffs2: check that raw node were preallocated before writing summary Syzkaller detected a kernel bug in jffs2_link_node_ref, caused by fault injection in jffs2_prealloc_raw_node_refs. jffs2_sum_write_sumnode doesn't check return value of jffs2_prealloc_raw_node_refs and simply lets any error propagate into jffs2_sum_write_data, which eventually calls jffs2_link_node_ref in order to link the summary to an expectedly allocated node. kernel BUG at fs/jffs2/nodelist.c:592! invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 1 PID: 31277 Comm: syz-executor.7 Not tainted 6.1.128-syzkaller-00139-ge10f83ca10a1 #0 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:jffs2_link_node_ref+0x570/0x690 fs/jffs2/nodelist.c:592 Call Trace: <TASK> jffs2_sum_write_data fs/jffs2/summary.c:841 [inline] jffs2_sum_write_sumnode+0xd1a/0x1da0 fs/jffs2/summary.c:874 jffs2_do_reserve_space+0xa18/0xd60 fs/jffs2/nodemgmt.c:388 jffs2_reserve_space+0x55f/0xaa0 fs/jffs2/nodemgmt.c:197 jffs2_write_inode_range+0x246/0xb50 fs/jffs2/write.c:362 jffs2_write_end+0x726/0x15d0 fs/jffs2/file.c:301 generic_perform_write+0x314/0x5d0 mm/filemap.c:3856 __generic_file_write_iter+0x2ae/0x4d0 mm/filemap.c:3973 generic_file_write_iter+0xe3/0x350 mm/filemap.c:4005 call_write_iter include/linux/fs.h:2265 [inline] do_iter_readv_writev+0x20f/0x3c0 fs/read_write.c:735 do_iter_write+0x186/0x710 fs/read_write.c:861 vfs_iter_write+0x70/0xa0 fs/read_write.c:902 iter_file_splice_write+0x73b/0xc90 fs/splice.c:685 do_splice_from fs/splice.c:763 [inline] direct_splice_actor+0x10c/0x170 fs/splice.c:950 splice_direct_to_actor+0x337/0xa10 fs/splice.c:896 do_splice_direct+0x1a9/0x280 fs/splice.c:1002 do_sendfile+0xb13/0x12c0 fs/read_write.c:1255 __do_sys_sendfile64 fs/read_write.c:1323 [inline] __se_sys_sendfile64 fs/read_write.c:1309 [inline] __x64_sys_sendfile64+0x1cf/0x210 fs/read_write.c:1309 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x35/0x80 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x6e/0xd8 Fix this issue by checking return value of jffs2_prealloc_raw_node_refs before calling jffs2_sum_write_data. Found by Linux Verification Center (linuxtesting.org) with Syzkaller.
Timeline
ID reserved
By Linux
- 3 months later
· 3 months later
Published
- 10 months later
· 10 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.23% · top 86% of all CVEs (18 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 2f785402f39b96a077b6e62bf26164bfb8e0c980 – < 337f80f3d546e131c7aa90b61d8cde051ae858c7
- affected 2f785402f39b96a077b6e62bf26164bfb8e0c980 – < 8ce46dc5b10b0b6f67663202a4921b0e11ad7367
- affected 2f785402f39b96a077b6e62bf26164bfb8e0c980 – < 4adee34098a6ee86a54bf3ec885eab620c126a6b
- affected 2f785402f39b96a077b6e62bf26164bfb8e0c980 – < c0edcdb4fc106d69a2d1a0ce4868193511c389f3
- affected 2f785402f39b96a077b6e62bf26164bfb8e0c980 – < 3f46644a5131a4793fc95c32a7d0a769745b06e7
- affected 2f785402f39b96a077b6e62bf26164bfb8e0c980 – < da12ef7e19048dc5714032c2db587a215852b200
- affected 2f785402f39b96a077b6e62bf26164bfb8e0c980 – < 346cfb9d19ea7feb6fb57917b21c4797fb444dab
- affected 2f785402f39b96a077b6e62bf26164bfb8e0c980 – < ec9e6f22bce433b260ea226de127ec68042849b0
- affected 2.6.18
- unaffected < 2.6.18
- unaffected 5.4.295 – ≤ 5.4.*
- unaffected 5.10.239 – ≤ 5.10.*
- unaffected 5.15.186 – ≤ 5.15.*
- unaffected 6.1.142 – ≤ 6.1.*
- unaffected 6.6.95 – ≤ 6.6.*
- unaffected 6.12.35 – ≤ 6.12.*
- unaffected 6.15.4 – ≤ 6.15.*
- unaffected 6.16 – ≤ *
References
References10
- https://git.kernel.org/stable/c/337f80f3d546e131c7aa90b61d8cde051ae858c7 (opens in a new tab)
- https://git.kernel.org/stable/c/8ce46dc5b10b0b6f67663202a4921b0e11ad7367 (opens in a new tab)
- https://git.kernel.org/stable/c/4adee34098a6ee86a54bf3ec885eab620c126a6b (opens in a new tab)
- https://git.kernel.org/stable/c/c0edcdb4fc106d69a2d1a0ce4868193511c389f3 (opens in a new tab)
- https://git.kernel.org/stable/c/3f46644a5131a4793fc95c32a7d0a769745b06e7 (opens in a new tab)
- https://git.kernel.org/stable/c/da12ef7e19048dc5714032c2db587a215852b200 (opens in a new tab)
- https://git.kernel.org/stable/c/346cfb9d19ea7feb6fb57917b21c4797fb444dab (opens in a new tab)
- https://git.kernel.org/stable/c/ec9e6f22bce433b260ea226de127ec68042849b0 (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-20062 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-38194)Record last updated .