What’s Vulnerable › Vulnerabilities
CVE-2023-53061: ksmbd: fix possible refcount leak in smb2_open()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-05-02 · updated 2026-06-17
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix possible refcount leak in smb2_open() Reference count of acls will leak when memory allocation fails. Fix this by adding the missing posix_acl_release().
Affected products
- Linux kernel: from 5.15 before 5.15.105; from 5.16 before 6.1.22; from 6.2 before 6.2.9; 6.3-rc1, 6.3-rc2, 6.3-rc3 — fixed in 5.15.105, 6.1.22, 6.2.9
How to fix
Upgrade to a fixed version: Linux kernel 5.15.105, 6.1.22, 6.2.9. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2624b445544ffc1472ccabfb6ec867c199d4c95c
- https://git.kernel.org/stable/c/303f8e58cc3ace744801dcdcabfc06ffc72ed62d
- https://git.kernel.org/stable/c/a22c49a05e5e7aa2c414fbc42c49c4c01a5c9a78
- https://git.kernel.org/stable/c/c33344b7972225b232966f95d31f6312dcc6273d
Get alerted when CVE-2023-53061 or the next vulnerability affects your stack