Vulnerability · Published Oct 17, 2022 · Assigned by VulDB
CVE-2022-3534Linux Kernel libbpf btf_dump.c btf_dump_name_dups use after free
Medium 5.5
In plain English
A medium-severity use-after-free in Kernel from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libbpf | 1.1.0-1 | DEBIAN-CVE-2022-3534 |
| Debian:13 | libbpf | 1.1.0-1 | DEBIAN-CVE-2022-3534 |
| Debian:14 | libbpf | 1.1.0-1 | DEBIAN-CVE-2022-3534 |
| Ubuntu:22.04:LTS | libbpf | 0.5.0-1ubuntu22.04.1 | USN-5759-1 |
| Ubuntu:22.04:LTS | libbpf | 0.5.0-1ubuntu22.04.1 | UBUNTU-CVE-2022-3534 |
Affected products (as reported)
Weakness: CWE-416, CWE-119 · Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C
References
- VDB-211032 | Linux Kernel libbpf btf_dump.c btf_dump_name_dups use after free vdb-entry, technical-description
- VDB-211032 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- CVE-2022-3534 | CVE Analysis and Report third-party-advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/commit/?id=93c660ca40b5d2f7c1b1626e955a8e9fa30e0749 patch
- https://www.kernel.org/ product
- https://vuldb.com/?id.211032 x_transferred
- https://lists.debian.org/debian-lts-announce/2025/04/msg00033.html
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html