{
  "id": "CVE-2025-22068",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-22068",
  "published_at": "2025-04-16T14:12:21.436Z",
  "title": "ublk: make sure ubq-\u003ecanceling is set when queue is frozen",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nublk: make sure ubq-\u003ecanceling is set when queue is frozen\n\nNow ublk driver depends on `ubq-\u003ecanceling` for deciding if the request\ncan be dispatched via uring_cmd \u0026 io_uring_cmd_complete_in_task().\n\nOnce ubq-\u003ecanceling is set, the uring_cmd can be done via ublk_cancel_cmd()\nand io_uring_cmd_done().\n\nSo set ubq-\u003ecanceling 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.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 7.8,
    "cna": 7.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 216c8f5ef0f209a3797292c487bdaa6991ab4b92, \u003c 7e3497d7dacb5aee69dd9be842b778083cae0e75",
          "\u003e= 216c8f5ef0f209a3797292c487bdaa6991ab4b92, \u003c 5491400589e7572c2d2627ed6384302f7672aa1d",
          "\u003e= 216c8f5ef0f209a3797292c487bdaa6991ab4b92, \u003c 9158359015f0eda00e521e35b7bc7ebce176aebf",
          "\u003e= 216c8f5ef0f209a3797292c487bdaa6991ab4b92, \u003c 8741d0737921ec1c03cf59aebf4d01400c2b461a"
        ],
        "fixed_in": [
          "7e3497d7dacb5aee69dd9be842b778083cae0e75",
          "5491400589e7572c2d2627ed6384302f7672aa1d",
          "9158359015f0eda00e521e35b7bc7ebce176aebf",
          "8741d0737921ec1c03cf59aebf4d01400c2b461a"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.7"
        ],
        "fixed_in": [
          "0",
          "6.12.23",
          "6.13.11",
          "6.14.2",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 7e3497d7dacb5aee69dd9be842b778083cae0e75 or 5491400589e7572c2d2627ed6384302f7672aa1d or 9158359015f0eda00e521e35b7bc7ebce176aebf or 8741d0737921ec1c03cf59aebf4d01400c2b461a or later.",
      "Upgrade Linux to 0 or 6.12.23 or 6.13.11 or 6.14.2 or 6.15 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
