CVE-2025-38325: Linux kernel · ksmbd: add free_transport ops in ksmbd connection
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 13 Nov 2026, 19:59 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 10 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
AI-suggested
A patch has been applied to the Linux kernel to add the missing free_transport operations in the ksmbd connection and to handle free_transport calls for both TCP and smbdirect properly. Users should update to the fixed kernel versions once available. Patch status is not explicitly confirmed in the input, so verify with the vendor advisory for the exact fixed versions and apply updates accordingly.
Description
CVE-2025-38325 is a medium severity vulnerability in the Linux kernel's ksmbd component. The issue arises because the free_transport function for TCP connections can be called from smbdirect without proper handling, leading to a kernel oops (crash). The vulnerability has been resolved by adding free_transport operations in the ksmbd connection and ensuring each free_transport is properly handled for both TCP and smbdirect connections.
References
- nvd.nist.gov/vuln/detail/CVE-2025-38325 (opens in a new tab)
- git.kernel.org/stable/c/3890da762a66191c440b0bd6e3ee45501edbb0c1 (opens in a new tab)
- git.kernel.org/stable/c/3f3aae77280aad9f5acc6709c596148966f765c7 (opens in a new tab)
- git.kernel.org/stable/c/52f5a52dc17a4a7b4363ac03fe2c4ef26f020dc6 (opens in a new tab)
- git.kernel.org/stable/c/a89f5fae998bdc4d0505306f93844c9ae059d50c (opens in a new tab)