CVE & CISA-KEV Catalog

CVE-2025-38492

MEDIUM
4.7
CVSS v3
NVD

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.

How to fix

Remediation Available
linux-aws-6.14Ubuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-azure-6.14Ubuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7934-1
linux-gcp-6.14Ubuntu
Fixed in:6.14.0-1020.21~24.04.1USN-7879-4
linux-hwe-6.14Ubuntu
Fixed in:6.14.0-36.36~24.04.1USN-7879-1
linux-image-6.14.0-1016-oemUbuntu
Fixed in:6.14.0-1016.16USN-7880-1
linux-image-6.14.0-1016-realtimeUbuntu
Fixed in:6.14.0-1016.16~24.04.1USN-7879-2
linux-image-6.14.0-1017-awsUbuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-image-6.14.0-1017-aws-64kUbuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-image-6.14.0-1017-azureUbuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7934-1
linux-image-6.14.0-1017-oracleUbuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-image-6.14.0-1017-oracle-64kUbuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-image-6.14.0-1020-gcpUbuntu
Fixed in:6.14.0-1020.21~24.04.1USN-7879-4
linux-image-6.14.0-1020-gcp-64kUbuntu
Fixed in:6.14.0-1020.21~24.04.1USN-7879-4
linux-image-6.14.0-36-genericUbuntu
Fixed in:6.14.0-36.36~24.04.1USN-7879-1
linux-image-6.14.0-36-generic-64kUbuntu
Fixed in:6.14.0-36.36~24.04.1USN-7879-1
linux-image-awsUbuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-image-aws-6.14Ubuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-image-aws-64kUbuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-image-aws-64k-6.14Ubuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-image-azureUbuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7934-1
linux-image-azure-6.14Ubuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7934-1
linux-image-gcpUbuntu
Fixed in:6.14.0-1020.21~24.04.1USN-7879-4
linux-image-gcp-6.14Ubuntu
Fixed in:6.14.0-1020.21~24.04.1USN-7879-4
linux-image-gcp-64kUbuntu
Fixed in:6.14.0-1020.21~24.04.1USN-7879-4
linux-image-gcp-64k-6.14Ubuntu
Fixed in:6.14.0-1020.21~24.04.1USN-7879-4
linux-image-generic-6.14Ubuntu
Fixed in:6.14.0-36.36~24.04.1USN-7879-1
linux-image-generic-64k-6.14Ubuntu
Fixed in:6.14.0-36.36~24.04.1USN-7879-1
linux-image-generic-64k-hwe-24.04Ubuntu
Fixed in:6.14.0-36.36~24.04.1USN-7879-1
linux-image-generic-hwe-24.04Ubuntu
Fixed in:6.14.0-36.36~24.04.1USN-7879-1
linux-image-oem-6.14Ubuntu
Fixed in:6.14.0-1016.16USN-7880-1
linux-image-oracleUbuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-image-oracle-6.14Ubuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-image-oracle-64kUbuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-image-oracle-64k-6.14Ubuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-image-realtime-6.14Ubuntu
Fixed in:6.14.0-1016.16~24.04.1USN-7879-2
linux-image-realtime-hwe-24.04Ubuntu
Fixed in:6.14.0-1016.16~24.04.1USN-7879-2
linux-image-virtual-6.14Ubuntu
Fixed in:6.14.0-36.36~24.04.1USN-7879-1
linux-image-virtual-hwe-24.04Ubuntu
Fixed in:6.14.0-36.36~24.04.1USN-7879-1
linux-oem-6.14Ubuntu
Fixed in:6.14.0-1016.16USN-7880-1
linux-oracle-6.14Ubuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-realtime-6.14Ubuntu
Fixed in:6.14.0-1016.16~24.04.1USN-7879-2

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.09%probability of exploitation in 30 days
0thpercentile

Low risk: more likely to be exploited than 0% of all known CVEs.

References

Related Vulnerabilities

Other CWE-362 (Race Condition) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-6387High8.1100%-Fix
CVE-2023-36884High7.599%KEV + RansomFix
CVE-2018-15473Medium5.399%-Fix
CVE-2024-27983High8.287%-Fix
CVE-2014-0226Medium6.886%-Fix
CVE-2016-5195High7.084%KEVFix
Embed a live status badge for CVE-2025-38492
CVE-2025-38492 severity badge

Markdown

[![CVE-2025-38492](https://tridentstack.com/cve/badge/CVE-2025-38492.svg)](https://tridentstack.com/cve/CVE-2025-38492)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-38492"><img src="https://tridentstack.com/cve/badge/CVE-2025-38492.svg" alt="CVE-2025-38492"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-19.