CVE-2021-20265 Denial of service in kernel

Medium 5.5 Published Updated

An unprivileged local user can crash the Linux kernel by exhausting memory resources via a flaw in unix_stream_recvmsg.

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-20265?

CVE-2021-20265 is a medium-severity denial of service vulnerability in Linux kernel, published on 10 Mar 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A flaw was found in the way memory resources were freed in the unix_stream_recvmsg function in the Linux kernel when a signal was pending. This flaw allows an unprivileged local user to crash the system by exhausting available memory. The highest threat from this vulnerability is to system availability.

Weakness: CWE-401, CWE-400

Which versions are affected by CVE-2021-20265?

It affects 2 products.

Products include Linux kernel, Oracle Tekelec Platform Distribution.

How do I fix CVE-2021-20265?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-20265 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-20265, GHSA-7j7j-cjf4-3c2x, UBUNTU-CVE-2021-20265.

Is CVE-2021-20265 in your software?

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

Check your SBOMs for free