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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Kernel | 5.10.162, 5.15.0, 5.15.1, 5.15.2, 5.15.3, 5.15.4, 5.15.5, 5.15.6, 5.15.7, 5.15.8, 5.15.9, 5.15.10, 5.15.11, 5.15.12, 5.15.13, 5.15.14, 5.15.15, 5.15.16, 5.15.17, 5.15.18, 5.15.19, 5.15.20, 5.15.21, 5.15.22, 5.15.23, 5.15.24, 5.15.25, 5.15.26, 5.15.27, 5.15.28, 5.15.29, 5.15.30, 5.15.31, 5.15.32, 5.… | 5.10.163 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libbpf | 1.1.0-1 | — |
| Debian 13 | libbpf | 1.1.0-1 | — |
| Debian 12 | libbpf | 1.1.0-1 | — |
| Debian 11 | libbpf | 0.3-2+deb11u1 | DLA-4137-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | libbpf | 0.5.0-1ubuntu22.04.1 | USN-5759-1 |
| Ubuntu 20.04 LTS | dwarves-dfsg | 1.21-0ubuntu1~20.04.1 | USN-6215-1 |
| Ubuntu 16.04 LTS | dwarves-dfsg | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | libbpf | 0.5.0-1~ubuntu20.04.1+esm1 | USN-5759-2 |
| Ubuntu Pro 18.04 LTS | dwarves-dfsg | 1.21-0ubuntu1~18.04.1+esm1 | USN-6215-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | libbpf | 0.5.0-150400.3.3.1 | SUSE-SU-2023:0405-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.4 | libbpf | 0.5.0-150400.3.3.1 | SUSE-SU-2023:0405-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | kernel-livepatch-6.1.10-15.42 | 1.0-0.amzn2023 | ALAS2023-2023-070 |
| Amazon Linux 2023 | perf +12 | 6.1.10-15.42.amzn2023 | ALAS2023-2023-070 |
| Amazon Linux 2 | libbpf +2 | 0.5.0-2.amzn2.0.3 | ALAS2-2022-1889 |
Advisories 11
- SSA-794697 SSA-794697: Vulnerabilities in the Additional GNU/Linux Subsystem of the SIMATIC S7-1500 TM MFP Before V1.1 Siemens ProductCERT · Oct 13, 2026
- USN-6215-1 dwarves-dfsg vulnerabilities Ubuntu Security Notices (USN) · Jul 30, 2026
- USN-5759-2 libbpf vulnerabilities Ubuntu Security Notices (USN) · Jul 30, 2026
- USN-5759-1 libbpf vulnerabilities Ubuntu Security Notices (USN) · Jul 30, 2026
- DLA-4137-1 libbpf - security update Debian Security (DSA / DLA) · Mar 9, 2026
- WID-SEC-2022-1761 Linux Kernel: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 18, 2026
- SUSE-SU-2023:0405-1 Security update for libbpf SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2023-2023-070 Important: kernel security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Apr 10, 2024
- ICSA-23-166-11 Siemens SIMATIC S7-1500 TM MFP Linux Kernel CISA ICS & IT advisories · Apr 9, 2024
- WID-SEC-2023-1432 Siemens SIMATIC S7: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 22, 2023
- ALAS2-2022-1889 Important: libbpf security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Dec 6, 2022
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