cve.bz

CVE-2022-2991 linux linux kernel: Out-of-bounds Write

6.7 mediumEPSS 0.5%Fix available

Medium (6.7) in linux linux kernel. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
A heap-based buffer overflow was found in the Linux kernel's LightNVM subsystem. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. This vulnerability allows a local attacker to escalate privileges and execute arbitrary code in the context of the kernel. The attacker must first obtain the ability to execute high-privileged code on the target system to exploit this vulnerability.

Severity

CVSS 3.1

6.7 medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 40th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-787 Out-of-bounds Write
CWE-122 Heap-based Buffer Overflow
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-2991 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-2991?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-2991?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-2991 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.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelbefore 5.15

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux5.15.3-1DEBIAN-CVE-2022-2991
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2022-2991
Ubuntu18.04:LTSlinux4.15.0-191.202UBUNTU-CVE-2022-2991
Ubuntu18.04:LTSlinux-aws4.15.0-1139.150UBUNTU-CVE-2022-2991
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1081.88~18.04.1UBUNTU-CVE-2022-2991
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1149.164UBUNTU-CVE-2022-2991
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1086.91~18.04.1UBUNTU-CVE-2022-2991
Ubuntu18.04:LTSlinux-dell300x4.15.0-1051.56UBUNTU-CVE-2022-2991
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2022-2991
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1134.150UBUNTU-CVE-2022-2991
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1084.92~18.04.1UBUNTU-CVE-2022-2991
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-122.138~18.04.1UBUNTU-CVE-2022-2991
Ubuntu18.04:LTSlinux-ibm-5.45.4.0-1029.33~18.04.1UBUNTU-CVE-2022-2991
42 more for Ubuntu in the JSON and on Ubuntu's page.
SUSELinux Enterprise High Availability Extension 12 SP4, Linux Enterprise Live Patching 12 SP4kernel-default4.12.14-95.120.4SUSE-SU-2023:0852-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.150.1SUSE-SU-2023:0634-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1kernel-default4.12.14-150100.197.137.2SUSE-SU-2023:0768-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1kernel-docs, kernel-syms, kernel-source and 2 more4.12.14-150100.197.137.2SUSE-SU-2023:0768-1
SUSELinux Enterprise Live Patching 12 SP4kgraft-patch-SLE12-SP4_Update_2711-2.2SUSE-SU-2023:2023-1
SUSELinux Enterprise Live Patching 12 SP4kgraft-patch-SLE12-SP4_Update_289-2.2SUSE-SU-2023:1971-1
SUSELinux Enterprise Live Patching 12 SP4kgraft-patch-SLE12-SP4_Update_299-2.2SUSE-SU-2023:2007-1
SUSELinux Enterprise Live Patching 12 SP4kgraft-patch-SLE12-SP4_Update_341-6.3.4SUSE-SU-2023:0852-1
SUSELinux Enterprise Live Patching 12 SP5kernel-default4.12.14-122.250.1SUSE-SU-2025:0834-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_3112-2.2SUSE-SU-2023:1973-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_3211-2.2SUSE-SU-2023:1983-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_339-2.2SUSE-SU-2023:2023-1
14 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.4kernel-debug, kernel-default, kernel-vanilla and 2 more4.12.14-150100.197.137.2SUSE-SU-2023:0768-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 Important.

Red Hat's statement

Red Hat Enterprise Linux is not affected by this flaw as CONFIG_NVM is not enabled in any current shipping kernels.

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

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

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

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

References

Check your stackJSON