CVE-2022-49366
Last modified
CVE-2022-49366 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
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".
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.15, < 5.15.47 |
| Linux | Linux Kernel | >= 5.16, < 5.17.15 |
| Linux | Linux Kernel | >= 5.18, < 5.18.4 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-49366?
How severe is CVE-2022-49366?
How do I fix CVE-2022-49366?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-49360In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49361In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49362In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2022-49363In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49364In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49365In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49367In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49368In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2022-49369In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-4937The WCFM Frontend Manager plugin for WordPress is vulnerable…8.8
- CVE-2022-49370In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49371In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2022-49366?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
