CVE-2025-38492
BaseFortify
Publication date: 2025-07-28
Last updated on: 2025-11-19
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | 6.16 |
| linux | linux_kernel | 6.16 |
| linux | linux_kernel | 6.16 |
| linux | linux_kernel | 6.16 |
| linux | linux_kernel | 6.16 |
| linux | linux_kernel | 6.16 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-362 | The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a race condition in the Linux kernel's netfs subsystem. When netfslib issues asynchronous subrequests, these subrequests may complete before the main issuing function finishes and sets a flag (NETFS_RREQ_ALL_QUEUED) indicating no more subrequests will be issued. If all subrequests complete before this flag is set, the final collection and cleanup process may never be triggered, causing the request to hang indefinitely.
How can this vulnerability impact me? :
The vulnerability can cause requests in the netfs subsystem to hang indefinitely due to the race condition between subrequest completion and the ALL_QUEUED flag being set. This can lead to stalled operations, potentially impacting system stability or performance when using affected features like Ceph's copy2cache.
What immediate steps should I take to mitigate this vulnerability?
Apply the patch or update to the Linux kernel version that includes the fix for this vulnerability, which addresses the race condition in netfs by queuing the collector after setting ALL_QUEUED. This prevents requests from hanging due to incomplete collection. Monitoring or tracing using the added tracepoints (netfs_rreq and copy-to-request tracepoints) may help in diagnosing related issues.