CVE-2022-0487 Use after free in kernel

Medium 5.5 Published Updated

A local attacker can exploit a use-after-free flaw in the Linux kernel memstick driver to compromise system confidentiality.

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

CVE-2022-0487 is a medium-severity use after free vulnerability in Debian Debian Linux, published on 4 Feb 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A use-after-free vulnerability was found in rtsx_usb_ms_drv_remove in drivers/memstick/host/rtsx_usb_ms.c in memstick in the Linux kernel. In this flaw, a local attacker with a user privilege may impact system Confidentiality. This flaw affects kernel versions prior to 5.14 rc1.

Weakness: CWE-416

Which versions are affected by CVE-2022-0487?

It affects 3 products.

Products include Debian Debian Linux, Linux kernel, Redhat Enterprise Linux.

How do I fix CVE-2022-0487?

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

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-0487, GHSA-g6g9-f4gj-gxqv, UBUNTU-CVE-2022-0487.

Is CVE-2022-0487 in your software?

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

Check your SBOMs for free