CVE-2025-22068
ublk: make sure ubq->canceling is set when queue is frozen
Reported by linux · Published April 16, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.15, 6.14.2, 6.13.11, 6.12.23 |
| Linux | Linux | 9158359015f0eda00e521e35b7bc7ebce176aebf, 8741d0737921ec1c03cf59aebf4d01400c2b461a |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 216c8f5ef0f209a3797292c487bdaa6991ab4b92, 216c8f5ef0f209a3797292c487bdaa6991ab4b92, 216c8f5ef0f209a3797292c487bdaa6991ab4b92 |
| Linux | Linux | 6.7, 0, 6.12.23 |
| linux | linux_kernel | 6.7, 6.7, 6.7 |
| Linux | Linux | 216c8f5ef0f209a3797292c487bdaa6991ab4b92, 216c8f5ef0f209a3797292c487bdaa6991ab4b92, 216c8f5ef0f209a3797292c487bdaa6991ab4b92 |
Timeline
- Apr 16, 2025 CVE Published
- Apr 17, 2025 EPSS Score (30 in total, the first dated here)
- May 14, 2025 Coalition ESS Score (11 in total, the first dated here)
- Dec 17, 2025 PoC Published
- Dec 21, 2025 Security Advisory (317 in total, the first dated here)
- Apr 20, 2026 Distribution Patch (310 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-22068
vulnetix vdb fixes CVE-2025-22068
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-22068/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart