CVE-2025-68809
BaseFortify
Publication date: 2026-01-13
Last updated on: 2026-01-14
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
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 race condition in the Linux kernel's ksmbd component related to inconsistent locking when accessing the m_flags field in ksmbd_inode. Different code paths either use or omit a lock (ci->m_lock) when reading or modifying m_flags, which can cause data races when multiple threads concurrently open, close, or delete the same file. This can lead to incorrect delete-on-close and pending-delete states, causing files to either remain on disk after deletion or disappear while still in use. The fix unifies locking around m_flags to prevent these races.
How can this vulnerability impact me? :
This vulnerability can cause files to behave unpredictably with respect to deletion: files that should be deleted on close might remain on disk, or files might disappear while still being used. This can lead to data inconsistency, confusion in file management, and potential data loss or unexpected file persistence.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update the Linux kernel to a version where the ksmbd component has been fixed to unify locking around m_flags in vfs_cache. This fix removes the data race condition by ensuring all accesses to m_flags are properly locked with ci->m_lock, preserving delete-on-close behavior and preventing inconsistent file delete semantics.