CVE-2025-21964 cifs: Fix integer overflow while processing acregmax mount option
An integer overflow in the Linux kernel CIFS module during mount option processing can lead to a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-21964?
CVE-2025-21964 is a medium-severity vulnerability in Linux kernel, published on 1 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
cifs: Fix integer overflow while processing acregmax mount option
User-provided mount parameter acregmax 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.
Weakness: CWE-190
Which versions are affected by CVE-2025-21964?
It affects 1 product.
Linux distribution packages (40)
kernel AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-64k AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-64k-core AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-64k-debug AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-64k-debug-core AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-64k-debug-devel AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-64k-debug-devel-matched AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-64k-debug-modules AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-64k-debug-modules-core AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-64k-debug-modules-extra AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-64k-devel AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-64k-devel-matched AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-64k-modules AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-64k-modules-core AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-64k-modules-extra AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-abi-stablelists AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-core AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-cross-headers AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-debug AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-debug-core AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-debug-devel AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-debug-devel-matched AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-debug-modules AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-debug-modules-core AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-debug-modules-extra AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-debug-uki-virt AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-devel AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-devel-matched AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-doc AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-headers AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-modules AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-modules-core AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-modules-extra AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-rt AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-rt-64k AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-rt-64k-core AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-rt-64k-debug AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-rt-64k-debug-core AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-rt-64k-debug-devel AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
kernel-rt-64k-debug-modules AlmaLinux:9 | All versions | 5.14.0-570.18.1.el9_6 |
Products include Linux kernel.
How do I fix CVE-2025-21964?
Apply the vendor's patch.
Is CVE-2025-21964 being exploited?
There is no known exploitation of CVE-2025-21964 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as ALSA-2025:8142, AZL-60278, AZL-60324, BELL-CVE-2025-21964, DEBIAN-CVE-2025-21964, GHSA-mp83-3fxr-m45v and 4 more.