CVE-2025-21807: Linux kernel · block: fix queue freeze vs limits lock order in sysfs store methods
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 24 Nov 2026, 19:46 UTC
Thin evidence
One scorer or noneCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Feb 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-gcp-6.11pkg:deb/ubuntu/linux-gcp-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-hwe-6.11pkg:deb/ubuntu/linux-hwe-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-lowlatency-hwe-6.11pkg:deb/ubuntu/linux-lowlatency-hwe-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-nvidia-6.11pkg:deb/ubuntu/linux-nvidia-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-oem-6.11pkg:deb/ubuntu/linux-oem-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available and should be applied to affected Linux kernel versions. Users should update to patched kernel versions that include the fix for this deadlock issue. Since this is a kernel-level vulnerability, applying the official kernel updates from the vendor or distribution is the recommended mitigation.
Description
CVE-2025-21807 is a medium-severity vulnerability in the Linux kernel related to the handling of device queue freezing and queue limits locking in sysfs store methods. The flaw can cause an ABBA deadlock when modifying queue limits, potentially freezing device queues indefinitely. This occurs because the queue is frozen before locking queue limits, conflicting with device drivers that lock queue limits while revalidating hardware values. The issue is fixed by changing the order of locking and freezing operations in the kernel code.
References
- ubuntu.com/security/CVE-2025-21807 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-21807 (opens in a new tab)
- git.kernel.org/linus/c99f66e4084a62a2cc401c4704a84328aeddc9ec (opens in a new tab)
- git.kernel.org/stable/c/8985da5481562e96b95e94ed8e5cc9b6565eb82b (opens in a new tab)
- git.kernel.org/stable/c/c99f66e4084a62a2cc401c4704a84328aeddc9ec (opens in a new tab)