7.8high
blk-cgroup: fix list corruption from reorder of WRITE ->lqueued
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.35% (higher than 21% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| 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 | CVE List, NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADP | 8.4high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: blk-cgroup: corrupción de la lista de arreglos debido al reordenamiento de WRITE ->lqueued __blkcg_rstat_flush() se puede ejecutar en cualquier momento, especialmente cuando se está ejecutando blk_cgroup_bio_start. Si la ESCRITURA de `->lqueued` se reordena con la READ de 'bisc->lnode.next' en el bucle de __blkcg_rstat_flush(), se puede asignar `next_bisc` agregando una instancia de estadística en blk_cgroup_bio_start(), entonces el La lista local en __blkcg_rstat_flush() podría estar dañada. Solucione el problema agregando una barrera.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-38384 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-38384 changed 2026-08-04 | Public domain |