CVE & CISA-KEV Catalog

CVE-2022-49366

MEDIUM
5.5
CVSS v3
NVD

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix reference count leak in smb_check_perm_dacl() The issue happens in a specific path in smb_check_perm_dacl(). When "id" and "uid" have the same value, the function simply jumps out of the loop without decrementing the reference count of the object "posix_acls", which is increased by get_acl() earlier. This may result in memory leaks. Fix it by decreasing the reference count of "posix_acls" before jumping to label "check_access_bits".

How to fix

Remediation Available
linuxDebian
Fixed in:5.18.5-1CVE-2022-49366
Fixed in:5.18.5-1CVE-2022-49366
Fixed in:5.18.5-1CVE-2022-49366

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.24%probability of exploitation in 30 days
16thpercentile

Low risk: more likely to be exploited than 16% of all known CVEs.

References

Embed a live status badge for CVE-2022-49366
CVE-2022-49366 severity badge

Markdown

[![CVE-2022-49366](https://tridentstack.com/cve/badge/CVE-2022-49366.svg)](https://tridentstack.com/cve/CVE-2022-49366)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-49366"><img src="https://tridentstack.com/cve/badge/CVE-2022-49366.svg" alt="CVE-2022-49366"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-10-01.