{"schema_version":"1.9.0","id":"CVE-2025-22068","published":"2025-04-16T14:12:21.436Z","modified":"2026-08-12T03:51:41.083174045Z","related":["ALSA-2025:15782","ALSA-2025:22395"],"summary":"ublk: make sure ubq->canceling is set when queue is frozen","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nublk: make sure ubq->canceling is set when queue is frozen\n\nNow ublk driver depends on `ubq->canceling` for deciding if the request\ncan be dispatched via uring_cmd & io_uring_cmd_complete_in_task().\n\nOnce ubq->canceling is set, the uring_cmd can be done via ublk_cancel_cmd()\nand io_uring_cmd_done().\n\nSo set ubq->canceling when queue is frozen, this way makes sure that the\nflag can be observed from ublk_queue_rq() reliably, and avoids\nuse-after-free on uring_cmd.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"216c8f5ef0f209a3797292c487bdaa6991ab4b92"},{"fixed":"7e3497d7dacb5aee69dd9be842b778083cae0e75"},{"fixed":"5491400589e7572c2d2627ed6384302f7672aa1d"},{"fixed":"9158359015f0eda00e521e35b7bc7ebce176aebf"},{"fixed":"8741d0737921ec1c03cf59aebf4d01400c2b461a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-22068.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.23"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.13.11"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.14.0"},{"fixed":"6.14.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-22068.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5491400589e7572c2d2627ed6384302f7672aa1d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7e3497d7dacb5aee69dd9be842b778083cae0e75"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8741d0737921ec1c03cf59aebf4d01400c2b461a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9158359015f0eda00e521e35b7bc7ebce176aebf"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22068.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22068"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22068.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}