CVE-2025-38527
BaseFortify
Publication date: 2025-08-16
Last updated on: 2025-11-03
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | 6.1.153-1 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a use-after-free issue in the Linux kernel's SMB client code, specifically in the cifs_oplock_break() function. A race condition can occur during the unmounting process where the cinode structure is accessed after it has been freed. This happens because the last reference to the superblock is released prematurely, triggering cleanup of inodes, but cifs_oplock_break() continues to use the freed cinode. The fix involves holding an extra reference to the superblock during the oplock break operation to prevent premature freeing.
How can this vulnerability impact me? :
This vulnerability can lead to use-after-free memory corruption in the Linux kernel when using SMB client functionality. Exploiting this could cause system instability, crashes, or potentially allow an attacker to execute arbitrary code with kernel privileges, compromising system security.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update the Linux kernel to a version where the use-after-free issue in cifs_oplock_break() has been fixed. The fix involves holding an extra reference to the superblock during the oplock break operation to prevent premature cleanup. Until the update is applied, avoid unmounting CIFS shares in a way that triggers this race condition.