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

CVE-2022-49548 bpf: Fix potential array overflow in bpf_trampoline_get_progs()

설명

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix potential array overflow in bpf_trampoline_get_progs() The cnt value in the 'cnt >= BPF_MAX_TRAMP_PROGS' check does not include BPF_TRAMP_MODIFY_RETURN bpf programs, so the number of the attached BPF_TRAMP_MODIFY_RETURN bpf programs in a trampoline can exceed BPF_MAX_TRAMP_PROGS. When this happens, the assignment '*progs++ = aux->prog' in bpf_trampoline_get_progs() will cause progs array overflow as the progs field in the bpf_tramp_progs struct can only hold at most BPF_MAX_TRAMP_PROGS bpf programs.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.7

    해결 버전

    • 5.7 미만
    • 5.10.120 이상
    • 5.15.45 이상
    • 5.17.13 이상
    • 5.18.2 이상

참고 자료 5건

‹ 목록

점검 지원 범위 문의

도입 문의