# ublk: santizize the arguments from userspace when adding a device

CVE record · `CVE-2025-38182`

- **Identifiers:** `CVE-2025-38182`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 4 Jul 2025
- **Updated:** 30 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 4 Jul 2025, 13:37 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `71f28f3136aff5890cd56de78abc673f8393cad9 to before a52d4e28f643eb4ffc7ccb1de9bd47d876804f1f` (git)
  - affected: `71f28f3136aff5890cd56de78abc673f8393cad9 to before 3162d8235c8c4d585525cee8a59d1c180940a968` (git)
  - affected: `71f28f3136aff5890cd56de78abc673f8393cad9 to before 0f8df5d6f25ac17c52a8bc6418e60a3e63130550` (git)
  - affected: `71f28f3136aff5890cd56de78abc673f8393cad9 to before e2b2b7cf6368580114851cb3932f2ad9fbf23386` (git)
  - affected: `71f28f3136aff5890cd56de78abc673f8393cad9 to before 8c8472855884355caf3d8e0c50adf825f83454b2` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.0`
  - unaffected: `before 6.0` (semver)
  - unaffected: `6.1.191 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.95 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.35 to 6.12.*, inclusive` (semver)
  - unaffected: `6.15.4 to 6.15.*, inclusive` (semver)
  - unaffected: `6.16 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Linux kernel ublk driver: versions from 6.0 up to the fixed releases are affected (the CNA lists fixes at 6.1.191, 6.6.95, 6.12.35 and 6.15.4 among others; kernels before 6.0 are unaffected). The source gives few details on the impact; it describes missing sanity checks on queue depth and queue count values passed from userspace when adding a device. Upgrade to a fixed kernel version for your branch, such as 6.1.191, 6.6.95, 6.12.35 or 6.15.4 or later.

Written 13 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0019, the 9th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 4 Jul 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2025-38182](https://www.cve.org/CVERecord?id=CVE-2025-38182)
- [NVD: CVE-2025-38182](https://nvd.nist.gov/vuln/detail/CVE-2025-38182)

### References from the CNA

- <https://git.kernel.org/stable/c/a52d4e28f643eb4ffc7ccb1de9bd47d876804f1f>
- <https://git.kernel.org/stable/c/3162d8235c8c4d585525cee8a59d1c180940a968>
- <https://git.kernel.org/stable/c/0f8df5d6f25ac17c52a8bc6418e60a3e63130550>
- <https://git.kernel.org/stable/c/e2b2b7cf6368580114851cb3932f2ad9fbf23386>
- <https://git.kernel.org/stable/c/8c8472855884355caf3d8e0c50adf825f83454b2>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-38182>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-38182/>. Everything for agents: <https://agentprime.io/llms.txt>.
