Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792759617; b=KILd6NJW2/4U4uucytb3OqVtewVHT+5CqGMbcSlrwDYSuSYLWhwT2BRo/or2leHafWt/ GOSLalt6IVvR7XebsIxjdqpU24ku9Zm+QRAVKQpYrCu/G1zRdKfX9BD/5NCrm3GTLd98R JtGXSGBjDqWnxnmLKf8XP/qDht+orcouSglTxc1mnIjKtfa+hblqWahuInfhUc4tbsq6T PXIGtVYTwHPR39DzffchYb53c3KpkLPkAdggawRxM7kQ0qFQo5WoS2qLYPisMax7Tjnrs patmMR1PAQwX3Hzt9fl9ruO+Dz/2XbSo9cW0s7XUvaTvEP0EoGmta9iin0sYJoO0c6g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792759617; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=m2Ru+3Z+xhO9+rUrpAjy/GIagePbzt6kyRlL0UWGu38=; b=3z2aiHy7P9TjF8QvvYEJig3QdEUNxRW3TdPFobGqYXGLDlPNlDkYkuTJurxDfEyKreuo 4d227OAl9euBCYmPuDl5qKNBrBLA8GxthEqduy7MOq8ftx97j0pKlpqBUV69mr/xRMt+2 EDcsFJF9ECXMCvxcAKkrr3uJlhGhMfaWXhlgpxnMNCHoYO0u8Un0O82ii4I6LVEmnFAMh IWvt02oEopyHMTBIyN8hgTZEfibxtotQ06PS63qxSzxixFgObvS7UGVmzNMr/LshBlSuE friwEQ0iEpGCEqFQv043lYKVNC3ERWHja2K52ELn46Ly/4cvWGGr0m6ET923UcShDZQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=siJag86i; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D8E7A606A31F for ; Fri, 23 Oct 2026 12:46:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=siJag86i Received: by smtp.kernel.org (Postfix) with ESMTPSA id 93C631F01825; Fri, 23 Oct 2026 12:46:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792759616; bh=m2Ru+3Z+xhO9+rUrpAjy/GIagePbzt6kyRlL0UWGu38=; h=From:To:Cc:Subject:Date:Reply-To; b=siJag86iTbhQW7H955RnUTsmpgOM42rWVFfZt+33Fkad90MWeA6nEWlDM8ZorZxww ZVki7BV9HAu5N0VWbKdGsMsSBl2FWhbFV0rxnFZ8t/hKWIb46Oh1xcVOpZKlBRADum Wu7NaqLvYZqUCymvqTivZjzfHtrQTAXe3AaVlr1Q= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99087: dm-integrity: fix NULL pointer dereference when the 'R' flag is used Date: Fri, 23 Oct 2026 14:45:20 +0200 Message-ID: <2026102317-CVE-2026-99087-48e1@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2363; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=FwQSiapuHCurEmeoApzbnCfjvYy0zn9ZMIKhHkhG+C0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3w+42/Zyt/tBm/xbv+nW2TqIyamvfJP9VXnzNb3kxY /rvcunrHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRCfoM812/epzXf6tmzB// dfIjhXeWQtf2r2eYzbYir2JfzcJpdZccdnsflrBL/LbbEwA= 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-integrity: fix NULL pointer dereference when the 'R' flag is used If the dm-integrity device has the SB_FLAG_DIRTY_BITMAP flag set and the user activates the device in the 'R' mode, a crash in dm_integrity_resume happens because the function attempts to read the journal containing the bitmap. This patch makes dm-integrity skip any writes to the device in dm_integrity_resume if the device is activated in the 'R' mode. The Linux kernel CVE team has assigned CVE-2026-99087 to this issue. Affected and fixed versions =========================== Issue introduced in 5.2 with commit 468dfca38b1a6fbdccd195d875599cb7c8875cd9 and fixed in 6.18.58 with commit 2e25842f0e4423e0efb243f56153d842ed6b933f Issue introduced in 5.2 with commit 468dfca38b1a6fbdccd195d875599cb7c8875cd9 and fixed in 7.2.12 with commit 69ed43ed8a174465fca1ba6bfbde53e4618c8956 Issue introduced in 5.2 with commit 468dfca38b1a6fbdccd195d875599cb7c8875cd9 and fixed in 7.3 with commit 7d4d4f3b668d708d94f62ecdd33ac330a6fd8a84 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-99087 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-integrity.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/2e25842f0e4423e0efb243f56153d842ed6b933f https://git.kernel.org/stable/c/69ed43ed8a174465fca1ba6bfbde53e4618c8956 https://git.kernel.org/stable/c/7d4d4f3b668d708d94f62ecdd33ac330a6fd8a84