kcve.ai취약점 정보 · 내 서버 확인

CVE-2022-49366 ksmbd: fix reference count leak in smb_check_perm_dacl()

설명

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

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.15

    해결 버전

    • 5.15 미만
    • 5.15.47 이상
    • 5.17.15 이상
    • 5.18.4 이상
‹ 목록

운영 중인 서버의 점검 지원 범위가 궁금하면

도입 문의