CVE-2025-37926: ksmbd: fix use-after-free in ksmbd_session_rpc_open
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix use-after-free in ksmbd_session_rpc_open
A UAF issue can occur due to a race condition between
ksmbd_session_rpc_open() and __session_rpc_close().
Add rpc_lock to the session to protect it.
Security readout for executives and security teams
Plain-English summary
A race condition in the Linux kernel’s ksmbd SMB server can access memory after it has been freed. A low-privileged remote user may be able to trigger the flaw without user interaction, potentially affecting confidentiality, integrity, and availability. Systems are exposed only if they use the vulnerable ksmbd functionality.
Executive priority
Treat as a high-priority patching and exposure-review item for ksmbd-based file servers, especially those reachable from untrusted networks. Accelerate remediation where low-privileged SMB accounts exist. General Linux systems without ksmbd exposure have substantially lower urgency for this specific issue.
Technical view
CVE-2025-37926 is a use-after-free caused by concurrent ksmbd_session_rpc_open() and __session_rpc_close() operations. The kernel fix adds an rpc_lock to protect session RPC state. CVSS 3.1 rates it 8.8: network-accessible, low complexity, low privileges required, no user interaction, with potentially high security impact.
Likely exposure
Prioritize Linux systems running ksmbd and offering SMB to untrusted or broadly accessible networks. The supplied affected-version data is ambiguous and should not be treated as a reliable fixed-version boundary. Systems not using ksmbd are unlikely to expose this specific vulnerable path.
Exploitation context
The bundle does not identify CVE-2025-37926 as a CISA KEV entry and provides no evidence of active exploitation or a public exploit. Its network vector, low complexity, and low privilege requirement nevertheless make reachable ksmbd servers important to assess promptly.
Researcher notes
The source bundle establishes the race, use-after-free, locking fix, and five stable-kernel commits. It does not establish exploitation mechanics, affected distributions, or dependable vulnerable-to-fixed version ranges. Validate backports by code change or vendor advisory rather than version comparison alone.
Mitigation direction
Apply a vendor-supported kernel update containing the referenced ksmbd fix or an equivalent backport.
Restrict SMB access to trusted networks and authorized users while updates are pending.
Disable ksmbd where SMB service is unnecessary, following operating-system vendor guidance.
Reboot into the updated kernel and confirm the previous kernel is no longer active.
Validation and detection
Inventory systems for loaded, enabled, or configured ksmbd functionality.
Identify the running kernel build and compare it with distribution security guidance.
Verify the installed kernel contains the referenced rpc_lock fix or an equivalent backport.
Confirm SMB is not exposed beyond intended network boundaries.
After updating, verify services operate normally and the corrected kernel is running.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2025-37926 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
0ADP providers
6Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.