cve.bz

CVE-2022-3534 Use After Free

5.1 mediumEPSS 1.0%Fix available

Medium (5.1). EPSS 1.0% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

5.1 medium
CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

CVSS 3.1

8.0 high
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 62nd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-04-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-3534 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-3534?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-3534?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-3534 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2022-3534

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2022-3534](https://cve.bz/cve/badge/CVE-2022-3534.svg)](https://cve.bz/cve/CVE-2022-3534)

HTML:

<a href="https://cve.bz/cve/CVE-2022-3534"><img src="https://cve.bz/cve/badge/CVE-2022-3534.svg" alt="CVE-2022-3534"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
debian:debian_linux11.0
linux:linux_kernelfrom 5.10 before 5.10.163
linux:linux_kernelfrom 5.11 before 5.15.86
linux:linux_kernelfrom 5.16 before 6.0.16
linux:linux_kernelfrom 6.1 before 6.1.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11libbpf0.3-2+deb11u1DLA-4137-1
Debian12, 13, 14libbpf1.1.0-1DEBIAN-CVE-2022-3534
Ubuntu16.04:LTSdwarves-dfsgno fix listedUBUNTU-CVE-2022-3534
Ubuntu20.04:LTSdwarves-dfsg1.21-0ubuntu1~20.04.1UBUNTU-CVE-2022-3534 USN-6215-1
Ubuntu22.04:LTSlibbpf0.5.0-1ubuntu22.04.1UBUNTU-CVE-2022-3534 USN-5759-1
UbuntuPro:18.04:LTSdwarves-dfsg1.21-0ubuntu1~18.04.1+esm1UBUNTU-CVE-2022-3534 USN-6215-1
UbuntuPro:20.04:LTSlibbpf0.5.0-1~ubuntu20.04.1+esm1UBUNTU-CVE-2022-3534 USN-5759-2
SUSELinux Enterprise Module for Basesystem 15 SP4libbpf0.5.0-150400.3.3.1SUSE-SU-2023:0405-1
openSUSELeap 15.4libbpf0.5.0-150400.3.3.1SUSE-SU-2023:0405-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

The default Red Hat Enterprise Linux kernel prevents unprivileged users from being able to use eBPF by the kernel.unprivileged_bpf_disabled sysctl. This would require a privileged user with CAP_SYS_ADMIN or root to be able to abuse this flaw reducing its attack space.

For the Red Hat Enterprise Linux 8 to confirm the current state, inspect the sysctl with the command:

# cat /proc/sys/kernel/unprivileged_bpf_disabled

The setting of 1 would mean that unprivileged users can not use eBPF, mitigating the flaw.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelFix deferred
Red Hat Enterprise Linux 8kernel-rtFix deferred
Red Hat Enterprise Linux 9kernelFix deferred
Red Hat Enterprise Linux 9kernel-rtFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-3534.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-166-11Siemens SIMATIC S7-1500 TM MFP Linux Kernel2023-06-13MultipleSIMATIC S7-1500 TM MFP - GNU/Linux subsystemnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON