Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1B9D34EC67C for ; Wed, 16 Sep 2026 10:43:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555395; cv=none; b=MxxWt9RQ/QAsBBeutMc0dznf42IJV1alOY/B1cMcL+lODX0VR2bAO4pzznzuR6ilkdE3oUg/iQbsxzacsGzCTYPMn7LBb6eTEHW+qMEB7AqPKjDjqf6LHxK4+qS3rt5xmq3ngfK9i0FYRJdzIKBXPAVs6VOXO6oPP854n1c37So= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555395; c=relaxed/simple; bh=/PuuvoBWag3RLs2XrfuzGBV0XZYWKGXt6dDrOxfIii0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RAHMjU8tU7MiflVaeZRD3Bf0+jMYNrr931iNR5PzvM1VHG78K6i7m2dHNNByv4i3qxAUu2dqfDvg6iggjxMbhrJWdnVAxyoHmD+poMZT3IuMe3DVRFOny8Eewm1SglN0tTmtkeMDx194b15DifY1z08wAt24GEJoIFIJ4RqArts= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xnfIEKBX; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="xnfIEKBX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E88221F000FF; Wed, 16 Sep 2026 10:42:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789555380; bh=5eI2YcNk1ZJZTAM6HIkCS/Y/1F0iKYlguU8q4GfSjRs=; h=From:To:Cc:Subject:Date:Reply-To; b=xnfIEKBXBcuCamTZb3yLeX6Wz90ycl7xCoLXKIRK60sd6ufy69KD5ZRwaFfWlthXL khYcdA+9yTra7IlTMu9kyZtFImdpBsaADj7AwPlwTKyRqM/ce/jq/fbGRVliNL3Lt2 J3OAOnRg5nUh9GxUnttGwuymYhN09ptP8JIV3oFY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89998: dm: fix race when loading and unloading a table Date: Wed, 16 Sep 2026 11:32:08 +0100 Message-ID: <2026091659-CVE-2026-89998-c3e0@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2547; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=LSLk775Enm1vj97LOZa8Ip/OLli9K9V8UJYZ48bIYGU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8pe/DTuc1Xh3u63l15k/lls9tnRW1dsbmqyfvkXuX oT+5uprHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR8PsMs5iMfzc8MD67ZvOi EiuPxwLvd2i8cGSYX3xgwha+ub4b3+VrbZZqFHLbt/pvNwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-89998 to this issue. Affected and fixed versions =========================== Fixed in 6.1.188 with commit b02e35b81176c7d61dd441cc7a2e5c324a82444b Fixed in 6.6.157 with commit 0ea6e5ad4a5817e91f11b4cc1e022e575ed2e7ca Fixed in 6.12.110 with commit a1af1884c960b98c621b6fe2fea1216b78c02152 Fixed in 6.18.51 with commit af1f32ccf8051f4691ced11feb452b9d13561727 Fixed in 7.2.5 with commit 00ad6f9ed27f91925d4d3fb7aab50a60d774f998 Fixed in 7.3-rc1 with commit 5380c7f6335cc6d77eb77d065105e81155c4d9d3 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-89998 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/md/dm.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/b02e35b81176c7d61dd441cc7a2e5c324a82444b https://git.kernel.org/stable/c/0ea6e5ad4a5817e91f11b4cc1e022e575ed2e7ca https://git.kernel.org/stable/c/a1af1884c960b98c621b6fe2fea1216b78c02152 https://git.kernel.org/stable/c/af1f32ccf8051f4691ced11feb452b9d13561727 https://git.kernel.org/stable/c/00ad6f9ed27f91925d4d3fb7aab50a60d774f998 https://git.kernel.org/stable/c/5380c7f6335cc6d77eb77d065105e81155c4d9d3