---
id: CVE-2022-0500
title: >-
  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
summary: >-
  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
  the…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-119
  - CWE-787
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 5.10, < 5.15.37'
  - 'linux_kernel >= 5.16, < 5.16.11'
  - fedora = 34
  - fedora = 35
  - h300e_firmware
  - h300s_firmware
  - h410c_firmware
  - h410s_firmware
  - h500e_firmware
  - h500s_firmware
  - h700e_firmware
  - h700s_firmware
patched:
  - linux_kernel 5.16.11
published: '2022-03-25'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T22:17:14.853'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-0500'
references:
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2044578'
    label: secalert@redhat.com
  - url: >-
      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=20b2aff4bc15bda809f994761d5719827d66c0b4
    label: secalert@redhat.com
  - url: >-
      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=216e3cd2f28dbbf1fe86848e0e29e6693b9f0a20
    label: secalert@redhat.com
  - url: >-
      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=34d3a78c681e8e7844b43d1a2f4671a04249c821
    label: secalert@redhat.com
  - url: >-
      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3c4807322660d4290ac9062c034aed6b87243861
    label: secalert@redhat.com
  - url: >-
      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=48946bd6a5d695c50b34546864b79c1f910a33c1
    label: secalert@redhat.com
  - url: >-
      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c25b2ae136039ffa820c26138ed4a5e5f3ab3841
    label: secalert@redhat.com
  - url: >-
      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cf9f2f8d62eca810afbd1ee6cc0800202b000e57
    label: secalert@redhat.com
  - url: 'https://security.netapp.com/advisory/ntap-20220519-0001/'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2044578'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=20b2aff4bc15bda809f994761d5719827d66c0b4
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=216e3cd2f28dbbf1fe86848e0e29e6693b9f0a20
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=34d3a78c681e8e7844b43d1a2f4671a04249c821
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3c4807322660d4290ac9062c034aed6b87243861
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=48946bd6a5d695c50b34546864b79c1f910a33c1
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c25b2ae136039ffa820c26138ed4a5e5f3ab3841
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cf9f2f8d62eca810afbd1ee6cc0800202b000e57
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20220519-0001/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-0500.json
  - url: 'https://access.redhat.com/security/cve/CVE-2022-0500'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2022-0500'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2022-0500'
  - url: 'https://access.redhat.com/errata/RHSA-2024:0724'
  - url: 'https://access.redhat.com/errata/RHSA-2024:3138'
  - url: 'https://access.redhat.com/errata/RHSA-2024:10262'
  - url: 'https://access.redhat.com/errata/RHSA-2024:2950'
tags:
  - nvd
  - csaf
  - vex
  - red-hat
  - cve.org
epss: 0.00355
epssPercentile: 0.29032
ingestedAt: '2026-10-08T23:16:47.339Z'
scores:
  nvd: 7.8
  vendor: 7
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-08T21:09:57.754251Z'
---

## Overview

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.

## Affected

- `linux_kernel >= 5.10, < 5.15.37`
- `linux_kernel >= 5.16, < 5.16.11`
- `fedora = 34`
- `fedora = 35`
- `h300e_firmware`
- `h300s_firmware`
- `h410c_firmware`
- `h410s_firmware`
- `h500e_firmware`
- `h500s_firmware`
- `h700e_firmware`
- `h700s_firmware`

## Remediation

Upgrade past the affected range:

- `linux_kernel 5.16.11`

## Vendor advisories

- **RHSA-2024:0724** · Red Hat · fixed in: Red Hat Virtualization 4 Hypervisor for RHEL 8, Red Hat Enterprise Linux BaseOS EUS (v.8.6), Red Hat CodeReady Linux Builder EUS (v.8.6) · released 2024-02-07 · [advisory](https://access.redhat.com/errata/RHSA-2024:0724)
- **RHSA-2024:3138** · Red Hat · fixed in: Red Hat Enterprise Linux BaseOS (v. 8), Red Hat Enterprise Linux CRB (v. 8) · released 2024-05-22 · [advisory](https://access.redhat.com/errata/RHSA-2024:3138)
- **RHSA-2024:10262** · Red Hat · fixed in: Red Hat Enterprise Linux BaseOS EUS (v.8.8), Red Hat CodeReady Linux Builder EUS (v.8.8) · released 2024-11-26 · [advisory](https://access.redhat.com/errata/RHSA-2024:10262)
- **RHSA-2024:2950** · Red Hat · fixed in: Red Hat Enterprise Linux NFV (v. 8), Red Hat Enterprise Linux RT (v. 8) · released 2024-05-22 · [advisory](https://access.redhat.com/errata/RHSA-2024:2950)
- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 9 · updated 2026-10-09 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-0500.json)
