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=1792759607; b=wQb6hNee7wTOQto8wDD9zMjpzUYUihHkuBr29I1A39TcRRRK+jVWM2wBq9Gql1F8R2wa gzGgv2CPF7RzjZ/xV86SIGklVAHf2xxvmbF7CqnklmtIffAIItMs91ITXEvjwsZ4kpzrJ Hl6vwBLAJdkI4eH3HN5c5k/3w7pWORec1UxfkpZjKIj0VuCZWSbqeUdRUj9YehdP+8YDl NBspC8j8cTXJqAfKYZLBtouR7MzSvJVbIj6aGyqB2AhJHlfotxP8Y9pvst9blhnGRuAhW YXLPMk/IcWIEqmt+th1GW4U/40iaJ2LIA49+MVL41GTNDiRF1DmzFjkJo7zAjJke0fg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792759607; 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=VuGqZ6+vVRcUrC4WpE5b/vUF50OnFfaTZETrb1PuriI=; b=NqiZdBRPw7ULdAsQQ8m7Yz4sLQeA9fx82jTfVDSNHfuJWZHI3XYQjriMbdU4tf9UpNO+ 8XMd4yinaH9FZ8w2fMl8Kay8yotHX/ZPn+1PLr0o2gvTAHh3s8Q3225aWkWRr29I3GfM2 3G5NTG6klO4yAYKhyizLVO7RfBip4OCqjewiOC/RKtl81pRKxPq6wMdWBrBxnUluprY+W 61pXtWtjXgqDuzklZRSEaYhOhP/mAiT90fMZkmvGbfVr6SyzM6w3GABpsdpltJu4+s5m8 3hjl+6xMQnEeC+ZcSIwSNfv/MuR/7kLdLx2pUMrs7xPAXMLh5bp+00bb+FrUAuGQh9g== 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=rUbMwPsl; 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 AEE21606A324 for ; Fri, 23 Oct 2026 12:46:46 +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=rUbMwPsl Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5FCD21F01825; Fri, 23 Oct 2026 12:46:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792759606; bh=VuGqZ6+vVRcUrC4WpE5b/vUF50OnFfaTZETrb1PuriI=; h=From:To:Cc:Subject:Date:Reply-To; b=rUbMwPsllU9WkJtYiHhzuPebEo/sudDKcD4qzEBU31OVwu+5pxaxWbR/yyXLf1t2x /HaWVfarhbVWo22qTsf6EANQ99EYlekkSqYTkX2ldUjd8tMann2CFge7/qp2/WXUZp Atvmd1vYlk9uOyN7qTav0H7tFnapQJ35kQkBMp2Y= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99086: dm-integrity: validate the superblock on resume Date: Fri, 23 Oct 2026 14:45:19 +0200 Message-ID: <2026102317-CVE-2026-99086-0ada@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=3270; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=y3u1tI7PITCpB12w8HRk7uAOy1p3IzkJbiMt2uFCfE4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3w+6uUra4aru57ox7u9n/hfUzYiwuy0qf05lVmj7rM uemw/ISHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRtAaGuWLrI25E+Upz/eHf pCDyefk/GVffUwxzeN7HT+VeM7ErrWbf3qmP7q4slFtzHgA= 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: validate the superblock on resume dm_integrity_resume() re-reads the superblock from the device so that it picks up the flags and the recalculate position. It performs no validation on the result, while the constructor validates the superblock it reads and sizes all the in-memory structures according to it. The user may modify the superblock on the underlying device while the dm-integrity device is suspended, so that the two no longer agree. In particular, access_journal_data() shifts the journal entry index by ic->sb->log2_sectors_per_block, while ic->journal_section_sectors and the journal page list were computed with the value that was present at constructor time. Increasing log2_sectors_per_block makes the index run past the end of the journal, and dm-integrity then writes 512 bytes through lowmem_page_address(NULL). Snapshot the validated superblock in the constructor and refuse to resume if any of the fields that describe the on-disk geometry changed. The Linux kernel CVE team has assigned CVE-2026-99086 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18.16 with commit 38625191f32f77a9d5fc7cc15f4f9b78768bfb33 and fixed in 6.18.58 with commit 454b67fcc28c18502e47dfb9f067b04c28628ada Issue introduced in 7.0 with commit 118ba36e446c01e3cd34b3eedabf1d9436525e1d and fixed in 7.2.12 with commit e9ec5cbbaf4dd3a02ae3d81719f4fcb9b609aa8e Issue introduced in 7.0 with commit 118ba36e446c01e3cd34b3eedabf1d9436525e1d and fixed in 7.3 with commit fc79aeb86a2c244c1f1894e2d8f2966fe2b60fa2 Issue introduced in 6.1.165 with commit 824b9c27d7b600520b95f0cab95a47d1b08a9483 Issue introduced in 6.6.128 with commit fb49f209995f729053c6ee728436f98d78a49b6f Issue introduced in 6.12.75 with commit c6138af1f5454c2631a837916fda958ea72c0d71 Issue introduced in 6.19.6 with commit 3ff70e2e31c419e2230d0c66cb2bfb3b1b414b7f 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-99086 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/454b67fcc28c18502e47dfb9f067b04c28628ada https://git.kernel.org/stable/c/e9ec5cbbaf4dd3a02ae3d81719f4fcb9b609aa8e https://git.kernel.org/stable/c/fc79aeb86a2c244c1f1894e2d8f2966fe2b60fa2