ZeroHour

CVE-2026-89998

mass

Use-After-Free Race Condition in Linux Kernel Device-Mapper Table Loading

CVSS 3.1
7.8 high
EPSS
Published
()
Modified
AI analysis

CVE-2026-89998 is a race condition (invalid memory access) in the Linux kernel's device-mapper (dm) subsystem. It is triggered when userspace issues two concurrent table-load ioctls and one succeeds while the other fails: dm_setup_md_queue walks the md->table_devices list without holding a lock, and if this walk races with dm_table_destroy -> free_devices -> dm_put_table_device, the kernel accesses freed memory. A local attacker with low privileges who can reach the device-mapper control interface could potentially crash the system or achieve memory corruption with high confidentiality, integrity, and availability impact per the CVSS score. Any Linux system running a kernel with the device-mapper table-load code (i.e., broadly all mainstream kernels, including systems using LVM, dm-crypt, or multipath) is affected until patched. No public proof-of-concept is known and the flaw is not listed in CISA's KEV, so no exploitation has been reported.

What to do: Update the Linux kernel to a version that includes the dm fix extending the lock over the table_devices list walk in dm_setup_md_queue. As a compensating measure, ensure /dev/mapper/control keeps restrictive permissions (root-only, the distribution default) and audit for local users or containers with access to it. Check your vendor's kernel changelog for the 'dm: fix race when loading and unloading a table' commit before deploying.

Affected
Linux kernel (device-mapper/dm subsystem)
Estimated exposure
massbillions of Linux installations include the device-mapper code, though only local users with access to the device-mapper control node can trigger it — The device mapper is built into essentially all mainstream Linux kernels and is used by ubiquitous stack components (LVM, dm-crypt, containers), so the exposed codebase is effectively the entire Linux install base; practical exploitability…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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.

Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

In the news

No ingested article mentions this CVE yet.