5.5medium
ksmbd: fix possible refcount leak in smb2_open()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before c33344b7972225b232966f95d31f6312dcc6273d, from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 303f8e58cc3ace744801dcdcabfc06ffc72ed62d, from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before a22c49a05e5e7aa2c414fbc42c49c4c01a5c9a78, from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 2624b445544ffc1472ccabfb6ec867c199d4c95c, 5.15 Not affected: before 5.15, from 5.15.105 up to 5.15.*, from 6.1.22 up to 6.1.*, from 6.2.9 up to 6.2.*, from 6.3 up to * | CVE List |
| linux 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 | NVD |
What each source says
CVE List
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().
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ksmbd: se corrige una posible fuga de recuento de referencias en smb2_open(). El recuento de referencias de las ACL se filtra cuando falla la asignación de memoria. Se soluciona añadiendo la función posix_acl_release() que faltaba.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-53061 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2023-53061 changed 2026-06-17 | Public domain |