{"id":"CVE-2022-49366","published":"2025-02-26T02:11:11Z","modified":"2026-05-11T18:58:17Z","title":"ksmbd: fix reference count leak in smb_check_perm_dacl()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix reference count leak in smb_check_perm_dacl()\n\nThe issue happens in a specific path in smb_check_perm_dacl(). When\n\"id\" and \"uid\" have the same value, the function simply jumps out of\nthe loop without decrementing the reference count of the object\n\"posix_acls\", which is increased by get_acl() earlier. This may\nresult in memory leaks.\n\nFix it by decreasing the reference count of \"posix_acls\" before\njumping to label \"check_access_bits\".","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00261,"percentile":0.18263,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/cf824b95c12a1abacadbc2d069931963221a3414","tags":[]},{"url":"https://git.kernel.org/stable/c/248d71b440aef829f5cc5f6545ca113ef5062900","tags":[]},{"url":"https://git.kernel.org/stable/c/9758a6653c27867d810de02b4e5697163dda9883","tags":[]},{"url":"https://git.kernel.org/stable/c/d21a580dafc69aa04f46e6099616146a536b0724","tags":[]}],"priority":{"score":7.5,"factors":[{"name":"EPSS percentile","points":3.65},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 777cad1604d68ed4379ec899d1f7d2f6a29f01f0, < cf824b95c12a1abacadbc2d069931963221a3414",">= 777cad1604d68ed4379ec899d1f7d2f6a29f01f0, < 248d71b440aef829f5cc5f6545ca113ef5062900",">= 777cad1604d68ed4379ec899d1f7d2f6a29f01f0, < 9758a6653c27867d810de02b4e5697163dda9883",">= 777cad1604d68ed4379ec899d1f7d2f6a29f01f0, < d21a580dafc69aa04f46e6099616146a536b0724"]},{"vendor":"Linux","product":"Linux","versions":["5.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T19:42:34.679399Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-54863","exploited":false,"provenance":"source"}}