CVE-2025-38182 ublk: santizize the arguments from userspace when adding a device

High 7.8 Published Updated

A missing sanity check in the Linux kernel ublk driver allows local users to cause a denial of service by providing invalid queue parameters.

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-2025-38182?

CVE-2025-38182 is a high-severity vulnerability in Linux kernel, published on 4 Jul 2025. 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: santizize the arguments from userspace when adding a device

Sanity check the values for queue depth and number of queues we get from userspace when adding a device.

Which versions are affected by CVE-2025-38182?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-38182?

Apply the vendor's patch.

Is CVE-2025-38182 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-64731, BELL-CVE-2025-38182, DEBIAN-CVE-2025-38182, GHSA-36f4-q472-7gfx, ROOT-OS-DEBIAN-12-CVE-2025-38182, ROOT-OS-UBUNTU-2404-CVE-2025-38182 and 1 more.

Is CVE-2025-38182 in your software?

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

Check your SBOMs for free