What’s Vulnerable › Vulnerabilities
CVE-2025-38325: ksmbd: add free_transport ops in ksmbd connection
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-10 · updated 2026-07-30
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: add free_transport ops in ksmbd connection free_transport function for tcp connection can be called from smbdirect. It will cause kernel oops. This patch add free_transport ops in ksmbd connection, and add each free_transports for tcp and smbdirect.
Affected products
- Linux kernel: from 6.12.26 before 6.12.35; from 6.14.4 before 6.15; from 6.15.1 before 6.15.4; 6.15, 6.15-rc3, 6.15-rc4, 6.15-rc5, 6.15-rc6, 6.15-rc7 (+2) — fixed in 6.12.35, 6.15, 6.15.4
How to fix
Upgrade to a fixed version: Linux kernel 6.12.35, 6.15, 6.15.4. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/3890da762a66191c440b0bd6e3ee45501edbb0c1
- https://git.kernel.org/stable/c/3f3aae77280aad9f5acc6709c596148966f765c7
- https://git.kernel.org/stable/c/52f5a52dc17a4a7b4363ac03fe2c4ef26f020dc6
- https://git.kernel.org/stable/c/a89f5fae998bdc4d0505306f93844c9ae059d50c
Get alerted when CVE-2025-38325 or the next vulnerability affects your stack