dm: fix race when loading and unloading a table
Published Sep 16, 2026
7.8
HIGHCVSS 3.1
EPSS 0.18%
Description
If the userspace calls two concurrent table load ioctls and one of them succeeds and the other fails, there is a race condition because dm_setup_md_queue walks &md->table_devices without any lock. If the walk races with dm_table_destroy -> free_devices -> dm_put_table_device, there is access to invalid memory.
Fix this race by extending the lock over the list walk.
Affected products
-
Affected
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
-
Affected
- ≥ 6.0.16, < 6.1
- ≥ 6.1.2, < 6.1.188
-
Affected
- 6.2
Unaffected
- ≥ 0, < 6.2
- ≥ 6.1.188, ≤ 6.1.*
- ≥ 6.12.110, ≤ 6.12.*
- ≥ 6.18.51, ≤ 6.18.*
- ≥ 6.6.157, ≤ 6.6.*
- ≥ 7.2.5, ≤ 7.2.*
- 7.3-rc1
Default status is the baseline for the product. Each version can override it (patched versions can be marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Linux | Linux | unaffected | Affected
|
| Linux | Linux | unaffected | Affected
|
| Linux | Linux | affected | Affected
Unaffected
|
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
No CWE recorded.
References (7)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-80606 Advisory
- https://git.kernel.org/stable/c/00ad6f9ed27f91925d4d3fb7aab50a60d774f998
- https://git.kernel.org/stable/c/0ea6e5ad4a5817e91f11b4cc1e022e575ed2e7ca
- https://git.kernel.org/stable/c/5380c7f6335cc6d77eb77d065105e81155c4d9d3
- https://git.kernel.org/stable/c/a1af1884c960b98c621b6fe2fea1216b78c02152
- https://git.kernel.org/stable/c/af1f32ccf8051f4691ced11feb452b9d13561727
- https://git.kernel.org/stable/c/b02e35b81176c7d61dd441cc7a2e5c324a82444b
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
No data
Red Hat
No data
GitHub
No data