---
id: CVE-2026-89998
title: |-
  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 c…
summary: |-
  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 c…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    b02e35b81176c7d61dd441cc7a2e5c324a82444b
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    0ea6e5ad4a5817e91f11b4cc1e022e575ed2e7ca
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    a1af1884c960b98c621b6fe2fea1216b78c02152
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    af1f32ccf8051f4691ced11feb452b9d13561727
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    00ad6f9ed27f91925d4d3fb7aab50a60d774f998
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    5380c7f6335cc6d77eb77d065105e81155c4d9d3
  - Linux < 6.1.188
  - Linux < 6.6.157
  - Linux < 6.12.110
  - Linux < 6.18.51
  - Linux < 7.2.5
  - Linux (all versions)
published: '2026-09-16'
updated: '2026-09-17'
sourceUpdated: '2026-09-17T10:17:05.657'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-89998'
references:
  - url: 'https://git.kernel.org/stable/c/00ad6f9ed27f91925d4d3fb7aab50a60d774f998'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/0ea6e5ad4a5817e91f11b4cc1e022e575ed2e7ca'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5380c7f6335cc6d77eb77d065105e81155c4d9d3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a1af1884c960b98c621b6fe2fea1216b78c02152'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/af1f32ccf8051f4691ced11feb452b9d13561727'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b02e35b81176c7d61dd441cc7a2e5c324a82444b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-16T10:53:53.945Z'
epss: 0.00176
epssPercentile: 0.06314
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
