# CVE-2023-53061: ksmbd: fix possible refcount leak in smb2_open()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-05-02T15:55:15.198Z
- Modified: 2026-06-17T06:44:13.327Z
- 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().

(As written by CVE List.)

## Affected

- 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 *)
- 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

## References

- <https://git.kernel.org/stable/c/c33344b7972225b232966f95d31f6312dcc6273d> (patch)
- <https://git.kernel.org/stable/c/303f8e58cc3ace744801dcdcabfc06ffc72ed62d> (patch)
- <https://git.kernel.org/stable/c/a22c49a05e5e7aa2c414fbc42c49c4c01a5c9a78> (patch)
- <https://git.kernel.org/stable/c/2624b445544ffc1472ccabfb6ec867c199d4c95c> (patch)

## Sources

- CVE List: [CVE-2023-53061](https://www.cve.org/CVERecord?id=CVE-2023-53061), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-53061](https://nvd.nist.gov/vuln/detail/CVE-2023-53061), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-53061 · Whole record: https://cve.day/CVE-2023-53061.json · Rebuilt by cve.day 2026-11-25T22:58:34.644Z
