# CVE-2026-63802: blk-cgroup: fix UAF in __blkcg_rstat_flush()

- 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.10%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-07-19T12:02:08.020Z
- Modified: 2026-10-19T20:19:20.697Z
- Weaknesses: CWE-362, 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:

blk-cgroup: fix UAF in __blkcg_rstat_flush()

When multiple blkgs in the same blkcg are released concurrently,
a use-after-free can occur. The race happens when one blkg's
__blkcg_rstat_flush() removes another blkg's iostat entries via
llist_del_all(). The second blkg sees an empty list and proceeds
to free itself while the first is still iterating over its entries.

Move the flush from __blkg_release() (RCU callback) to blkg_release()
(before call_rcu). This ensures the RCU grace period waits for any
concurrent flush's rcu_read_lock() section to complete before freeing.

(As written by CVE List.)

## Affected

- Linux Linux: from 20cb1c2fb7568a6054c55defe044311397e01ddb before 96e545410c4f74c89d496c1d5d9ef8d08f14368b; from 20cb1c2fb7568a6054c55defe044311397e01ddb before bbebd9425cad3573d1527441753899b926525a0f; from 20cb1c2fb7568a6054c55defe044311397e01ddb before 5e5b7f2ef854936e95dceb6a2fdfefcb7152d2c6; from 20cb1c2fb7568a6054c55defe044311397e01ddb before afebe44facc48a61761e885bbb7f0380d4a603ec; from 20cb1c2fb7568a6054c55defe044311397e01ddb before 0ab5ee5a1badb58cbb2242617cb01a4972b1f2a2; 0f6090d90f627d8c58f939067d6c6821ce1b3c68; from 6.3.9 before 6.4; 6.4 (not affected: before 6.4; from 6.6.144 up to 6.6.*; from 6.12.95 up to 6.12.*; from 6.18.38 up to 6.18.*; from 7.1.3 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 6.3.9 before 6.4; from 6.4.1 before 6.6.144; from 6.7 before 6.12.95; from 6.13 before 6.18.38; from 6.19 before 7.1.3; 6.4

## References

- <https://git.kernel.org/stable/c/96e545410c4f74c89d496c1d5d9ef8d08f14368b> (patch)
- <https://git.kernel.org/stable/c/bbebd9425cad3573d1527441753899b926525a0f> (patch)
- <https://git.kernel.org/stable/c/5e5b7f2ef854936e95dceb6a2fdfefcb7152d2c6> (patch)
- <https://git.kernel.org/stable/c/afebe44facc48a61761e885bbb7f0380d4a603ec> (patch)
- <https://git.kernel.org/stable/c/0ab5ee5a1badb58cbb2242617cb01a4972b1f2a2> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2026-63802 · Whole record: https://cve.day/CVE-2026-63802.json · Rebuilt by cve.day 2026-11-25T22:59:28.717Z
