kcve.ai취약점 정보 · 내 자산 확인

CVE-2024-50210 posix-clock: posix-clock: Fix unbalanced locking in pc_clock_settime()

설명

In the Linux kernel, the following vulnerability has been resolved: posix-clock: posix-clock: Fix unbalanced locking in pc_clock_settime() If get_clock_desc() succeeds, it calls fget() for the clockid's fd, and get the clk->rwsem read lock, so the error path should release the lock to make the lock balance and fput the clockid's fd to make the refcount balance and release the fd related resource. However the below commit left the error path locked behind resulting in unbalanced locking. Check timespec64_valid_strict() before get_clock_desc() to fix it, because the "ts" is not changed after that. [pabeni@redhat.com: fixed commit message typo]

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.10.228 이상 5.10.229 미만
    • 5.15.169 이상 5.15.170 미만
    • 6.1.114 이상 6.1.115 미만
    • 6.6.58 이상 6.6.59 미만
    • 6.11.5 이상 6.11.6 미만

    해결 버전

    • 5.10.229 이상
    • 5.15.170 이상
    • 6.1.115 이상
    • 6.6.59 이상
    • 6.11.6 이상

참고 자료 8건

‹ 목록

점검 지원 범위 문의

도입 문의