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 EBAAC20C482 for ; Tue, 1 Apr 2025 15:47:27 +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=1743522448; cv=none; b=QiAocc40dPlP5RdCldbpxiKus53ySdvdZXnxuUl56M/4twB7N/QDNQcqzGl2xguTpB1qt9zqJQcbcXX68SdPeurv3Q+zaIujwzwwIr5VyVmjqK7AF6LgvGvfM+wag7MmfIDpYhp9eTYWE3xd8cEdEhvs1hiWvzQFovbdzOOm08s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743522448; c=relaxed/simple; bh=JUIJ/2M1/vKpvzzc+c0xrDcY06OlaeVhV1M80mx8tpc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=B/MYHjiqPjQ/Wrb6gLP/YgUFl3jwKQd4hWMkCs/L21qC8TBFnk1PKkOgZiRhSfZHM2SNeuFIIR3czp3NQDNzt1ou+xldfnX1nJtbPA+rKpklbsIdUae5pG3hbPgJCUE/iRrbikrFNpcR3HQN8h90n0pm+l2j9NjeNx/Uwnpg6tg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UtPtPMaY; 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="UtPtPMaY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5ED44C4CEE4; Tue, 1 Apr 2025 15:47:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1743522447; bh=JUIJ/2M1/vKpvzzc+c0xrDcY06OlaeVhV1M80mx8tpc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=UtPtPMaY64RvE6QOUtYti+v45Y5kIX8pyFtqd8u8rz3Jmr+s23lhSltqdHGbv3G56 N2EAdg70pretK8OAUDLVes7OTHjJLS5zic98/slki9gPuMUuHnJnbxZVi2o647Vxo8 urHn31bmo/wP2XqlXRcBtmU6djH5LWWUue5I9lQI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-21963: cifs: Fix integer overflow while processing acdirmax mount option Date: Tue, 1 Apr 2025 16:45:48 +0100 Message-ID: <2025040145-CVE-2025-21963-6e21@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=2732; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=JUIJ/2M1/vKpvzzc+c0xrDcY06OlaeVhV1M80mx8tpc=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlvuDSXPV7cwnCvcnvM8x7O1QoJmd5HBaYtNmS8/3nP0 i38BpJsHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARUw+GBRPiVsY8z9DyPha3 6rNCavD+z3vu/maYX2j95xfDtSMLfsz6Fd4YnThtx59NtwE= 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 acdirmax mount option User-provided mount parameter acdirmax 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-21963 to this issue. Affected and fixed versions =========================== Issue introduced in 5.12 with commit 4c9f948142a550af416a2bfb5e56d29ce29e92cf and fixed in 6.1.132 with commit 39d086bb3558da9640ef335f97453e01d32578a1 Issue introduced in 5.12 with commit 4c9f948142a550af416a2bfb5e56d29ce29e92cf and fixed in 6.6.84 with commit 9e438d0410a4002d24f420f2c28897ba2dc0af64 Issue introduced in 5.12 with commit 4c9f948142a550af416a2bfb5e56d29ce29e92cf and fixed in 6.12.20 with commit 2809a79bc64964ce02e0c5f2d6bd39b9d09bdb3c Issue introduced in 5.12 with commit 4c9f948142a550af416a2bfb5e56d29ce29e92cf and fixed in 6.13.8 with commit 6124cbf73e3dea7591857dd63b8ccece28952afd Issue introduced in 5.12 with commit 4c9f948142a550af416a2bfb5e56d29ce29e92cf and fixed in 6.14 with commit 5b29891f91dfb8758baf1e2217bef4b16b2b165b 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-21963 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/39d086bb3558da9640ef335f97453e01d32578a1 https://git.kernel.org/stable/c/9e438d0410a4002d24f420f2c28897ba2dc0af64 https://git.kernel.org/stable/c/2809a79bc64964ce02e0c5f2d6bd39b9d09bdb3c https://git.kernel.org/stable/c/6124cbf73e3dea7591857dd63b8ccece28952afd https://git.kernel.org/stable/c/5b29891f91dfb8758baf1e2217bef4b16b2b165b