Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-49366

published medium CVSS 3.1 · 5.5

ksmbd: fix reference count leak in smb_check_perm_dacl()

Published
26 Feb 2025, 02:11:11 UTC
Updated
11 May 2026, 18:58:17 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux777cad1604d68ed4379ec899d1f7d2f6a29f01f0 to < cf824b95c12a1abacadbc2d069931963221a3414 · 777cad1604d68ed4379ec899d1f7d2f6a29f01f0 to < 248d71b440aef829f5cc5f6545ca113ef5062900 · 777cad1604d68ed4379ec899d1f7d2f6a29f01f0 to < 9758a6653c27867d810de02b4e5697163dda9883 · 777cad1604d68ed4379ec899d1f7d2f6a29f01f0 to < d21a580dafc69aa04f46e6099616146a536b0724 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.47 through 5.15.* (unaffected · semver) · 5.17.15 through 5.17.* (unaffected · semver) · 5.18.4 through 5.18.* (unaffected · semver) · 5.19 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

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".

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.5 / 10
Severity
medium
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 777cad1604d68ed4379ec899d1f7d2f6a29f01f0 to < cf824b95c12a1abacadbc2d069931963221a3414 (affected · git)777cad1604d68ed4379ec899d1f7d2f6a29f01f0 to < 248d71b440aef829f5cc5f6545ca113ef5062900 (affected · git)777cad1604d68ed4379ec899d1f7d2f6a29f01f0 to < 9758a6653c27867d810de02b4e5697163dda9883 (affected · git)777cad1604d68ed4379ec899d1f7d2f6a29f01f0 to < d21a580dafc69aa04f46e6099616146a536b0724 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.47 through 5.15.* (unaffected · semver)5.17.15 through 5.17.* (unaffected · semver)5.18.4 through 5.18.* (unaffected · semver)5.19 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-noinfo Not enough information (CISA-ADP · adp)

References

4

Provider assertions

2

Linux · cna

ksmbd: fix reference count leak in smb_check_perm_dacl()

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
6038e17c9a6b778e9cb84da1e6ba055476613268a243b844f86d145eed07c979
Ingested
23 Sep 2026, 08:04:12 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected