# CVE-2021-47646: Revert "Revert "block, bfq: honor already-setup queue merges""

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2025-02-26T01:54:15.122Z
- Modified: 2026-08-11T03:17:33.693Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

Revert "Revert "block, bfq: honor already-setup queue merges""

A crash [1] happened to be triggered in conjunction with commit
2d52c58b9c9b ("block, bfq: honor already-setup queue merges"). The
latter was then reverted by commit ebc69e897e17 ("Revert "block, bfq:
honor already-setup queue merges""). Yet, the reverted commit was not
the one introducing the bug. In fact, it actually triggered a UAF
introduced by a different commit, and now fixed by commit d29bd41428cf
("block, bfq: reset last_bfqq_created on group change").

So, there is no point in keeping commit 2d52c58b9c9b ("block, bfq:
honor already-setup queue merges") out. This commit restores it.

[1] https://bugzilla.kernel.org/show_bug.cgi?id=214503

(As written by CVE List.)

## Affected

- Linux Linux: from 430a67f9d6169a7b3e328bceb2ef9542e4153c7c before 65d8a737452e88f251fe5d925371de6d606df613; from 430a67f9d6169a7b3e328bceb2ef9542e4153c7c before abc2129e646af7b43025d90a071f83043f1ae76c; from 430a67f9d6169a7b3e328bceb2ef9542e4153c7c before 4083925bd6dc89216d156474a8076feec904e607; from 430a67f9d6169a7b3e328bceb2ef9542e4153c7c before 15729ff8143f8135b03988a100a19e66d7cb7ecd; 5.13 (not affected: before 5.13; from 5.15.33 up to 5.15.*; from 5.16.19 up to 5.16.*; from 5.17.2 up to 5.17.*; from 5.18 up to *)
- linux linux_kernel: before 4.19.238; from 4.20 before 5.4.189; from 5.5 before 5.10.110; from 5.11 before 5.15.33; from 5.16 before 5.16.19; from 5.17 before 5.17.2

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/65d8a737452e88f251fe5d925371de6d606df613> (patch)
- <https://git.kernel.org/stable/c/abc2129e646af7b43025d90a071f83043f1ae76c> (patch)
- <https://git.kernel.org/stable/c/4083925bd6dc89216d156474a8076feec904e607> (patch)
- <https://git.kernel.org/stable/c/15729ff8143f8135b03988a100a19e66d7cb7ecd> (patch)

## Sources

- CVE List: [CVE-2021-47646](https://www.cve.org/CVERecord?id=CVE-2021-47646), CVE Terms of Use, modified 2026-08-11
- NVD: [CVE-2021-47646](https://nvd.nist.gov/vuln/detail/CVE-2021-47646), Public domain, modified 2026-08-11

---

Page: https://cve.day/CVE-2021-47646 · Whole record: https://cve.day/CVE-2021-47646.json · Rebuilt by cve.day 2026-11-25T22:58:09.004Z
