CVE-2023-53061
ksmbd: fix possible refcount leak in smb2_open()
Check your servers for CVE-2023-53061
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53061 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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().
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.1% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before c33344b7972225b232966f95d31f6312dcc6273d affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 303f8e58cc3ace744801dcdcabfc06ffc72ed62d affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before a22c49a05e5e7aa2c414fbc42c49c4c01a5c9a78 affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 2624b445544ffc1472ccabfb6ec867c199d4c95c
Other versions: unaffected
|
| Linux |
affected 5.15 unaffected before 5.15 unaffected from 5.15.105 up to and including 5.15.* unaffected from 6.1.22 up to and including 6.1.* unaffected from 6.2.9 up to and including 6.2.* unaffected 6.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53061 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53061
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-53061
trivy image --scanners vuln IMAGE | grep CVE-2023-53061
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/c33344b7972225b232966f95d31f6312dcc6273d git.kernel.org
- https://git.kernel.org/stable/c/303f8e58cc3ace744801dcdcabfc06ffc72ed62d git.kernel.org
- https://git.kernel.org/stable/c/a22c49a05e5e7aa2c414fbc42c49c4c01a5c9a78 git.kernel.org
- https://git.kernel.org/stable/c/2624b445544ffc1472ccabfb6ec867c199d4c95c git.kernel.org
Source: the record CVE-2023-53061 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse