# CVE-2025-21962: cifs: Fix integer overflow while processing closetimeo mount option

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-04-01T15:46:59.285Z
- Modified: 2026-06-17T08:44:43.263Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1d9cad9c5873097ea141ffc5da1e7921ce765aa8 before 513f6cf2e906a504b7ab0b62b2eea993a6f64558; from 5efdd9122eff772eae2feae9f0fc0ec02d4846a3 before 9968fcf02cf6b0f78fbacf3f63e782162603855a; from 5efdd9122eff772eae2feae9f0fc0ec02d4846a3 before 6c13fcb7cf59ae65940da1dfea80144e42921e53; from 5efdd9122eff772eae2feae9f0fc0ec02d4846a3 before 1c46673be93dd2954f44fe370fb4f2b8e6214224; from 5efdd9122eff772eae2feae9f0fc0ec02d4846a3 before b24edd5c191c2689c59d0509f0903f9487eb6317; from 5efdd9122eff772eae2feae9f0fc0ec02d4846a3 before d5a30fddfe2f2e540f6c43b59cf701809995faef; from 5.15.107 before 5.15.180; 6.0 (not affected: before 6.0; from 5.15.180 up to 5.15.*; from 6.1.132 up to 6.1.*; from 6.6.84 up to 6.6.*; from 6.12.20 up to 6.12.*; from 6.13.8 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 5.15.107 before 5.15.180; from 6.0 before 6.1.132; from 6.2 before 6.6.84; from 6.7 before 6.12.20; from 6.13 before 6.13.8; 6.14

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/513f6cf2e906a504b7ab0b62b2eea993a6f64558> (patch)
- <https://git.kernel.org/stable/c/9968fcf02cf6b0f78fbacf3f63e782162603855a> (patch)
- <https://git.kernel.org/stable/c/6c13fcb7cf59ae65940da1dfea80144e42921e53> (patch)
- <https://git.kernel.org/stable/c/1c46673be93dd2954f44fe370fb4f2b8e6214224> (patch)
- <https://git.kernel.org/stable/c/b24edd5c191c2689c59d0509f0903f9487eb6317> (patch)
- <https://git.kernel.org/stable/c/d5a30fddfe2f2e540f6c43b59cf701809995faef> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>

## Sources

- CVE List: [CVE-2025-21962](https://www.cve.org/CVERecord?id=CVE-2025-21962), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2025-21962](https://nvd.nist.gov/vuln/detail/CVE-2025-21962), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-21962 · Whole record: https://cve.day/CVE-2025-21962.json · Rebuilt by cve.day 2026-11-25T22:58:55.911Z
