CVE-2025-22068

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-22068
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-22068.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-22068
Downstream
Published
2025-04-16T15:16:01Z
Modified
2025-05-06T16:40:36Z
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

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.12.25-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}