---
id: CVE-2022-2905
title: >-
  An out-of-bounds memory read flaw was found in the Linux kernel's BPF
  subsystem in how a user calls the bpf_tail_call function with a key larger
  than the max_entries of the map
summary: >-
  An out-of-bounds memory read flaw was found in the Linux kernel's BPF
  subsystem in how a user calls the bpf_tail_call function with a key larger
  than the max_entries of the map. This flaw allows a local user to gain
  unauthorized access t…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-125
  - CWE-125
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 6.0
  - linux_kernel = 6.0
  - enterprise_linux = 8.0
  - debian_linux = 10.0
patched:
  - linux_kernel 6.0
published: '2022-09-09'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T14:17:22.160'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-2905'
references:
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2121800'
    label: secalert@redhat.com
  - url: 'https://lists.debian.org/debian-lts-announce/2022/11/msg00001.html'
    label: secalert@redhat.com
  - url: >-
      https://lore.kernel.org/bpf/984b37f9fdf7ac36831d2137415a4a915744c1b6.1661462653.git.daniel%40iogearbox.net/
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2121800'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2022/11/msg00001.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lore.kernel.org/bpf/984b37f9fdf7ac36831d2137415a4a915744c1b6.1661462653.git.daniel%40iogearbox.net/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-794697.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-831302.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
epss: 0.00355
epssPercentile: 0.2743
ingestedAt: '2026-10-14T15:36:13.918Z'
---

## Overview

An out-of-bounds memory read flaw was found in the Linux kernel's BPF subsystem in how a user calls the bpf_tail_call function with a key larger than the max_entries of the map. This flaw allows a local user to gain unauthorized access to data.

## Affected

- `linux_kernel < 6.0`
- `linux_kernel = 6.0`
- `enterprise_linux = 8.0`
- `debian_linux = 10.0`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.0`
