Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 1698518DB26 for ; Sat, 4 Oct 2025 07:33:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759563214; cv=none; b=WUBjWwzTsg8crGLctxrj/1ebOx8duq5PAZtgThBfhHNK1cf6R/DzOQaBFF00rUSbEg/DhZYH5fJX+FWgWQA4CHWMpYPEhozcg53EkxJfpzbzz2NVBzZCNDGVVhsstSPummfiCFTNmmtrrCsWsk9QmWZhr0zk7nxeLWBUCgau1VE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759563214; c=relaxed/simple; bh=LnEHXf4DDM0uTmLGM/WgtZHB5W4cJqKW73s8jfBwFvM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=A8dNpqo50tWUX2DQBHZGnxFTvb+dioqYVIVsp7vHaYsdsXGm4XjfaGGAwGzIG/WCn1AdhISWuJ0nqoS9b7g4ntvpiB17PY8HkepdIQuRiwRKvx8cYYeT9a21EiVGCXwdmamUkqtylBfFDM1V4fClPqzDASnddaFjhOQKM3N9UkA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CjQC+7vG; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="CjQC+7vG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D641C4CEF1; Sat, 4 Oct 2025 07:33:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759563213; bh=LnEHXf4DDM0uTmLGM/WgtZHB5W4cJqKW73s8jfBwFvM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=CjQC+7vGtRr+KTitZsmomfywhLz9dg+fWXynoAAo+bc9jCu3KXQYHSfzCFxROWo9R OLVpRZbIQTiQvwofDL2Ers9H7H3MGscscJ9ys+JNFMi2/B0S5RwS7gcZCGe0ReXnSj rE6qX2FwOYj16QP2880vp+v6uDG/zPO2TSKfNjjY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-39940: dm-stripe: fix a possible integer overflow Date: Sat, 4 Oct 2025 09:33:24 +0200 Message-ID: <2025100418-CVE-2025-39940-6097@gregkh> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1911; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=RkfoxZUgHqwabKyS+38ubT2csrRnU3TQlM0b3iTHiCk=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkPzu7r7xScY//68dI8w7s7+p4w7dujuypGSM9b+03fj OlvLy173RHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATsTNimB/UfX/OnZkPjDJE zy772eBStmXJDA6GedZ3/E13yRiFPTn3w6Ng5ZwAt4NMOwA= 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-stripe: fix a possible integer overflow There's a possible integer overflow in stripe_io_hints if we have too large chunk size. Test if the overflow happened, and if it did, don't set limits->io_min and limits->io_opt; The Linux kernel CVE team has assigned CVE-2025-39940 to this issue. Affected and fixed versions =========================== Fixed in 6.12.49 with commit f8f64254bca5ae58f3b679441962bda4c409f659 Fixed in 6.16.9 with commit ee27658c239b27721397f3e4eb16370b5cce596e Fixed in 6.17 with commit 1071d560afb4c245c2076494226df47db5a35708 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-2025-39940 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-stripe.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/f8f64254bca5ae58f3b679441962bda4c409f659 https://git.kernel.org/stable/c/ee27658c239b27721397f3e4eb16370b5cce596e https://git.kernel.org/stable/c/1071d560afb4c245c2076494226df47db5a35708