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

CVE-2024-38574 libbpf: Prevent null-pointer dereference when prog to load has no BTF

설명

In the Linux kernel, the following vulnerability has been resolved: libbpf: Prevent null-pointer dereference when prog to load has no BTF In bpf_objec_load_prog(), there's no guarantee that obj->btf is non-NULL when passing it to btf__fd(), and this function does not perform any check before dereferencing its argument (as bpf_object__btf_fd() used to do). As a consequence, we get segmentation fault errors in bpftool (for example) when trying to load programs that come without BTF information. v2: Keep btf__fd() in the fix instead of reverting to bpf_object__btf_fd().

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 6.8

    해결 버전

    • 6.8 미만
    • 6.8.12 이상
    • 6.9.3 이상

참고 자료 3건

‹ 목록

점검 지원 범위 문의

도입 문의