CVE-2022-48638 cgroup: cgroup_get_from_id() must check the looked-up kn is a directory

Medium 5.3 Published Updated

A missing directory check in the Linux kernel cgroup subsystem allows local attackers to trigger a kernel panic via a crafted cgroup ID.

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

CVE-2022-48638 is a medium-severity vulnerability in Linux kernel, published on 28 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

cgroup: cgroup_get_from_id() must check the looked-up kn is a directory

cgroup has to be one kernfs dir, otherwise kernel panic is caused, especially cgroup id is provide from userspace.

Which versions are affected by CVE-2022-48638?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-48638?

Apply the vendor's patch.

Is CVE-2022-48638 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-48638, GHSA-ggqq-32pw-pm22, UBUNTU-CVE-2022-48638.

Is CVE-2022-48638 in your software?

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

Check your SBOMs for free