CVE-2022-3534: Linux Kernel libbpf btf_dump.c btf_dump_name_dups use after free

Published Oct 17, 2022
·
Updated

A vulnerability classified as critical has been found in Linux Kernel. Affected is the function btfdumpnamedups of the file tools/lib/bpf/btfdump.c of the component libbpf. The manipulation leads to use after free. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-211032.

Other sources

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 btfdumpnamedups of the file tools/lib/bpf/btfdump.c of the component libbpf. The manipulation leads to use after free. Upgrading to version 5.10.163, 5.15.86, 6.0.16, 6.1.2 and 6.2 is sufficient to resolve this issue. The identifier of the patch is c61650b869e0b6fb0c0a28ed42d928eea969afc8/fbe08093fb2334549859829ef81d42570812597d/8c64a8e76eb85d422af5ec60ccbf26e3ead8c333/a733bf10198eb5bb927890940de8ab457491ed3b/93c660ca40b5d2f7c1b1626e955a8e9fa30e0749. You should upgrade the affected component.

MITRE

Affected Software

6 affected components
Linux Linux kernel
Debian Debian Linux=11.0
Linux Linux kernel>=5.10<5.10.163
Linux Linux kernel>=5.11<5.15.86
Linux Linux kernel>=5.16<6.0.16
Linux Linux kernel>=6.1<6.1.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux Kernel (libbpf) to a version that resolves this vulnerability.

    Fixed in 5.10.163
  2. Upgrade

    Upgrade Linux Kernel (libbpf) to a version that resolves this vulnerability.

    Fixed in 5.15.86
  3. Upgrade

    Upgrade Linux Kernel (libbpf) to a version that resolves this vulnerability.

    Fixed in 6.0.16
  4. Upgrade

    Upgrade Linux Kernel (libbpf) to a version that resolves this vulnerability.

    Fixed in 6.1.2
  5. Upgrade

    Upgrade Linux Kernel (libbpf) to a version that resolves this vulnerability.

    Fixed in 6.2
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch c61650b869e0b6fb0c0a28ed42d928eea969afc8/fbe08093fb2334549859829ef81d42570812597d/8c64a8e76eb85d422af5ec60ccbf26e3ead8c333/a733bf10198eb5bb927890940de8ab457491ed3b/93c660ca40b5d2f7c1b1626e955a8e9fa30e0749

Event History

Oct 17, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 21, 58542
Event
via NVD·11:57 AM

Frequently Asked Questions

1

What is the severity of CVE-2022-3534?

CVE-2022-3534 has been classified as a critical vulnerability.

2

How do I fix CVE-2022-3534?

To address CVE-2022-3534, it is recommended to apply the latest patches provided for the Linux Kernel.

3

What is the risk associated with CVE-2022-3534?

The risk associated with CVE-2022-3534 involves potential use after free vulnerabilities which can lead to security breaches.

4

Which component is affected by CVE-2022-3534?

CVE-2022-3534 affects the libbpf component in the Linux Kernel.

5

What function is vulnerable in CVE-2022-3534?

The function btf_dump_name_dups in tools/lib/bpf/btf_dump.c is vulnerable in CVE-2022-3534.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203