CVE-2025-21962 cifs: Fix integer overflow while processing closetimeo 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-21962?
CVE-2025-21962 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 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.
Weakness: CWE-190
Which versions are affected by CVE-2025-21962?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-21962?
Apply the vendor's patch.
Is CVE-2025-21962 being exploited?
There is no known exploitation of CVE-2025-21962 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-60288, AZL-60334, BELL-CVE-2025-21962, DEBIAN-CVE-2025-21962, GHSA-mg5c-fjcx-j5g5, ROOT-OS-UBUNTU-2404-CVE-2025-21962 and 1 more.