CVE-2023-53061

ksmbd: fix possible refcount leak in smb2_open()

MEDIUM
5.5
CVSS Score
Published: May 2, 2025 at 03:55 PM UTC
Updated: June 17, 2026 at 06:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.15 ≤ v < 5.15.1055.15 ≤ v < 6.1.225.15 ≤ v < 6.2.95.15 ≤ v < 6.35.16 ≤ v < 6.1.226.2 ≤ v < 6.2.95.156.3 rc16.3 rc26.3 rc3e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9
Vendor states this is fixed in 2624b445544ffc1472ccabfb6ec867c199d4c95c (fixed)
Vendor states this is fixed in 303f8e58cc3ace744801dcdcabfc06ffc72ed62d (fixed)
Vendor states this is fixed in a22c49a05e5e7aa2c414fbc42c49c4c01a5c9a78 (fixed)
Vendor states this is fixed in c33344b7972225b232966f95d31f6312dcc6273d (fixed)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.15.105 (unaffected)
Vendor states this is fixed in 6.1.22 (unaffected)
Vendor states this is fixed in 6.2.9 (unaffected)
Vendor states this is fixed in 6.3 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2624b445544ffc1472ccabfb6ec867c199d4c95c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/303f8e58cc3ace744801dcdcabfc06ffc72ed62d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a22c49a05e5e7aa2c414fbc42c49c4c01a5c9a78
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c33344b7972225b232966f95d31f6312dcc6273d

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card