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

CVE-2024-58094 jfs: add check read-only before truncation in jfs_truncate_nolock()

설명

In the Linux kernel, the following vulnerability has been resolved: jfs: add check read-only before truncation in jfs_truncate_nolock() Added a check for "read-only" mode in the `jfs_truncate_nolock` function to avoid errors related to writing to a read-only filesystem. Call stack: block_write_begin() { jfs_write_failed() { jfs_truncate() { jfs_truncate_nolock() { txEnd() { ... log = JFS_SBI(tblk->sb)->log; // (log == NULL) If the `isReadOnly(ip)` condition is triggered in `jfs_truncate_nolock`, the function execution will stop, and no further data modification will occur. Instead, the `xtTruncate` function will be called with the "COMMIT_WMAP" flag, preventing modifications in "read-only" mode.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 2.6.12

    해결 버전

    • 2.6.12 미만
    • 5.10.269 이상
    • 5.15.220 이상
    • 6.1.187 이상
    • 6.6.156 이상
    • 6.12.108 이상
    • 6.14.2 이상

참고 자료 7건

‹ 목록

점검 지원 범위 문의

도입 문의