Description

In the Linux kernel, the following vulnerability has been resolved: dm: fix race when loading and unloading a table 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.

Severity (CVSS)

Base score7.8
SeverityHigh
VersionCVSS 3.1
VectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Provided byCNA

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <b02e35b81176c7d61dd441cc7a2e5c324a82444b; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <0ea6e5ad4a5817e91f11b4cc1e022e575ed2e7ca; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <a1af1884c960b98c621b6fe2fea1216b78c02152; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <af1f32ccf8051f4691ced11feb452b9d13561727; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <00ad6f9ed27f91925d4d3fb7aab50a60d774f998; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <5380c7f6335cc6d77eb77d065105e81155c4d9d3; 0 to <6.1.188; 0 to <6.6.157; 0 to <6.12.110; 0 to <6.18.51; 0 to <7.2.5
LinuxLinux6.1.188 to <=6.1.*; 6.6.157 to <=6.6.*; 6.12.110 to <=6.12.*; 6.18.51 to <=6.18.*; 7.2.5 to <=7.2.*; 7.3-rc1 to <=*

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 17 Sep 2026 07:04 UTC.