CVE-2025-38347: f2fs: fix to do sanity check on ino and xnid
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.19% (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 061cf3a84bde038708eb0f1d065b31b7c2456533, 44e904a1ad09e84039058dcbbb1b9ea5b8d7d75d, 5a06d97d5340c00510f24e80e8de821bd3bd9285; azl3 kernel 6.6.92.2-2 on Azure Linux 3.0 6.6.96.1-1; cbl2 kernel 5.15.186.1-1 on CBL Mariner 2.0 5.15.200.1-1.
Low priority for now. Upgrade to Linux Linux 061cf3a84bde038708eb0f1d065b31b7c2456533, 44e904a1ad09e84039058dcbbb1b9ea5b8d7d75d, 5a06d97d5340c00510f24e80e8de821bd3bd9285; azl3 kernel 6.6.92.2-2 on Azure Linux 3.0 6.6.96.1-1; cbl2 kernel 5.15.186.1-1 on CBL Mariner 2.0 5.15.200.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: f2fs: fix to do sanity check on ino and xnid syzbot reported a f2fs bug as below: INFO: task syz-executor140:5308 blocked for more than 143 seconds. Not tainted 6.14.0-rc7-syzkaller-00069-g81e4f8d68c66 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor140 state:D stack:24016 pid:5308 tgid:5308 ppid:5306 task_flags:0x400140 flags:0x00000006 Call Trace: <TASK> context_switch kernel/sched/core.c:5378 [inline] __schedule+0x190e/0x4c90 kernel/sched/core.c:6765 __schedule_loop kernel/sched/core.c:6842 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6857 io_schedule+0x8d/0x110 kernel/sched/core.c:7690 folio_wait_bit_common+0x839/0xee0 mm/filemap.c:1317 __folio_lock mm/filemap.c:1664 [inline] folio_lock include/linux/pagemap.h:1163 [inline] __filemap_get_folio+0x147/0xb40 mm/filemap.c:1917 pagecache_get_page+0x2c/0x130 mm/folio-compat.c:87 find_get_page_flags include/linux/pagemap.h:842 [inline] f2fs_grab_cache_page+0x2b/0x320 fs/f2fs/f2fs.h:2776 __get_node_page+0x131/0x11b0 fs/f2fs/node.c:1463 read_xattr_block+0xfb/0x190 fs/f2fs/xattr.c:306 lookup_all_xattrs fs/f2fs/xattr.c:355 [inline] f2fs_getxattr+0x676/0xf70 fs/f2fs/xattr.c:533 __f2fs_get_acl+0x52/0x870 fs/f2fs/acl.c:179 f2fs_acl_create fs/f2fs/acl.c:375 [inline] f2fs_init_acl+0xd7/0x9b0 fs/f2fs/acl.c:418 f2fs_init_inode_metadata+0xa0f/0x1050 fs/f2fs/dir.c:539 f2fs_add_inline_entry+0x448/0x860 fs/f2fs/inline.c:666 f2fs_add_dentry+0xba/0x1e0 fs/f2fs/dir.c:765 f2fs_do_add_link+0x28c/0x3a0 fs/f2fs/dir.c:808 f2fs_add_link fs/f2fs/f2fs.h:3616 [inline] f2fs_mknod+0x2e8/0x5b0 fs/f2fs/namei.c:766 vfs_mknod+0x36d/0x3b0 fs/namei.c:4191 unix_bind_bsd net/unix/af_unix.c:1286 [inline] unix_bind+0x563/0xe30 net/unix/af_unix.c:1379 __sys_bind_socket net/socket.c:1817 [inline] __sys_bind+0x1e4/0x290 net/socket.c:1848 __do_sys_bind net/socket.c:1853 [inline] __se_sys_bind net/socket.c:1851 [inline] __x64_sys_bind+0x7a/0x90 net/socket.c:1851 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Let's dump and check metadata of corrupted inode, it shows its xattr_nid is the same to its i_ino. dump.f2fs -i 3 chaseyu.img.raw i_xattr_nid [0x 3 : 3] So that, during mknod in the corrupted directory, it tries to get and lock inode page twice, result in deadlock. - f2fs_mknod - f2fs_add_inline_entry - f2fs_get_inode_page --- lock dir's inode page - f2fs_init_acl - f2fs_acl_create(dir,..) - __f2fs_get_acl - f2fs_getxattr - lookup_all_xattrs - __get_node_page --- try to lock dir's inode page In order to fix this, let's add sanity check on ino and xnid.
- Published
- Jul 10, 2025
- Updated
- Jun 17, 2026
- EPSS
- 0.1% · 9th percentile
- CWE
- —
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.1%
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.241
- linux linux kernel5.11 and later · before 5.15.190
- linux linux kernel5.16 and later · before 6.1.149
- linux linux kernel3.8 and later · before 5.4.297
- 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
- 3.8affected
- 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 and later · before 44e904a1ad09e84039058dcbbb1b9ea5b8d7d75daffected · git
- 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 and later · before ecff54aa20b5b21db82e63e46066b55e43d72e78affected · git
- 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 and later · before c4029044cc408b149e63db7dc8617a0783a3f10daffected · git
- 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 and later · before e98dc1909f3d5bc078ec7a605524f1e3f4c0eb14affected · git
- 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 and later · before aaddc6c696bd1bff20eaacfa88579d6eae64d541affected · git
- 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 and later · before fed611bd8c7b76b070aa407d0c7558e20d9e1f68affected · git
- 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 and later · before 5a06d97d5340c00510f24e80e8de821bd3bd9285affected · git
- 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 and later · before 061cf3a84bde038708eb0f1d065b31b7c2456533affected · git
- before 3.8not 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.153-1 | 6.1.153-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-38344Jul 10, 2025 · ACPICA: fix acpi parse and parseext cache leaks22Monitor
- ← EarlierCVE-2025-38345Jul 10, 2025 · ACPICA: fix acpi operand cache leak in dswstate.c22Monitor
- Later →CVE-2025-38348Jul 10, 2025 · wifi: p54: prevent buffer-overflow in p54_rx_eeprom_readback()31Monitor
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 | 061cf3a84bde038708eb0f1d065b31b7c2456533 | Vendor (CNA) |
| Linux Linux | 44e904a1ad09e84039058dcbbb1b9ea5b8d7d75d | Vendor (CNA) |
| Linux Linux | 5a06d97d5340c00510f24e80e8de821bd3bd9285 | Vendor (CNA) |
| Linux Linux | aaddc6c696bd1bff20eaacfa88579d6eae64d541 | Vendor (CNA) |
| Linux Linux | c4029044cc408b149e63db7dc8617a0783a3f10d | Vendor (CNA) |
| Linux Linux | e98dc1909f3d5bc078ec7a605524f1e3f4c0eb14 | Vendor (CNA) |
| Linux Linux | ecff54aa20b5b21db82e63e46066b55e43d72e78 | Vendor (CNA) |
| Linux Linux | fed611bd8c7b76b070aa407d0c7558e20d9e1f68 | Vendor (CNA) |
| azl3 kernel 6.6.92.2-2 on Azure Linux 3.0 | 6.6.96.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.186.1-1 on CBL Mariner 2.0 | 5.15.200.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| debian:linux | 6.1.153-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)
—
CVSS 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 (10 more)Show less
- git.kernel.org/stable/c/44e904a1ad09e84039058dcbbb1b9ea5b8d7d75d
- git.kernel.org/stable/c/5a06d97d5340c00510f24e80e8de821bd3bd9285
- git.kernel.org/stable/c/aaddc6c696bd1bff20eaacfa88579d6eae64d541
- git.kernel.org/stable/c/c4029044cc408b149e63db7dc8617a0783a3f10d
- git.kernel.org/stable/c/e98dc1909f3d5bc078ec7a605524f1e3f4c0eb14
- git.kernel.org/stable/c/ecff54aa20b5b21db82e63e46066b55e43d72e78
- git.kernel.org/stable/c/fed611bd8c7b76b070aa407d0c7558e20d9e1f68
- lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- lists.debian.org/debian-lts-announce/2025/10/msg00008.html
- cert-portal.siemens.com/productcert/html/ssa-032379.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.