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 54CC47DA93 for ; Tue, 1 Apr 2025 15:47:54 +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=1743522474; cv=none; b=TsjQnxpi44PZAk7wyhBFGsXnW8PDmqtQxTJhqi0ZF5N4qnyRJkzHn8jhQiLDvSWG/JjaSpvnwr54aoG00BPn8K6pfCJibJ2SOePVAUuvZa45dijT7TpZhGjf5nyXDUbKgHeKjw4KTig12fAng9ZXBZQDM6q6gSWfIX3B+3r28rg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743522474; c=relaxed/simple; bh=3JTvF3qqJfuOOfgA2sYxbISWdAdh3Asbx+oXpW6qbfw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=a5hkxkqU2bKxl3WZLXrctBw/zPIxCYS/85zVeUNTX5jndEdSrmWdCwi14sGZMbfb8e+Rb1Z6cwipDAU6JA7Z+Mr1CjhzsS8EM6ZDyCxhEuET/If7e4tL2P1BqKgt44yDrPPgxmn1AFqGKWcNVldhzYqsJ0a3UiXE8JALijDZLQ8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=OeUIpils; 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="OeUIpils" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D53BFC4CEE4; Tue, 1 Apr 2025 15:47:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1743522474; bh=3JTvF3qqJfuOOfgA2sYxbISWdAdh3Asbx+oXpW6qbfw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=OeUIpilszlF9TP5lkuP5gp3MBbzoK6R+7Iafk7ccBc34hFO/ZqkyGV2kG1SYZiPH6 GxWMco+fWi/e9y7tfOpgEIkaAs+GjIQNl4vR+TXZVYGOePz7AXFofO3jJ0Uh6Ol3Vv V3bFFzHToFlAryaejZbHBSD/yrccQmNWbpR/I/rE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-21962: cifs: Fix integer overflow while processing closetimeo mount option Date: Tue, 1 Apr 2025 16:45:47 +0100 Message-ID: <2025040145-CVE-2025-21962-9f86@gregkh> X-Mailer: git-send-email 2.49.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=2815; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=3JTvF3qqJfuOOfgA2sYxbISWdAdh3Asbx+oXpW6qbfw=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlvuDRzbnx753fwz8kV2/I/vouNzur+7CNnn3xf/HrKP I6VE1j2dcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEtM0ZFkxarhtwOna3qIY2 yyFv8Zsrjq2oLWKY76udfe1NuHBqFKu26MrZ2fWn3y5qAwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: cifs: Fix integer overflow while processing closetimeo mount option User-provided mount parameter closetimeo of type u32 is intended to have an upper limit, but before it is validated, the value is converted from seconds to jiffies which can lead to an integer overflow. Found by Linux Verification Center (linuxtesting.org) with SVACE. The Linux kernel CVE team has assigned CVE-2025-21962 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit 5efdd9122eff772eae2feae9f0fc0ec02d4846a3 and fixed in 6.1.132 with commit 9968fcf02cf6b0f78fbacf3f63e782162603855a Issue introduced in 6.0 with commit 5efdd9122eff772eae2feae9f0fc0ec02d4846a3 and fixed in 6.6.84 with commit 6c13fcb7cf59ae65940da1dfea80144e42921e53 Issue introduced in 6.0 with commit 5efdd9122eff772eae2feae9f0fc0ec02d4846a3 and fixed in 6.12.20 with commit 1c46673be93dd2954f44fe370fb4f2b8e6214224 Issue introduced in 6.0 with commit 5efdd9122eff772eae2feae9f0fc0ec02d4846a3 and fixed in 6.13.8 with commit b24edd5c191c2689c59d0509f0903f9487eb6317 Issue introduced in 6.0 with commit 5efdd9122eff772eae2feae9f0fc0ec02d4846a3 and fixed in 6.14 with commit d5a30fddfe2f2e540f6c43b59cf701809995faef Issue introduced in 5.15.107 with commit 1d9cad9c5873097ea141ffc5da1e7921ce765aa8 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-21962 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: fs/smb/client/fs_context.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/9968fcf02cf6b0f78fbacf3f63e782162603855a https://git.kernel.org/stable/c/6c13fcb7cf59ae65940da1dfea80144e42921e53 https://git.kernel.org/stable/c/1c46673be93dd2954f44fe370fb4f2b8e6214224 https://git.kernel.org/stable/c/b24edd5c191c2689c59d0509f0903f9487eb6317 https://git.kernel.org/stable/c/d5a30fddfe2f2e540f6c43b59cf701809995faef