| From bippy-7c5fe7eed585 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2025-21963: cifs: Fix integer overflow while processing acdirmax mount option |
| |
| 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 5.15.180 with commit 0c26edf477e093cefc41637f5bccc102e1a77399 |
| 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/0c26edf477e093cefc41637f5bccc102e1a77399 |
| 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 |