CVE-2025-22068

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-22068
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-22068.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-22068
Downstream
Published
2025-04-16T15:16:01Z
Modified
2025-08-09T20:01:27Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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 uringcmd & iouringcmdcompleteintask().

Once ubq->canceling is set, the uringcmd can be done via ublkcancelcmd() and iouringcmddone().

So set ubq->canceling when queue is frozen, this way makes sure that the flag can be observed from ublkqueuerq() reliably, and avoids use-after-free on uring_cmd.

References

Affected packages