CVE-2025-38492
netfs: Fix race between cache write completion and ALL_QUEUED being set
Mitigation
- Upgrade Linux to 89635eae076cd8eaa5cb752f66538c9dc6c9fdc3 or later.
Who should check
- Anyone running Linux >= e2d46f2ec332533816417b60933954173f602121, < 110188a13c4853bd4c342e600ced4dfd26c3feb5; >= e2d46f2ec332533816417b60933954173f602121, < 89635eae076cd8eaa5cb752f66538c9dc6c9fdc3
- Anyone running Linux 6.14
Vulnerability facts
- Affected
- Linux >= e2d46f2ec332533816417b60933954173f602121, < 110188a13c4853bd4c342e600ced4dfd26c3feb5; >= e2d46f2ec332533816417b60933954173f602121, < 89635eae076cd8eaa5cb752f66538c9dc6c9fdc3; Linux 6.14
- Fixed in
- Linux 110188a13c4853bd4c342e600ced4dfd26c3feb5, Linux 89635eae076cd8eaa5cb752f66538c9dc6c9fdc3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 4.7 (v3.1, NVD)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.15% chance of exploitation in 30 days (percentile 2, 2026-11-26)
- CWE
- CWE-362
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: netfs: Fix race between cache write completion and ALL_QUEUED being set When netfslib is issuing subrequests, the subrequests start processing immediately and may complete before we reach the end of the issuing function. At the end of the issuing function we set NETFS_RREQ_ALL_QUEUED to indicate to the collector that we aren't going to issue any more subreqs and that it can do the final notifications and cleanup. Now, this isn't a problem if the request is synchronous (NETFS_RREQ_OFFLOAD_COLLECTION is unset) as the result collection will be done in-thread and we're guaranteed an opportunity to run the collector. However, if the request is asynchronous, collection is primarily triggered by the termination of subrequests queuing it on a workqueue. Now, a race can occur here if the app thread sets ALL_QUEUED after the last subrequest terminates. This can happen most easily with the copy2cache code (as used by Ceph) where, in the collection routine of a read request, an asynchronous write request is spawned to copy data to the cache. Folios are added to the write request as they're unlocked, but there may be a delay before ALL_QUEUED is set as the write subrequests may complete before we get there. If all the write subreqs have finished by the ALL_QUEUED point, no further events happen and the collection never happens, leaving the request hanging. Fix this by queuing the collector after setting ALL_QUEUED. This is a bit heavy-handed and it may be sufficient to do it only if there are no extant subreqs. Also add a tracepoint to cross-reference both requests in a copy-to-request operation and add a trace to the netfs_rreq tracepoint to indicate the setting of ALL_QUEUED.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-38492. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38492.md Affected: Linux >= e2d46f2ec332533816417b60933954173f602121, < 110188a13c4853bd4c342e600ced4dfd26c3feb5; >= e2d46f2ec332533816417b60933954173f602121, < 89635eae076cd8eaa5cb752f66538c9dc6c9fdc3; Linux 6.14 Fixed in: Linux 110188a13c4853bd4c342e600ced4dfd26c3feb5, Linux 89635eae076cd8eaa5cb752f66538c9dc6c9fdc3 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.
References
FAQ
Is CVE-2025-38492 being exploited?
There is no confirmed exploitation: CVE-2025-38492 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.15% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38492?
Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2025-38492?
Linux >= e2d46f2ec332533816417b60933954173f602121, < 110188a13c4853bd4c342e600ced4dfd26c3feb5; >= e2d46f2ec332533816417b60933954173f602121, < 89635eae076cd8eaa5cb752f66538c9dc6c9fdc3; Linux 6.14.
Is there a fix for CVE-2025-38492?
Yes. Fixed in Linux 110188a13c4853bd4c342e600ced4dfd26c3feb5, Linux 89635eae076cd8eaa5cb752f66538c9dc6c9fdc3. Upgrade Linux to 89635eae076cd8eaa5cb752f66538c9dc6c9fdc3 or later.
How do I check if I'm affected by CVE-2025-38492?
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.