CVE-2024-50080 ublk: don't allow user copy for unprivileged device

Medium 5.5 Published Updated

An attacker can exploit unprivileged ublk devices to perform unauthorized user copies, potentially leading to privilege escalation within the Linux kernel.

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-2024-50080?

CVE-2024-50080 is a medium-severity vulnerability in Linux kernel, published on 29 Oct 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:

ublk: don't allow user copy for unprivileged device

UBLK_F_USER_COPY requires userspace to call write() on ublk char device for filling request buffer, and unprivileged device can't be trusted.

So don't allow user copy for unprivileged device.

Which versions are affected by CVE-2024-50080?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-50080?

Apply the vendor's patch.

Is CVE-2024-50080 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-51942, BELL-CVE-2024-50080, DEBIAN-CVE-2024-50080, GHSA-4mgj-f599-w3j8, UBUNTU-CVE-2024-50080.

Is CVE-2024-50080 in your software?

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

Check your SBOMs for free