Skip to content
OpenAdvisories
Medium USN-5759-1 3 CVEs

libbpf vulnerabilities

Published Dec 5, 2022 · Updated Jul 30, 2026

Summary

It was discovered that LibBPF incorrectly handled certain memory operations
under certain circumstances. An attacker could possibly use this issue to
cause LibBPF to crash, resulting in a denial of service, or possibly
execute arbitrary code. This issue only affected Ubuntu 22.10.
(CVE-2021-45940, CVE-2021-45941, CVE-2022-3533)

It was discovered that LibBPF incorrectly handled certain memory operations
under certain circumstances. An attacker could possibly use this issue to
cause LibBPF to crash, resulting in a denial of service, or possibly
execute arbitrary code. (CVE-2022-3534, CVE-2022-3606)

Fixed packages 1

ReleasePackageFixed in
Ubuntu · 22.04 LTS 22.04:LTS libbpf 0.5.0-1ubuntu22.04.1

Vulnerabilities 3

  • Medium 5.5

    Linux Kernel libbpf btf_dump.c btf_dump_name_dups use after free

    A vulnerability has been found in Linux Kernel up to 5.10.162/5.15.85/6.0.15/6.1.1. The impacted element is the function btf_dump_name_dups of the file tools/lib/bpf/btf_dump.c of the component libbpf. The manipulation leads to use after free. Upgrading to ve…

  • Low 3.5

    Linux Kernel BPF usdt.c parse_usdt_arg memory leak

    A vulnerability was found in Linux Kernel. It has been rated as problematic. This issue affects the function parse_usdt_arg of the file tools/lib/bpf/usdt.c of the component BPF. The manipulation of the argument reg_name leads to memory leak. It is recommende…

  • Low 3.5

    Linux Kernel BPF libbpf.c find_prog_by_sec_insn null pointer dereference

    A vulnerability was found in Linux Kernel. It has been classified as problematic. This affects the function find_prog_by_sec_insn of the file tools/lib/bpf/libbpf.c of the component BPF. The manipulation leads to null pointer dereference. It is recommended to…

References

  • report
    https://ubuntu.com/security/CVE-2021-45940
  • report
    https://ubuntu.com/security/CVE-2021-45941
  • report
    https://ubuntu.com/security/CVE-2022-3533
  • report
    https://ubuntu.com/security/CVE-2022-3534
  • report
    https://ubuntu.com/security/CVE-2022-3606