What’s Vulnerable › Vulnerabilities
CVE-2025-37926: ksmbd: fix use-after-free in ksmbd_session_rpc_open
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-05-20 · updated 2026-07-30
- Weakness: CWE-416
Description
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.
Affected products
- Linux kernel: from 5.15 before 6.12.28; from 6.13 before 6.14.6; 6.15-rc1, 6.15-rc2, 6.15-rc3, 6.15-rc4 — fixed in 6.12.28, 6.14.6
How to fix
Upgrade to a fixed version: Linux kernel 6.12.28, 6.14.6. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/1067361a1cc6ad9cdf7acfc47f90012b72ad1502
- https://git.kernel.org/stable/c/6323fec65fe54b365961fed260dd579191e46121
- https://git.kernel.org/stable/c/8fb3b6c85b7e3127161623586b62abcc366caa20
- https://git.kernel.org/stable/c/a1f46c99d9ea411f9bf30025b912d881d36fc709
- https://git.kernel.org/stable/c/a4348710a7267705b75692dc1a000920481d1d92
Get alerted when CVE-2025-37926 or the next vulnerability affects your stack