# block, bfq: fix waker_bfqq UAF after bfq_split_bfqq()

CVE record · `CVE-2025-21631`

- **Identifiers:** `CVE-2025-21631`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-416](https://cwe.mitre.org/data/definitions/416.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 19 Jan 2025
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 19 Jan 2025, 10:17 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `63a07379fdb6c72450cb05294461c6016b8b7726 to before f587c1ac68956c4703857d650d9b1cd7bb2ac4d7` (git)
  - affected: `de0456460f2abf921e356ed2bd8da87a376680bd to before 2550149fcdf2934155ff625d76ad4e3d4b25bbc6` (git)
  - affected: `0780451f03bf518bc032a7c584de8f92e2d39d7f to before be3eed59ac01f429ac10aaa46e26f653bcf581ab` (git)
  - affected: `1ba0403ac6447f2d63914fb760c44a3b19c44eaf to before bc2aeb35ff167e0c6b0cedf0c96a5c41e6cba1ed` (git)
  - affected: `1ba0403ac6447f2d63914fb760c44a3b19c44eaf to before fcede1f0a043ccefe9bc6ad57f12718e42f63f1d` (git)
  - affected: `0b8bda0ff17156cd3f60944527c9d8c9f99f1583` (git)
  - affected: `cae58d19121a70329cf971359e2518c93fec04fe` (git)
  - affected: `5.15.168 to before 5.15.177` (semver)
  - affected: `6.1.113 to before 6.1.125` (semver)
  - affected: `6.6.54 to before 6.6.72` (semver)
  - affected: `6.10.13 to before 6.11` (semver)
  - affected: `6.11.2 to before 6.12` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.12`
  - unaffected: `before 6.12` (semver)
  - unaffected: `5.15.177 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.125 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.72 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.10 to 6.12.*, inclusive` (semver)
  - unaffected: `6.13 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux) (used for this record)
- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0021, the 11th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 19 Jan 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2025-21631](https://www.cve.org/CVERecord?id=CVE-2025-21631)
- [NVD: CVE-2025-21631](https://nvd.nist.gov/vuln/detail/CVE-2025-21631)

### References from the CNA

- <https://git.kernel.org/stable/c/f587c1ac68956c4703857d650d9b1cd7bb2ac4d7>
- <https://git.kernel.org/stable/c/2550149fcdf2934155ff625d76ad4e3d4b25bbc6>
- <https://git.kernel.org/stable/c/be3eed59ac01f429ac10aaa46e26f653bcf581ab>
- <https://git.kernel.org/stable/c/bc2aeb35ff167e0c6b0cedf0c96a5c41e6cba1ed>
- <https://git.kernel.org/stable/c/fcede1f0a043ccefe9bc6ad57f12718e42f63f1d>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-21631>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-21631/>. Everything for agents: <https://agentprime.io/llms.txt>.
