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=1793026344; b=Dk7Hw5605DzX7OyqrUEg8uUjV7CC+miWpq63RlPci3qcSYCk/VCVNJ0tLMbaeCCRph2z h8H/yMPGm0UvxFQM+urMlBcPFRadfsWG/u/hv8+Kvy382xsZ5pS69DIX9F/m/K814+f9c 9t2an5YHpzKbyWKDkIMPPEU/DPxa1NDKr5bon+NdTPg8bQ2Y01y53KTydQBYJ/kOH7APm 2PjY0vMI6kayvakSF5TWwJdjXLvqpi/uBycv0thhQfY/nkWPmgQ+MMrCik11iWTT2qHSb G0AsKlcToEUDvN9+bH1X3/CHng9nRlLDKuDq3GE9V4p04UbrUrbRJkr+u84J2HK7owQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793026344; 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=Cgr0AwwGoshU7fWkx1TVSXL+tqH8acTQRDzFizrdSGA=; b=HHkyk4L5m1kgNUISZQkZMNDXOn801t9s3950XpMoOks/ULMeBz2JOX3QSRZdXxzoYLJf NAIlhgFY4hRsuz/rwNqkzJuQeNJ7SYKSnxJeZeUROVx6GCl3Ju1p+DVCW/nQMW7HuZp5S KbjRJ0LeZVJOqvlciLA+Lvs5+zkkjRLln/Ly1qQK2gIERldhjdjHX1XxbWz5Bb5eadRdm 3sU+g4p1bFaETLgaAvRPSQar/H/wLU9L34DACfs8R0z2VGN0251hWYGluzIAlxpoplhLf zMgSJqQuW4AEzkfQDtgVjvu9g5t/rCMCMxqHFrAWqzzxvgBuVpqMfKjMCFfAcLP3oGw== 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=cJ7MeYWC; 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 52992606A31A for ; Mon, 26 Oct 2026 14:52:23 +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=cJ7MeYWC Received: by smtp.kernel.org (Postfix) with ESMTPSA id 425E11F01828; Mon, 26 Oct 2026 14:52:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793026343; bh=Cgr0AwwGoshU7fWkx1TVSXL+tqH8acTQRDzFizrdSGA=; h=From:To:Cc:Subject:Date:Reply-To; b=cJ7MeYWC4G+54BajR3VbNvp4vUzcaov6zLo5paT2Ii3zDQEWSsii8PRCptNrcGebU eRUlIYRYdfA/uQGWL4fplTDHOEYDpk9H2vDVfCueav5eXrbRW0YF2SLtTdwwxOTDtk ZZo029ep73CIPvFawPvxnbv0bYs3logPKq/hShL8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99098: dm-integrity: fix buffer overflow in inline mode with large tag size Date: Mon, 26 Oct 2026 15:52:20 +0100 Message-ID: <2026102613-CVE-2026-99098-47b3@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=2921; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=3hOoSCQgSagt3UUlNSJnCWlkrlyRuxsc57AN5ZIHL1s=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn3M2X/+uwPYbnfvalmq/OhuvjnoUJ90lEeGsubG/U3u Hpx/WfpiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgInE32OYzV66O+7vjx89SXHH f7DfsD0TN0O3hGFBh60/QycLy+TvdQ8+d+hKtQjwRN4EAA== 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 buffer overflow in inline mode with large tag size In inline mode, dm_integrity_check and dm_integrity_inline_recheck compute the checksum of each block into an on-stack buffer of HASH_MAX_DIGESTSIZE bytes. integrity_sector_checksum pads its result with zeroes up to the tag size, so if the tag size is larger than HASH_MAX_DIGESTSIZE, the padding runs past the end of the buffer. With CONFIG_STACKPROTECTOR the kernel panics in dm_integrity_check on the first read. Enlarge both buffers to hold MAX_TAG_SIZE bytes, as commit b93b6643e9b5 ("dm integrity: fix a crash with unusually large tag size") did for integrity_metadata. Note that this is not a security bug because the buffer overflow can only be triggered by root. The Linux kernel CVE team has assigned CVE-2026-99098 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit fb0987682c629c1d2c476f35f6fde405a5e304a4 and fixed in 6.12.114 with commit 3c7aad85aeb9e28386672e3a009aa2e61f751b86 Issue introduced in 6.11 with commit fb0987682c629c1d2c476f35f6fde405a5e304a4 and fixed in 6.18.57 with commit 4f0ee735dc68e3e6c4dd9a666d7f7047163c4165 Issue introduced in 6.11 with commit fb0987682c629c1d2c476f35f6fde405a5e304a4 and fixed in 7.2.11 with commit f49cd7820cd0a96f20e1aa2708adb002124e38a7 Issue introduced in 6.11 with commit fb0987682c629c1d2c476f35f6fde405a5e304a4 and fixed in 7.3 with commit 764b683a6180fd72c931c13fea98d383506a3475 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-99098 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/3c7aad85aeb9e28386672e3a009aa2e61f751b86 https://git.kernel.org/stable/c/4f0ee735dc68e3e6c4dd9a666d7f7047163c4165 https://git.kernel.org/stable/c/f49cd7820cd0a96f20e1aa2708adb002124e38a7 https://git.kernel.org/stable/c/764b683a6180fd72c931c13fea98d383506a3475