CVE-2025-71070
published high CVSS 3.1 · 7.8ublk: clean up user copy references on ublk server exit
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe63d2228ef831af36f963b3ab8604160cfff84c1 to < 13456b4f1033d911f8bf3a0a1195656f293ba0f6 · e63d2228ef831af36f963b3ab8604160cfff84c1 to < daa24603d9f0808929514ee62ced30052ca7221c · e537193fc4a43b48ac51cc6366319e15e32dd540 · 6.14.6 to < 6.15 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.15 (affected) · 0 to < 6.15 (unaffected · semver) · 6.18.3 through 6.18.* (unaffected · semver) · 6.19 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | noble | linux-aws-6.17 | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-aws-6.17-cloud-tools-6.17.0-1012 | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-aws-6.17-headers-6.17.0-1012 | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-aws-6.17-tools-6.17.0-1012 | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-azure-6.17 | Advisory build | 6.17.0-1013.13~24.04.1 | USN-8245-1 |
| Ubuntu | noble | linux-azure-6.17-cloud-tools-6.17.0-1013 | Advisory build | 6.17.0-1013.13~24.04.1 | USN-8245-1 |
| Ubuntu | noble | linux-azure-6.17-headers-6.17.0-1013 | Advisory build | 6.17.0-1013.13~24.04.1 | USN-8245-1 |
| Ubuntu | noble | linux-azure-6.17-tools-6.17.0-1013 | Advisory build | 6.17.0-1013.13~24.04.1 | USN-8245-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1010-realtime | Advisory build | 6.17.0-1010.11~24.04.1 | USN-8177-2 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1011-oracle | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1011-oracle-64k | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1012-aws | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1012-aws-64k | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1012-gcp | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1012-gcp-64k | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1013-azure | Advisory build | 6.17.0-1013.13~24.04.1 | USN-8245-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1020-oem | Advisory build | 6.17.0-1020.20 | USN-8245-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-22-generic | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-buildinfo-6.17.0-22-generic-64k | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1010-realtime | Advisory build | 6.17.0-1010.11~24.04.1 | USN-8177-2 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1012-aws | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1012-aws-64k | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1013-azure | Advisory build | 6.17.0-1013.13~24.04.1 | USN-8245-1 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-22-generic | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-gcp-6.17 | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-gcp-6.17-headers-6.17.0-1012 | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-gcp-6.17-tools-6.17.0-1012 | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-headers-6.17.0-1010-realtime | Advisory build | 6.17.0-1010.11~24.04.1 | USN-8177-2 |
| Ubuntu | noble | linux-headers-6.17.0-1011-oracle | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-headers-6.17.0-1011-oracle-64k | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-headers-6.17.0-1012-aws | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-headers-6.17.0-1012-aws-64k | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-headers-6.17.0-1012-gcp | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-headers-6.17.0-1012-gcp-64k | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-headers-6.17.0-1013-azure | Advisory build | 6.17.0-1013.13~24.04.1 | USN-8245-1 |
| Ubuntu | noble | linux-headers-6.17.0-1020-oem | Advisory build | 6.17.0-1020.20 | USN-8245-1 |
| Ubuntu | noble | linux-headers-6.17.0-22-generic | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-headers-6.17.0-22-generic-64k | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-hwe-6.17 | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-hwe-6.17-cloud-tools-6.17.0-22 | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-hwe-6.17-headers-6.17.0-22 | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-hwe-6.17-tools-6.17.0-22 | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-image-6.17.0-22-generic | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1010-realtime | Advisory build | 6.17.0-1010.11~24.04.1 | USN-8177-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1011-oracle | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1011-oracle-64k | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1012-aws | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1012-aws-64k | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1012-gcp | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1012-gcp-64k | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1013-azure | Advisory build | 6.17.0-1013.13~24.04.1 | USN-8245-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1020-oem | Advisory build | 6.17.0-1020.20 | USN-8245-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-22-generic | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-22-generic-64k | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-lib-rust-6.17.0-1012-gcp | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-lib-rust-6.17.0-22-generic | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-6.17.0-1010-realtime | Advisory build | 6.17.0-1010.11~24.04.1 | USN-8177-2 |
| Ubuntu | noble | linux-modules-6.17.0-1011-oracle | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-6.17.0-1011-oracle-64k | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-6.17.0-1012-aws | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-6.17.0-1012-aws-64k | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-6.17.0-1012-gcp | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-modules-6.17.0-1012-gcp-64k | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-modules-6.17.0-1013-azure | Advisory build | 6.17.0-1013.13~24.04.1 | USN-8245-1 |
| Ubuntu | noble | linux-modules-6.17.0-1020-oem | Advisory build | 6.17.0-1020.20 | USN-8245-1 |
| Ubuntu | noble | linux-modules-6.17.0-22-generic | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-6.17.0-22-generic-64k | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-evdi-6.17.0-1020-oem | Advisory build | 6.17.0-1020.20 | USN-8245-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1010-realtime | Advisory build | 6.17.0-1010.11~24.04.1 | USN-8177-2 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1011-oracle | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1011-oracle-64k | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1012-aws | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1012-aws-64k | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1012-gcp | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1012-gcp-64k | Advisory build | 6.17.0-1012.12~24.04.1 | USN-8183-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1013-azure | Advisory build | 6.17.0-1013.13~24.04.1 | USN-8245-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-22-generic | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-ipu6-6.17.0-1020-oem | Advisory build | 6.17.0-1020.20 | USN-8245-1 |
| Ubuntu | noble | linux-modules-ipu6-6.17.0-22-generic | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-ipu7-6.17.0-1020-oem | Advisory build | 6.17.0-1020.20 | USN-8245-1 |
| Ubuntu | noble | linux-modules-ipu7-6.17.0-22-generic | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-iwlwifi-6.17.0-1010-realtime | Advisory build | 6.17.0-1010.11~24.04.1 | USN-8177-2 |
| Ubuntu | noble | linux-modules-iwlwifi-6.17.0-1020-oem | Advisory build | 6.17.0-1020.20 | USN-8245-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.17.0-22-generic | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-usbio-6.17.0-1020-oem | Advisory build | 6.17.0-1020.20 | USN-8245-1 |
| Ubuntu | noble | linux-modules-usbio-6.17.0-22-generic | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-modules-vision-6.17.0-1020-oem | Advisory build | 6.17.0-1020.20 | USN-8245-1 |
| Ubuntu | noble | linux-modules-vision-6.17.0-22-generic | Advisory build | 6.17.0-22.22~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-oem-6.17 | Advisory build | 6.17.0-1020.20 | USN-8245-1 |
| Ubuntu | noble | linux-oem-6.17-headers-6.17.0-1020 | Advisory build | 6.17.0-1020.20 | USN-8245-1 |
| Ubuntu | noble | linux-oem-6.17-tools-6.17.0-1020 | Advisory build | 6.17.0-1020.20 | USN-8245-1 |
| Ubuntu | noble | linux-oracle-6.17 | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-oracle-6.17-headers-6.17.0-1011 | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-oracle-6.17-tools-6.17.0-1011 | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
| Ubuntu | noble | linux-realtime-6.17 | Advisory build | 6.17.0-1010.11~24.04.1 | USN-8177-2 |
| Ubuntu | noble | linux-realtime-6.17-cloud-tools-6.17.0-1010 | Advisory build | 6.17.0-1010.11~24.04.1 | USN-8177-2 |
| Ubuntu | noble | linux-realtime-6.17-headers-6.17.0-1010 | Advisory build | 6.17.0-1010.11~24.04.1 | USN-8177-2 |
| Ubuntu | noble | linux-realtime-6.17-tools-6.17.0-1010 | Advisory build | 6.17.0-1010.11~24.04.1 | USN-8177-2 |
| Ubuntu | noble | linux-tools-6.17.0-1010-realtime | Advisory build | 6.17.0-1010.11~24.04.1 | USN-8177-2 |
| Ubuntu | noble | linux-tools-6.17.0-1011-oracle | Advisory build | 6.17.0-1011.11~24.04.1 | USN-8183-2 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: ublk: clean up user copy references on ublk server exit If a ublk server process releases a ublk char device file, any requests dispatched to the ublk server but not yet completed will retain a ref value of UBLK_REFCOUNT_INIT. Before commit e63d2228ef83 ("ublk: simplify aborting ublk request"), __ublk_fail_req() would decrement the reference count before completing the failed request. However, that commit optimized __ublk_fail_req() to call __ublk_complete_rq() directly without decrementing the request reference count. The leaked reference count incorrectly allows user copy and zero copy operations on the completed ublk request. It also triggers the WARN_ON_ONCE(refcount_read(&io->ref)) warnings in ublk_queue_reinit() and ublk_deinit_queue(). Commit c5c5eb24ed61 ("ublk: avoid ublk_io_release() called after ublk char dev is closed") already fixed the issue for ublk devices using UBLK_F_SUPPORT_ZERO_COPY or UBLK_F_AUTO_BUF_REG. However, the reference count leak also affects UBLK_F_USER_COPY, the other reference-counted data copy mode. Fix the condition in ublk_check_and_reset_active_ref() to include all reference-counted data copy modes. This ensures that any ublk requests still owned by the ublk server when it exits have their reference counts reset to 0.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - Exploitation uses local close, io_uring, and pread/pwrite operations on a ublk character device; no network or physical path reaches the flaw. AC:L - A malicious server can control the outstanding I/O, server exit, request generation, and concurrent copy/commit operations. It can park the dispatch task or stall user copying, so the relevant race does not depend on uncontrollable conditions. PR:L - The data-plane open/read/write path has no capability check and explicitly supports non-CAP_SYS_ADMIN daemon tasks when device-node access is delegated. Device provisioning and recovery require initial-namespace CAP_SYS_ADMIN, but a low-privileged daemon account can exploit an already managed USER_COPY device. UI:N - The attacker can generate the necessary block I/O and server shutdown/recovery sequence without another user's action. S:U - The vulnerable ublk code and the affected kernel memory and execution context belong to the same kernel security authority. C:H - The stale reference can permit a copy before dispatch resets the refcount, after which concurrent completion can free or reuse bio, bvec, and request pages still being traversed. A pread operation can therefore disclose broadly controllable freed or reallocated kernel-backed memory. I:H - A concurrent pwrite can operate through freed or attacker-groomed bio/bvec state, providing a path to corrupt reused pages or redirect writes to kernel memory and potentially hijack control flow. A:H - The resulting use-after-free can cause an oops or kernel panic, and the deterministic WARN_ON_ONCE sites can also panic systems configured with panic-on-warn.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e63d2228ef831af36f963b3ab8604160cfff84c1 to < 13456b4f1033d911f8bf3a0a1195656f293ba0f6 (affected · git)e63d2228ef831af36f963b3ab8604160cfff84c1 to < daa24603d9f0808929514ee62ced30052ca7221c (affected · git)e537193fc4a43b48ac51cc6366319e15e32dd540 (affected · git)6.14.6 to < 6.15 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.15 (affected)0 to < 6.15 (unaffected · semver)6.18.3 through 6.18.* (unaffected · semver)6.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
ublk: clean up user copy references on ublk server exit
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a63d65862530b56e873fd7cec7536ddab413276459699ecd9ab5d9f2cca680a2
- Ingested
- 23 Sep 2026, 08:58:12 UTC
- Source record
- Official CVE record