CVE-2022-49366
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
26/02/2025
Last modified:
01/10/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ksmbd: fix reference count leak in smb_check_perm_dacl()<br />
<br />
The issue happens in a specific path in smb_check_perm_dacl(). When<br />
"id" and "uid" have the same value, the function simply jumps out of<br />
the loop without decrementing the reference count of the object<br />
"posix_acls", which is increased by get_acl() earlier. This may<br />
result in memory leaks.<br />
<br />
Fix it by decreasing the reference count of "posix_acls" before<br />
jumping to label "check_access_bits".
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.15 (including) | 5.15.47 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 5.17.15 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.18 (including) | 5.18.4 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



