CVE-2021-4090 Memory corruption in kernel

High 7.1 Published Updated

A local attacker can exploit an out-of-bounds write in the Linux kernel NFSD to access unauthorized memory, compromising system integrity and confidentiality.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-4090?

CVE-2021-4090 is a high-severity memory corruption vulnerability in Linux kernel, published on 18 Feb 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An out-of-bounds (OOB) memory write flaw was found in the NFSD in the Linux kernel. Missing sanity may lead to a write beyond bmval[bmlen-1] in nfsd4_decode_bitmap4 in fs/nfsd/nfs4xdr.c. In this flaw, a local attacker with user privilege may gain access to out-of-bounds memory, leading to a system integrity and confidentiality threat.

Weakness: CWE-787

Which versions are affected by CVE-2021-4090?

It affects 9 products.

Products include Linux kernel, Netapp H300e Firmware, Netapp H300s Firmware, Netapp H410c Firmware, Netapp H410s Firmware, Netapp H500e Firmware and 3 more.

How do I fix CVE-2021-4090?

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-2021-4090 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-8654, DEBIAN-CVE-2021-4090, GHSA-rwxr-f4qj-9x36, UBUNTU-CVE-2021-4090.

Is CVE-2021-4090 in your software?

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

Check your SBOMs for free