CVE-2025-71223Published Feb 14, 2026 · Feb 14Updated 2d ago
smb/server: fix refcount leak in smb2_open()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel SMB server has a reference-count leak in smb2_open() when ksmbd_vfs_getattr() fails. This can leave a ksmbd_file reference unreleased. The input does not specify whether exploitation requires authentication or user interaction.
Engineers running the Linux kernel SMB server should check their kernel versions; affected versions are not specified.