What’s Vulnerable › Vulnerabilities
CVE-2025-71223: smb/server: fix refcount leak in smb2_open()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-02-14 · updated 2026-06-17
Description
In the Linux kernel, the following vulnerability has been resolved: smb/server: fix refcount leak in smb2_open() When ksmbd_vfs_getattr() fails, the reference count of ksmbd_file must be released.
Affected products
- Linux kernel: from 6.6.32 before 6.6.124; from 6.9 before 6.12.70; from 6.13 before 6.18.10; 6.19-rc1, 6.19-rc2, 6.19-rc3 — fixed in 6.12.70, 6.18.10, 6.6.124
How to fix
Upgrade to a fixed version: Linux kernel 6.12.70, 6.18.10, 6.6.124. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2456fde2b137703328f1695f60c68fe488d17e36
- https://git.kernel.org/stable/c/39ca11ff158c98fb092176f06047628c54bcf7a1
- https://git.kernel.org/stable/c/4665e52bde3b1f8f442895ce7d88fa62a43e48c4
- https://git.kernel.org/stable/c/f416c556997aa56ec4384c6b6efd6a0e6ac70aa7
Get alerted when CVE-2025-71223 or the next vulnerability affects your stack