CVE-2021-4023 Denial of service in kernel

Medium 5.5 Published Updated

A local user can crash the Linux kernel by triggering an improper cancellation in io-uring during free space shortages.

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

CVE-2021-4023 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 9 Mar 2022. 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 io-workqueue implementation in the Linux kernel versions prior to 5.15-rc1. The kernel can panic when an improper cancellation operation triggers the submission of new io-uring operations during a shortage of free space. This flaw allows a local user with permissions to execute io-uring requests to possibly crash the system.

Weakness: CWE-200

Which versions are affected by CVE-2021-4023?

It affects 2 products.

Products include Fedoraproject Fedora, Linux kernel.

How do I fix CVE-2021-4023?

Upgrade to a fixed version.

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-4023 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-4023, GHSA-rfvh-hg5j-x539, ROOT-OS-DEBIAN-11-CVE-2021-4023, UBUNTU-CVE-2021-4023.

Is CVE-2021-4023 in your software?

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

Check your SBOMs for free