# CVE-2025-38325: ksmbd: add free_transport ops in ksmbd connection

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 42% of CVEs (2026-12-01)
- Published: 2025-07-10T08:14:59.544Z
- Modified: 2026-08-05T12:01:09.621Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da8bd9a10ecd718692732294d15fd801c0eabb5 before 52f5a52dc17a4a7b4363ac03fe2c4ef26f020dc6; from 1aec4d14cf81b7b3e7b69eb1cfa94144eed7138e before 3890da762a66191c440b0bd6e3ee45501edbb0c1; from 21a4e47578d44c6b37c4fc4aba8ed7cc8dbb13de before 3f3aae77280aad9f5acc6709c596148966f765c7; from 21a4e47578d44c6b37c4fc4aba8ed7cc8dbb13de before a89f5fae998bdc4d0505306f93844c9ae059d50c; e59796fc80603bcd8569d4d2e10b213c1918edb4; from 6.12.26 before 6.12.35; from 6.14.4 before 6.15; 6.15 (not affected: before 6.15; from 6.12.35 up to 6.12.*; from 6.15.4 up to 6.15.*; from 6.16 up to *)
- linux 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.16

## Every score

- Linux: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/52f5a52dc17a4a7b4363ac03fe2c4ef26f020dc6> (patch)
- <https://git.kernel.org/stable/c/3890da762a66191c440b0bd6e3ee45501edbb0c1> (patch)
- <https://git.kernel.org/stable/c/3f3aae77280aad9f5acc6709c596148966f765c7> (patch)
- <https://git.kernel.org/stable/c/a89f5fae998bdc4d0505306f93844c9ae059d50c> (patch)

## Sources

- CVE List: [CVE-2025-38325](https://www.cve.org/CVERecord?id=CVE-2025-38325), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-38325](https://nvd.nist.gov/vuln/detail/CVE-2025-38325), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-38325 · Whole record: https://cve.day/CVE-2025-38325.json · Rebuilt by cve.day 2026-11-25T22:59:01.076Z
