CVE-2025-21631: Linux kernel · block, bfq: fix waker_bfqq UAF after bfq_split_bfqq()
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 30 Oct 2026, 01:01 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 19 Jan 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 29 Oct 2026.
What to do
AI-suggested
A fix for this vulnerability is available in Linux kernel versions released after 6.6.0. Users and administrators should update to the latest stable Linux kernel version that includes the patch for CVE-2025-21631. Since this is a kernel-level vulnerability, applying the official kernel update is the recommended and effective mitigation. No alternative workarounds or temporary mitigations are indicated.
Description
CVE-2025-21631 is a use-after-free (UAF) vulnerability in the Linux kernel's BFQ (Budget Fair Queueing) block I/O scheduler. The flaw occurs after the bfq_split_bfqq() function, leading to a KASAN-detected slab-use-after-free error in bfq_init_rq. This vulnerability affects Linux kernel version 6.6.0 and allows local attackers with limited privileges to cause memory corruption, potentially resulting in system crashes or escalation of privileges. The issue has been fixed in a later kernel update.
References
- nvd.nist.gov/vuln/detail/CVE-2025-21631 (opens in a new tab)
- git.kernel.org/stable/c/2550149fcdf2934155ff625d76ad4e3d4b25bbc6 (opens in a new tab)
- git.kernel.org/stable/c/bc2aeb35ff167e0c6b0cedf0c96a5c41e6cba1ed (opens in a new tab)
- git.kernel.org/stable/c/be3eed59ac01f429ac10aaa46e26f653bcf581ab (opens in a new tab)
- git.kernel.org/stable/c/f587c1ac68956c4703857d650d9b1cd7bb2ac4d7 (opens in a new tab)
- git.kernel.org/stable/c/fcede1f0a043ccefe9bc6ad57f12718e42f63f1d (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)