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

CVE-2024-26878 quota: Fix potential NULL pointer dereference

설명

In the Linux kernel, the following vulnerability has been resolved: quota: Fix potential NULL pointer dereference Below race may cause NULL pointer dereference P1 P2 dquot_free_inode quota_off drop_dquot_ref remove_dquot_ref dquots = i_dquot(inode) dquots = i_dquot(inode) srcu_read_lock dquots[cnt]) != NULL (1) dquots[type] = NULL (2) spin_lock(&dquots[cnt]->dq_dqb_lock) (3) .... If dquot_free_inode(or other routines) checks inode's quota pointers (1) before quota_off sets it to NULL(2) and use it (3) after that, NULL pointer dereference will be triggered. So let's fix it by using a temporary pointer to avoid this issue.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 4.14

    해결 버전

    • 4.14 미만
    • 4.19.311 이상
    • 5.4.273 이상
    • 5.10.214 이상
    • 5.15.153 이상
    • 6.1.83 이상
    • 6.6.23 이상
    • 6.7.11 이상
    외 1개 구간 펼치기
    • 6.8.2 이상

참고 자료 9건

‹ 목록

점검 지원 범위 문의

도입 문의