# CVE-2024-38384: blk-cgroup: fix list corruption from reorder of WRITE ->lqueued

- 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.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-06-24T13:50:51.033Z
- Modified: 2026-08-05T11:32:34.192Z
- Weaknesses: CWE-400
- 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 list corruption from reorder of WRITE ->lqueued

__blkcg_rstat_flush() can be run anytime, especially when blk_cgroup_bio_start
is being executed.

If WRITE of `->lqueued` is re-ordered with READ of 'bisc->lnode.next' in
the loop of __blkcg_rstat_flush(), `next_bisc` can be assigned with one
stat instance being added in blk_cgroup_bio_start(), then the local
list in __blkcg_rstat_flush() could be corrupted.

Fix the issue by adding one barrier.

(As written by CVE List.)

## Affected

- Linux Linux: from 3b8cc6298724021da845f2f9fd7dd4b6829a6817 before 714e59b5456e4d6e4295a9968c564abe193f461c; from 3b8cc6298724021da845f2f9fd7dd4b6829a6817 before 785298ab6b802afa75089239266b6bbea590809c; from 3b8cc6298724021da845f2f9fd7dd4b6829a6817 before d0aac2363549e12cc79b8e285f13d5a9f42fd08e; 6.2 (not affected: before 6.2; from 6.6.33 up to 6.6.*; from 6.9.4 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 3b8cc6298724 before 714e59b5456e; from 3b8cc6298724 before 785298ab6b80; from 3b8cc6298724 before d0aac2363549; 6.2; from 6.2 before 6.6.33; from 6.7 before 6.9.4 (not affected: before 6.2; from 6.6.33 up to 6.7; from 6.9.4 up to 6.10; 6.10-rc1)

## 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 8.4 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/714e59b5456e4d6e4295a9968c564abe193f461c> (patch)
- <https://git.kernel.org/stable/c/785298ab6b802afa75089239266b6bbea590809c> (patch)
- <https://git.kernel.org/stable/c/d0aac2363549e12cc79b8e285f13d5a9f42fd08e> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2024-38384 · Whole record: https://cve.day/CVE-2024-38384.json · Rebuilt by cve.day 2026-11-25T22:58:42.167Z
