# CVE-2025-38357: fuse: fix runtime warning on truncate\_folio\_batch\_exceptionals()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.26% (percentile 10, 2026-11-26)
- **Published:** 2025-07-25T12:47:28.733Z
- **Modified:** 2026-08-05T12:01:21.316Z

## Who should check

- Anyone running Linux \>= bde708f1a65d025c45575bfe1e7bf7bdf7e71e87, \< b48878aee8e7311411148c7a67c8f0b02f571d75; \>= bde708f1a65d025c45575bfe1e7bf7bdf7e71e87, \< befd9a71d859ea625eaa84dae1b243efb3df3eca
- Anyone running Linux 6.15

## Description

In the Linux kernel, the following vulnerability has been resolved:

fuse: fix runtime warning on truncate\_folio\_batch\_exceptionals()

The WARN\_ON\_ONCE is introduced on truncate\_folio\_batch\_exceptionals() to
capture whether the filesystem has removed all DAX entries or not.

And the fix has been applied on the filesystem xfs and ext4 by the commit
0e2f80afcfa6 ("fs/dax: ensure all pages are idle prior to filesystem
unmount").

Apply the missed fix on filesystem fuse to fix the runtime warning:

\[    2.011450\] ------------\[ cut here \]------------
\[    2.011873\] WARNING: CPU: 0 PID: 145 at mm/truncate.c:89 truncate\_folio\_batch\_exceptionals+0x272/0x2b0
\[    2.012468\] Modules linked in:
\[    2.012718\] CPU: 0 UID: 1000 PID: 145 Comm: weston Not tainted 6.16.0-rc2-WSL2-STABLE \#2 PREEMPT(undef)
\[    2.013292\] RIP: 0010:truncate\_folio\_batch\_exceptionals+0x272/0x2b0
\[    2.013704\] Code: 48 63 d0 41 29 c5 48 8d 1c d5 00 00 00 00 4e 8d 6c 2a 01 49 c1 e5 03 eb 09 48 83 c3 08 49 39 dd 74 83 41 f6 44 1c 08 01 74 ef \<0f\> 0b 49 8b 34 1e 48 89 ef e8 10 a2 17 00 eb df 48 8b 7d 00 e8 35
\[    2.014845\] RSP: 0018:ffffa47ec33f3b10 EFLAGS: 00010202
\[    2.015279\] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
\[    2.015884\] RDX: 0000000000000000 RSI: ffffa47ec33f3ca0 RDI: ffff98aa44f3fa80
\[    2.016377\] RBP: ffff98aa44f3fbf0 R08: ffffa47ec33f3ba8 R09: 0000000000000000
\[    2.016942\] R10: 0000000000000001 R11: 0000000000000000 R12: ffffa47ec33f3ca0
\[    2.017437\] R13: 0000000000000008 R14: ffffa47ec33f3ba8 R15: 0000000000000000
\[    2.017972\] FS:  000079ce006afa40(0000) GS:ffff98aade441000(0000) knlGS:0000000000000000
\[    2.018510\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[    2.018987\] CR2: 000079ce03e74000 CR3: 000000010784f006 CR4: 0000000000372eb0
\[    2.019518\] Call Trace:
\[    2.019729\]  \<TASK\>
\[    2.019901\]  truncate\_inode\_pages\_range+0xd8/0x400
\[    2.020280\]  ? timerqueue\_add+0x66/0xb0
\[    2.020574\]  ? get\_nohz\_timer\_target+0x2a/0x140
\[    2.020904\]  ? timerqueue\_add+0x66/0xb0
\[    2.021231\]  ? timerqueue\_del+0x2e/0x50
\[    2.021646\]  ? \_\_remove\_hrtimer+0x39/0x90
\[    2.022017\]  ? srso\_alias\_untrain\_ret+0x1/0x10
\[    2.022497\]  ? psi\_group\_change+0x136/0x350
\[    2.023046\]  ? \_raw\_spin\_unlock+0xe/0x30
\[    2.023514\]  ? finish\_task\_switch.isra.0+0x8d/0x280
\[    2.024068\]  ? \_\_schedule+0x532/0xbd0
\[    2.024551\]  fuse\_evict\_inode+0x29/0x190
\[    2.025131\]  evict+0x100/0x270
\[    2.025641\]  ? \_atomic\_dec\_and\_lock+0x39/0x50
\[    2.026316\]  ? \_\_pfx\_generic\_delete\_inode+0x10/0x10
\[    2.026843\]  \_\_dentry\_kill+0x71/0x180
\[    2.027335\]  dput+0xeb/0x1b0
\[    2.027725\]  \_\_fput+0x136/0x2b0
\[    2.028054\]  \_\_x64\_sys\_close+0x3d/0x80
\[    2.028469\]  do\_syscall\_64+0x6d/0x1b0
\[    2.028832\]  ? clear\_bhb\_loop+0x30/0x80
\[    2.029182\]  ? clear\_bhb\_loop+0x30/0x80
\[    2.029533\]  ? clear\_bhb\_loop+0x30/0x80
\[    2.029902\]  entry\_SYSCALL\_64\_after\_hwframe+0x76/0x7e
\[    2.030423\] RIP: 0033:0x79ce03d0d067
\[    2.030820\] Code: b8 ff ff ff ff e9 3e ff ff ff 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 03 00 00 00 0f 05 \<48\> 3d 00 f0 ff ff 77 41 c3 48 83 ec 18 89 7c 24 0c e8 c3 a7 f8 ff
\[    2.032354\] RSP: 002b:00007ffef0498948 EFLAGS: 00000246 ORIG\_RAX: 0000000000000003
\[    2.032939\] RAX: ffffffffffffffda RBX: 00007ffef0498960 RCX: 000079ce03d0d067
\[    2.033612\] RDX: 0000000000000003 RSI: 0000000000001000 RDI: 000000000000000d
\[    2.034289\] RBP: 00007ffef0498a30 R08: 000000000000000d R09: 0000000000000000
\[    2.034944\] R10: 00007ffef0498978 R11: 0000000000000246 R12: 0000000000000001
\[    2.035610\] R13: 00007ffef0498960 R14: 000079ce03e09ce0 R15: 0000000000000003
\[    2.036301\]  \</TASK\>
\[    2.036532\] ---\[ end trace 0000000000000000 \]---

## Affected and fixed versions

- Linux: \>= bde708f1a65d025c45575bfe1e7bf7bdf7e71e87, \< b48878aee8e7311411148c7a67c8f0b02f571d75; \>= bde708f1a65d025c45575bfe1e7bf7bdf7e71e87, \< befd9a71d859ea625eaa84dae1b243efb3df3eca (cvelist)
- Linux: 6.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38357. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38357.md
Affected: Linux >= bde708f1a65d025c45575bfe1e7bf7bdf7e71e87, < b48878aee8e7311411148c7a67c8f0b02f571d75; >= bde708f1a65d025c45575bfe1e7bf7bdf7e71e87, < befd9a71d859ea625eaa84dae1b243efb3df3eca; Linux 6.15
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38357 being exploited?

There is no confirmed exploitation: CVE-2025-38357 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38357?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38357?

Linux \>= bde708f1a65d025c45575bfe1e7bf7bdf7e71e87, \< b48878aee8e7311411148c7a67c8f0b02f571d75; \>= bde708f1a65d025c45575bfe1e7bf7bdf7e71e87, \< befd9a71d859ea625eaa84dae1b243efb3df3eca; Linux 6.15.

### Is there a fix for CVE-2025-38357?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-38357?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/b48878aee8e7311411148c7a67c8f0b02f571d75>
- patch: <https://git.kernel.org/stable/c/befd9a71d859ea625eaa84dae1b243efb3df3eca>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38357>

HTML: <https://flawdb.com/CVE-2025-38357> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38357>
