CVE-2022-29581 Use after free in Kernel

High 7.8 Published Updated

A local attacker can exploit a reference count error in the Linux Kernel scheduler to escalate privileges to root.

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

CVE-2022-29581 is a high-severity use after free vulnerability in Canonical Ubuntu Linux, published on 17 May 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Improper Update of Reference Count vulnerability in net/sched of Linux Kernel allows local attacker to cause privilege escalation to root. This issue affects: Linux Kernel versions prior to 5.18; version 4.14 and later versions.

Weakness: CWE-911

Which versions are affected by CVE-2022-29581?

It affects 11 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Linux kernel, Netapp H300e Firmware, Netapp H300s Firmware, Netapp H410c Firmware and 5 more.

How do I fix CVE-2022-29581?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2022-29581 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-29581 exists.

Public exploit code: 2 proofs of concept on GitHub.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as A-233075473, AZL-12132, DEBIAN-CVE-2022-29581, GHSA-jr5c-f7v3-7g8c, PUB-A-233075473, UBUNTU-CVE-2022-29581 and 1 more.

Is CVE-2022-29581 in your software?

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

Check your SBOMs for free