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

CVE-2023-54033 bpf: fix a memory leak in the LRU and LRU_PERCPU hash maps

설명

In the Linux kernel, the following vulnerability has been resolved: bpf: fix a memory leak in the LRU and LRU_PERCPU hash maps The LRU and LRU_PERCPU maps allocate a new element on update before locking the target hash table bucket. Right after that the maps try to lock the bucket. If this fails, then maps return -EBUSY to the caller without releasing the allocated element. This makes the element untracked: it doesn't belong to either of free lists, and it doesn't belong to the hash table, so can't be re-used; this eventually leads to the permanent -ENOMEM on LRU map updates, which is unexpected. Fix this by returning the element to the local free list if bucket locking fails.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.11

    해결 버전

    • 5.11 미만
    • 5.15.115 이상
    • 6.1.31 이상
    • 6.3.5 이상

참고 자료 4건

‹ 목록

점검 지원 범위 문의

도입 문의