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 086F93B9DA1 for ; Thu, 17 Sep 2026 16:26:14 +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=1789662375; cv=none; b=bHsaL9kQAdZw2eDyxpbOa6jH4M5Wc7xjZH5gY9HeF7r1JTSr5kgwXDUVlNIZncCm9GSNDLKYqhq8ivXLGPk07rkcB4DmeLLbeJpx2NuPdXzQ9QDQGWqRNlRIyLpyI3uGQvUKkCId1mjdRbHqjcrk0hIfaZtrDylAzBq55TCmP9g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662375; c=relaxed/simple; bh=SbxAWTj2jJ0HxTkP57+ktUF/B8+8ZhuWrOVo9+gva7c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=DPFAIQZYxZy+vMG5j8J2y8GPLAzSS7kFdYjZ2/EiY3z6uJafyQIvlTgQdqh7856crCjkSoFg7QPtPbCqtvtAePYkSVL4MizHXYsiEzeFym3/8FQK3Ixx5rRnHFNbM+6YauKyT4KPEzV7xP5ZQFZm7bu1PKea/snlDrTe5xNL2J0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=flG51QZr; 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="flG51QZr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 59EAF1F00898; Thu, 17 Sep 2026 16:26:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662373; bh=QYxQPDTT9cGEtH/Ukk1gUxpWVYQ5nGEdAUDIhW7FOA8=; h=From:To:Cc:Subject:Date:Reply-To; b=flG51QZruAaJLisYGKpRDiaOKaCc12/Y/Uv7rj/UbnHD0J6zeEj5XYJb57+w4rWiR L7/d73AKUB2xiFHV7YB5U6zGPLiL/KTYoq5qEyy1cqya0bZqkakvPJE0oCQLnBaFMW Vde1dnZQlnlWL9UKAlmzZC7ZFsX4LUCvzkqdUBAs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90333: dm-integrity: replace forgeable discard filler with a keyed sector marker Date: Thu, 17 Sep 2026 17:12:43 +0100 Message-ID: <2026091701-CVE-2026-90333-35f4@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=2694; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=qTicWzfMLghM28gPMtB9oWwUgIL8DTEl3jzmUB/jZLY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBOY+fJCifcZwp6zesYqT/RJsGcLfL4XPFXuR+Zy7X E1MtNasI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYyS4Fhnt6i1f8Xf5rxweMq 5/fn2lcmN310iGaYK3xef/rshVObX+SmR99mLHksu2MiAwA= 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: replace forgeable discard filler with a keyed sector marker The discard-block check in dm_integrity_rw_tag() treats a stored tag of all 0xf6 bytes (DISCARD_FILLER) as proof a block was discarded and skips HMAC verification. allow_discards is only accepted in dm-integrity's standalone mode. An attacker with raw write access to the backing device, but without the integrity key, can stamp any block with an all-0xf6 tag and have it served as authentic. Add a new "allow_discards_keyed" target argument that marks discarded blocks with a keyed checksum of (salt || sector) instead, computed by integrity_discard_checksum(). The Linux kernel CVE team has assigned CVE-2026-90333 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit 84597a44a9d86ac949900441cea7da0af0f2f473 and fixed in 6.18.52 with commit 5c58ea19a909ef6bed4f0f824e9cd7e30d7e4775 Issue introduced in 5.7 with commit 84597a44a9d86ac949900441cea7da0af0f2f473 and fixed in 7.2.6 with commit 6228722c27304e4682cddc1fede03898f87e4414 Issue introduced in 5.7 with commit 84597a44a9d86ac949900441cea7da0af0f2f473 and fixed in 7.3-rc1 with commit 68c5c42567bc462139128968ebbfadd0aefff519 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-90333 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: Documentation/admin-guide/device-mapper/dm-ima.rst Documentation/admin-guide/device-mapper/dm-integrity.rst 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/5c58ea19a909ef6bed4f0f824e9cd7e30d7e4775 https://git.kernel.org/stable/c/6228722c27304e4682cddc1fede03898f87e4414 https://git.kernel.org/stable/c/68c5c42567bc462139128968ebbfadd0aefff519