CVE-2022-2991: linux linux_kernel Heap-based Buffer Overflow
Vulnerability summary
CVE-2022-2991 is a medium (CVSS 6.7) Heap-based Buffer Overflow vulnerability in linux linux_kernel. EPSS estimates a 0.45% chance of exploitation in the next 30 days, higher than 38.1% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 14 · Related 14Timeline
- 25-08-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.7MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated6.7MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.45%
Chance of exploitation in the next 30 days
Percentile
38%
Versus all other CVEs
30-day change
0.00 pp
From 0.45% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-122Heap-based Buffer OverflowA heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Ubuntu69 products
- linux< 4.4.0-239.273 | < 4.15.0-191.202 | < 5.4.0-122.138
- linux-aws< 4.4.0-1117.123 | < 4.4.0-1155.170 | < 4.15.0-1139.150 | < 5.4.0-1081.88
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
- linux-aws-5.13All versions (No fix recorded)
Debian1 product
- linux< 5.15.3-1
Linux1 product
- linux_kernel< 5.15
3 vendors · 71 products