cve.bz

CVE-2022-0500 Out-of-bounds Write

7.8 highEPSS 0.4%Fix available

High (7.8). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in unrestricted eBPF usage by the BPF_BTF_LOAD, leading to a possible out-of-bounds memory write in the Linux kernel’s BPF subsystem due to the way a user loads BTF. This flaw allows a local user to crash or escalate their privileges on the system.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 30th 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: total, assessed 2026-10-08. 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-787 Out-of-bounds Write
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
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-0500 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-0500?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-0500?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-0500 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-0500

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-0500](https://cve.bz/cve/badge/CVE-2022-0500.svg)](https://cve.bz/cve/CVE-2022-0500)

HTML:

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

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelfrom 5.10 before 5.15.37
linux:linux_kernelfrom 5.16 before 5.16.11
fedoraproject:fedora34
fedoraproject:fedora35

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux5.16.10-1DEBIAN-CVE-2022-0500
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2022-0500
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 9 moreno fix listedUBUNTU-CVE-2022-0500
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1014.17~20.04.1UBUNTU-CVE-2022-0500
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1013.18~20.04.1UBUNTU-CVE-2022-0500
Ubuntu20.04:LTSlinux-hwe-5.155.15.0-41.44~20.04.1UBUNTU-CVE-2022-0500
Ubuntu20.04:LTSlinux-intel-iotg-5.155.15.0-1015.20~20.04.2UBUNTU-CVE-2022-0500
Ubuntu20.04:LTSlinux-lowlatency-hwe-5.155.15.0-42.45~20.04.1UBUNTU-CVE-2022-0500
Ubuntu20.04:LTSlinux-oracle-5.155.15.0-1013.17~20.04.1UBUNTU-CVE-2022-0500
Ubuntu20.04:LTSlinux-riscv, linux-raspi2, linux-aws-5.8 and 21 moreno fix listedUBUNTU-CVE-2022-0500
Ubuntu22.04:LTSlinux, linux-lowlatency5.15.0-41.44UBUNTU-CVE-2022-0500 USN-5518-1
Ubuntu22.04:LTSlinux-aws5.15.0-1015.19UBUNTU-CVE-2022-0500 USN-5518-1
Ubuntu22.04:LTSlinux-azure5.15.0-1014.17UBUNTU-CVE-2022-0500 USN-5518-1
11 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-553.el8_10RHSA-2024:3138
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-553.el8_10RHSA-2024:3138
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-553.rt7.342.el8_10RHSA-2024:2950
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-553.rt7.342.el8_10RHSA-2024:2950
Red Hatrhel_eus:8.6::baseosperf, kernel, bpftool and 30 more0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Red Hatrhel_eus:8.6::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Red Hatrhel_eus:8.8::baseosperf, kernel, bpftool and 30 more0:4.18.0-477.81.1.el8_8RHSA-2024:10262
Red Hatrhel_eus:8.8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-477.81.1.el8_8RHSA-2024:10262
Red Hatrhev_hypervisor:4.4::el8perf, kernel-devel, perf-debuginfo and 6 more0:4.18.0-372.91.1.el8_6RHSA-2024:0724
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise Live Patching 15 SP5, Linux Enterprise Micro 5.5 and 2 morekernel-default5.14.21-150500.55.80.2SUSE-SU-2024:3483-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5_Update_191-150500.11.3.2SUSE-SU-2024:3483-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP5kernel-default-base5.14.21-150500.55.80.2.150500.6.35.6SUSE-SU-2024:3483-1
SUSELinux Enterprise Module for Basesystem 15 SP5kernel-64kb, kernel-source, kernel-default and 1 more5.14.21-150500.55.80.2SUSE-SU-2024:3483-1
SUSELinux Enterprise Module for Development Tools 15 SP5kernel-docs, kernel-source5.14.21-150500.55.80.2SUSE-SU-2024:3483-1
SUSELinux Enterprise Module for Development Tools 15 SP5kernel-syms, kernel-obs-build5.14.21-150500.55.80.1SUSE-SU-2024:3483-1
openSUSELeap 15.5dtb-aarch64, kernel-syms, kernel-obs-qa and 1 more5.14.21-150500.55.80.1SUSE-SU-2024:3483-1
openSUSELeap 15.5kernel-64kb, kernel-docs, kernel-debug and 4 more5.14.21-150500.55.80.2SUSE-SU-2024:3483-1
openSUSELeap 15.5, Leap Micro 5.5kernel-default-base5.14.21-150500.55.80.2.150500.6.35.6SUSE-SU-2024:3483-1
openSUSELeap Micro 5.5kernel-default5.14.21-150500.55.80.2SUSE-SU-2024:3483-1
AlmaLinux8kernel-rt, kernel-rt-kvm, kernel-rt-core and 9 more4.18.0-553.rt7.342.el8_10ALSA-2024:2950
AlmaLinux8perf, kernel, bpftool and 22 more4.18.0-553.el8_10ALSA-2024:3138
Rocky Linux8kernel0:4.18.0-553.123.1.el8_10.cloud.0.1RXSA-2024:3138
Rocky Linux8kernel0:4.18.0-553.el8_10RLSA-2024:3138
Rocky Linux8kernel-rt0:4.18.0-553.rt7.342.el8_10RLSA-2024:2950
Azure Linux2kernel5.15.37.1-2AZL-9241

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

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 Red Hat Enterprise Linux 7 the eBPF for unprivileged users is always disabled.

For 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.

A kernel update will be required to mitigate the flaw for the root or users with CAP_SYS_ADMIN (or CAP_BPF) capabilities.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-553.rt7.342.el8_10Fixed 2024-05-22RHSA-2024:2950
Red Hat Enterprise Linux 8kernel-0:4.18.0-553.el8_10Fixed 2024-05-22RHSA-2024:3138
Red Hat Enterprise Linux 8.6 Extended Update Supportkernel-0:4.18.0-372.91.1.el8_6Fixed 2024-02-07RHSA-2024:0724
Red Hat Enterprise Linux 8.8 Extended Update Supportkernel-0:4.18.0-477.81.1.el8_8Fixed 2024-11-26RHSA-2024:10262
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8kernel-0:4.18.0-372.91.1.el8_6Fixed 2024-02-07RHSA-2024:0724
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 9kernelWill not fix
Red Hat Enterprise Linux 9kernel-rtWill not fix

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-0500.

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