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

CVE-2026-53050 quota: Fix race of dquot_scan_active() with quota deactivation

설명

In the Linux kernel, the following vulnerability has been resolved: quota: Fix race of dquot_scan_active() with quota deactivation dquot_scan_active() can race with quota deactivation in quota_release_workfn() like: CPU0 (quota_release_workfn) CPU1 (dquot_scan_active) ============================== ============================== spin_lock(&dq_list_lock); list_replace_init( &releasing_dquots, &rls_head); /* dquot X on rls_head, dq_count == 0, DQ_ACTIVE_B still set */ spin_unlock(&dq_list_lock); synchronize_srcu(&dquot_srcu); spin_lock(&dq_list_lock); list_for_each_entry(dquot, &inuse_list, dq_inuse) { /* finds dquot X */ dquot_active(X) -> true atomic_inc(&X->dq_count); } spin_unlock(&dq_list_lock); spin_lock(&dq_list_lock); dquot = list_first_entry(&rls_head); WARN_ON_ONCE(atomic_read(&dquot->dq_count)); The problem is not only a cosmetic one as under memory pressure the caller of dquot_scan_active() can end up working on freed dquot. Fix the problem by making sure the dquot is removed from releasing list when we acquire a reference to it.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.10.199 이상 5.10.258 미만
    • 5.15.136 이상 5.15.209 미만
    • 6.1.59 이상 6.1.175 미만
    • 4.19.297 이상 4.20 미만
    • 5.4.259 이상 5.5 미만
    • 6.5.8 이상 6.6 미만
    • 6.6

    해결 버전

    • 5.10.258 이상
    • 5.15.209 이상
    • 6.1.175 이상
    • 4.20 이상
    • 5.5 이상
    • 6.6 이상
    • 6.6 미만
    • 6.6.141 이상
    외 3개 구간 펼치기
    • 6.12.91 이상
    • 6.18.33 이상
    • 7.0.10 이상

참고 자료 8건

‹ 목록

점검 지원 범위 문의

도입 문의