CVE-2022-2991 Memory corruption in kernel

Medium 6.7 Published Updated

A heap-based buffer overflow in the Linux kernel's LightNVM subsystem allows local attackers with high privileges to execute arbitrary code and escalate privileges.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-2991?

CVE-2022-2991 is a medium-severity memory corruption vulnerability in Linux kernel, published on 25 Aug 2022. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2022-2991?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-2991?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-2991 being exploited?

There is no known exploitation of CVE-2022-2991 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-2991, GHSA-9fpj-jhm5-p6h9, UBUNTU-CVE-2022-2991.

Is CVE-2022-2991 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free