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

CVE-2024-49957 ocfs2: fix null-ptr-deref when journal load failed.

설명

In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix null-ptr-deref when journal load failed. During the mounting process, if journal_reset() fails because of too short journal, then lead to jbd2_journal_load() fails with NULL j_sb_buffer. Subsequently, ocfs2_journal_shutdown() calls jbd2_journal_flush()->jbd2_cleanup_journal_tail()-> __jbd2_update_log_tail()->jbd2_journal_update_sb_log_tail() ->lock_buffer(journal->j_sb_buffer), resulting in a null-pointer dereference error. To resolve this issue, we should check the JBD2_LOADED flag to ensure the journal was properly loaded. Additionally, use journal instead of osb->journal directly to simplify the code.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 2.6.32

    해결 버전

    • 2.6.32 미만
    • 4.19.323 이상
    • 5.4.285 이상
    • 5.10.227 이상
    • 5.15.168 이상
    • 6.1.113 이상
    • 6.6.55 이상
    • 6.10.14 이상
    외 1개 구간 펼치기
    • 6.11.3 이상

참고 자료 9건

‹ 목록

점검 지원 범위 문의

도입 문의