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

CVE-2024-42084 ftruncate: pass a signed offset

설명

In the Linux kernel, the following vulnerability has been resolved: ftruncate: pass a signed offset The old ftruncate() syscall, using the 32-bit off_t misses a sign extension when called in compat mode on 64-bit architectures. As a result, passing a negative length accidentally succeeds in truncating to file size between 2GiB and 4GiB. Changing the type of the compat syscall to the signed compat_off_t changes the behavior so it instead returns -EINVAL. The native entry point, the truncate() syscall and the corresponding loff_t based variants are all correct already and do not suffer from this mistake.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 3.9

    해결 버전

    • 3.9 미만
    • 4.19.317 이상
    • 5.4.279 이상
    • 5.10.221 이상
    • 5.15.162 이상
    • 6.1.97 이상
    • 6.6.37 이상
    • 6.9.8 이상

참고 자료 8건

‹ 목록

점검 지원 범위 문의

도입 문의