cve.bz

CVE-2022-2905 Out-of-bounds Read

5.5 mediumExploit referenceEPSS 0.4%Fix available

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

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

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
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; 31st percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
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-2905 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-2905?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-2905?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-2905 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-2905

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

HTML:

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

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelbefore 6.0
linux:linux_kernel6.0:rc1
linux:linux_kernel6.0:rc2
linux:linux_kernel6.0:rc3
redhat:enterprise_linux8.0
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux-5.105.10.149-2~deb10u1DLA-3173-1
Debian12, 13, 14linux5.19.6-1DEBIAN-CVE-2022-2905
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2022-2905
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 11 moreno fix listedUBUNTU-CVE-2022-2905
Ubuntu20.04:LTSlinux-aws-5.15, linux-riscv-5.155.15.0-1023.27~20.04.1UBUNTU-CVE-2022-2905 USN-5729-1
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1023.29~20.04.1UBUNTU-CVE-2022-2905 USN-5729-1
Ubuntu20.04:LTSlinux-azure-fde-5.155.15.0-1029.36~20.04.1.1UBUNTU-CVE-2022-2905
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1022.29~20.04.1UBUNTU-CVE-2022-2905 USN-5729-2
Ubuntu20.04:LTSlinux-gke-5.155.15.0-1020.25~20.04.1UBUNTU-CVE-2022-2905 USN-5729-2
Ubuntu20.04:LTSlinux-gkeop-5.155.15.0-1008.12~20.04.1UBUNTU-CVE-2022-2905
Ubuntu20.04:LTSlinux-hwe-5.15, linux-lowlatency-hwe-5.155.15.0-53.59~20.04.1UBUNTU-CVE-2022-2905 USN-5729-1
Ubuntu20.04:LTSlinux-intel-iotg-5.155.15.0-1018.23~20.04.1UBUNTU-CVE-2022-2905
Ubuntu20.04:LTSlinux-oracle-5.155.15.0-1022.28~20.04.1UBUNTU-CVE-2022-2905 USN-5729-1
Ubuntu20.04:LTSlinux-riscv, linux-raspi2, linux-aws-5.8 and 21 moreno fix listedUBUNTU-CVE-2022-2905
16 more for Ubuntu in the JSON and on Ubuntu's page.
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 6 morekernel-default-base5.3.18-150200.24.129.1.150200.9.61.1SUSE-SU-2022:3450-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 3 morekernel-docs, kernel-syms, kernel-source and 3 more5.3.18-150200.24.129.1SUSE-SU-2022:3450-1
SUSEEnterprise Storage 7.1kernel-64kb, kernel-docs, kernel-syms and 3 more5.3.18-150300.59.211.1SUSE-SU-2025:02308-1
SUSEEnterprise Storage 7.1, Linux Enterprise Micro 5.1, Linux Enterprise Micro 5.2 and 2 morekernel-default-base5.3.18-150300.59.211.1.150300.18.126.1SUSE-SU-2025:02308-1
SUSEEnterprise Storage 7.1, Linux Enterprise Server 15 SP3-LTSS, Linux Enterprise Server for SAP Applications 15 SP3kernel-obs-build5.3.18-150300.59.212.1SUSE-SU-2025:02308-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.129.1SUSE-SU-2022:3450-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.211.1SUSE-SU-2025:02308-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 2 morekernel-default5.3.18-150300.59.93.1SUSE-SU-2022:3264-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Module for Legacy 15 SP4 and 1 morekernel-default5.14.21-150400.24.21.2SUSE-SU-2022:3293-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Micro 5.3, Linux Enterprise Micro 5.4 and 1 morekernel-default5.14.21-150400.24.170.2SUSE-SU-2025:02537-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSSkernel-64kb, kernel-default, kernel-obs-build5.14.21-150400.24.170.2SUSE-SU-2025:02537-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 morekernel-default-base5.14.21-150400.24.170.2.150400.24.86.2SUSE-SU-2025:02537-1
38 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.3dtb-aarch64, kernel-64kb, kernel-docs and 9 more5.3.18-150300.59.93.1SUSE-SU-2022:3264-1
openSUSELeap 15.3kernel-azure, kernel-syms-azure, kernel-source-azure5.3.18-150300.38.80.1SUSE-SU-2022:3609-1
openSUSELeap 15.3, Leap Micro 5.2kernel-default-base5.3.18-150300.59.93.1.150300.18.54.1SUSE-SU-2022:3264-1
openSUSELeap 15.4dtb-aarch645.3.18-150300.59.93.1SUSE-SU-2022:3264-1
openSUSELeap 15.4dtb-aarch64, kernel-syms, kernel-obs-qa5.14.21-150400.24.21.1SUSE-SU-2022:3293-1
openSUSELeap 15.4kernel-64kb, kernel-debug, kernel-source and 4 more5.14.21-150400.24.21.2SUSE-SU-2022:3293-1
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.13.1SUSE-SU-2022:3288-1
openSUSELeap 15.4kernel-default-base5.14.21-150400.24.21.2.150400.24.7.2SUSE-SU-2022:3293-1
openSUSELeap 15.4kernel-docs5.14.21-150400.24.21.3SUSE-SU-2022:3293-1
openSUSELeap 15.4kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150400.15.5.1SUSE-SU-2022:4617-1
openSUSELeap Micro 5.2kernel-default5.3.18-150300.59.93.1SUSE-SU-2022:3264-1
openSUSELeap Micro 5.2kernel-rt5.3.18-150300.106.1SUSE-SU-2022:3809-1
Azure Linux2kernel5.15.70.1-1AZL-10922

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; Microsoft's Azure Linux vulnerability data, MIT. 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 statement

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

For the Red Hat Enterprise Linux 8 or 9 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 capabilities.

Note: a fix for this CVE may be backported as a part of one of the future BPF subsystem rebases.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

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

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-166-10Siemens SIMATIC S7-1500 TM MFP BIOS2023-06-13MultipleSIMATIC S7-1500 TM MFP - BIOSnone listed
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)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON