CVE-2022-2959 Race condition in kernel

High 7.0 Published Updated

A local attacker can exploit a race condition in the Linux kernel's watch queue to crash the system or escalate privileges.

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-2022-2959?

CVE-2022-2959 is a high-severity 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 race condition was found in the Linux kernel's watch queue due to a missing lock in pipe_resize_ring(). The specific flaw exists within the handling of pipe buffers. The issue results from the lack of proper locking when performing operations on an object. This flaw allows a local user to crash the system or escalate their privileges on the system.

Weakness: CWE-362, CWE-667

Which versions are affected by CVE-2022-2959?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-2959?

Apply the vendor's patch.

Is CVE-2022-2959 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as A-244395411, ASB-A-244395411, AZL-10692, DEBIAN-CVE-2022-2959, GHSA-xfpm-q238-hr33, UBUNTU-CVE-2022-2959.

Is CVE-2022-2959 in your software?

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

Check your SBOMs for free