Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-22068

published high CVSS 3.1 · 7.8

ublk: make sure ubq->canceling is set when queue is frozen

Published
16 Apr 2025, 14:12:21 UTC
Updated
05 Aug 2026, 11:56:29 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux216c8f5ef0f209a3797292c487bdaa6991ab4b92 to < 7e3497d7dacb5aee69dd9be842b778083cae0e75 · 216c8f5ef0f209a3797292c487bdaa6991ab4b92 to < 5491400589e7572c2d2627ed6384302f7672aa1d · 216c8f5ef0f209a3797292c487bdaa6991ab4b92 to < 9158359015f0eda00e521e35b7bc7ebce176aebf · 216c8f5ef0f209a3797292c487bdaa6991ab4b92 to < 8741d0737921ec1c03cf59aebf4d01400c2b461a · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.7 (affected) · 0 to < 6.7 (unaffected · semver) · 6.12.23 through 6.12.* (unaffected · semver) · 6.13.11 through 6.13.* (unaffected · semver) · 6.14.2 through 6.14.* (unaffected · semver) · 6.15 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
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-124.16.1.el10_1 ALSA-2025:22395
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-55.33.1.el10_0 ALSA-2025:15782
AlmaLinux 10 kernel-doc Advisory build 6.12.0-124.16.1.el10_1 ALSA-2025:22395
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 10 kernel-doc Advisory build 6.12.0-55.33.1.el10_0 ALSA-2025:15782
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-modules-extra-matchedx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-toolsaarch64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-toolsaarch64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-toolsx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-toolsx86_64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-tools-libsaarch64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-tools-libsaarch64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-tools-libsx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-tools-libsx86_64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-tools-libs-develaarch64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-tools-libs-develaarch64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-tools-libs-develx86_64 Advisory build 0:6.12.0-124.16.1.el10_1 ELSA-2025-22395
Oracle Linux 10 kernel-tools-libs-develx86_64 Advisory build 0:6.12.0-55.33.1.0.1.el10_0 ELSA-2025-15782
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480

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: make sure ubq->canceling is set when queue is frozen Now ublk driver depends on `ubq->canceling` for deciding if the request can be dispatched via uring_cmd & io_uring_cmd_complete_in_task(). Once ubq->canceling is set, the uring_cmd can be done via ublk_cancel_cmd() and io_uring_cmd_done(). So set ubq->canceling when queue is frozen, this way makes sure that the flag can be observed from ublk_queue_rq() reliably, and avoids use-after-free on uring_cmd.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

31

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 - Triggering requires local access to the ublk control/char/block devices (`/dev/ublk-control`, `/dev/ublkcN`, `/dev/ublkbN`) and io_uring syscalls. There is no remote or adjacent-network path into `ublk_queue_rq()` or the uring_cmd cancel handler. AC:L - The attacker controls both sides of the race — it submits a continuous block-I/O stream to its own ublk block device while concurrently closing the io_uring ring or killing the ublk server task to drive `ublk_uring_cmd_cancel_fn()` → `ublk_abort_requests()`. The window can be retried indefinitely at no cost, and ublk is enabled in mainstream distribution kernels. PR:L - `ublk_ctrl_add_dev()` explicitly allows a caller without CAP_SYS_ADMIN to create a device with `UBLK_F_UNPRIVILEGED_DEV`, with subsequent control commands gated only by `inode_permission()` on the owner-owned char device, so an ordinary local user can create, serve and issue I/O to a ublk device. Even for admin-created devices, the ublk server daemon and the exposed block device are routinely driven by non-root contexts. UI:N - The attacker performs every step itself — creating the device, running the server, submitting I/O, and tearing down the io_uring ring. No action by any other user or administrator is needed. S:U - The corruption is of an io_uring `io_kiocb` inside the kernel, exploited from a local process; impact stays within the kernel's own security authority. No VM, IOMMU, or sandbox boundary is crossed. C:H - This is a use-after-free on the uring_cmd/`io_kiocb`: the freed object is re-read (`ioucmd->task_work_cb`, `req->ctx`, `req->io_task_work`) after reallocation, and the resulting controlled call/deref can be steered into an arbitrary kernel-memory disclosure primitive via the io_uring completion path. I:H - `__io_uring_cmd_do_in_task()` writes `task_work_cb` and `io_task_work.func` into the already-freed request and links it onto the ring's task-work list, and `io_uring_cmd_work()` then performs an indirect call through a function pointer sourced from that freed, heap-sprayable slab object — a write plus control-flow-hijack primitive leading to privilege escalation. A:H - Even unweaponized, the double-use of the uring_cmd causes double completion and use-after-free of the io_uring request, producing kernel oops/panic; the sibling fix for the same pairing was reported as a reproducible kernel crash.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.8 high CISA-ADP · adp CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 216c8f5ef0f209a3797292c487bdaa6991ab4b92 to < 7e3497d7dacb5aee69dd9be842b778083cae0e75 (affected · git)216c8f5ef0f209a3797292c487bdaa6991ab4b92 to < 5491400589e7572c2d2627ed6384302f7672aa1d (affected · git)216c8f5ef0f209a3797292c487bdaa6991ab4b92 to < 9158359015f0eda00e521e35b7bc7ebce176aebf (affected · git)216c8f5ef0f209a3797292c487bdaa6991ab4b92 to < 8741d0737921ec1c03cf59aebf4d01400c2b461a (affected · git)Default: unaffected Linux · cna
Linux Linux 6.7 (affected)0 to < 6.7 (unaffected · semver)6.12.23 through 6.12.* (unaffected · semver)6.13.11 through 6.13.* (unaffected · semver)6.14.2 through 6.14.* (unaffected · semver)6.15 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-416 CWE-416 Use After Free (CISA-ADP · adp)

References

4

Provider assertions

2

Linux · cna

ublk: make sure ubq->canceling is set when queue is frozen

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
1410753bc60fca2734f2afd84aee351a39acc0d4ec9352def0093af4344f6980
Ingested
23 Sep 2026, 08:40:04 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected