# CVE-2025-21964: cifs: Fix integer overflow while processing acregmax 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:47:00.594Z
- Modified: 2026-06-17T08:44:43.597Z
- 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 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 5780464614f6abe6026f00cf5a0777aa453ba450 before a13351624a6af8d91398860b8c9d4cf6c8e63de5; from 5780464614f6abe6026f00cf5a0777aa453ba450 before dd190168e60ac15408f074a1fe0ce36aff34027b; from 5780464614f6abe6026f00cf5a0777aa453ba450 before 0252c33cc943e9e48ddfafaa6b1eb72adb68a099; from 5780464614f6abe6026f00cf5a0777aa453ba450 before 833f2903eb8b70faca7967319e580e9ce69729fc; from 5780464614f6abe6026f00cf5a0777aa453ba450 before 5f500874ab9b3cc8c169c2ab49f00b838520b9c5; from 5780464614f6abe6026f00cf5a0777aa453ba450 before 7489161b1852390b4413d57f2457cd40b34da6cc; 5.12 (not affected: before 5.12; 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.12 before 5.15.180; from 5.16 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/a13351624a6af8d91398860b8c9d4cf6c8e63de5> (patch)
- <https://git.kernel.org/stable/c/dd190168e60ac15408f074a1fe0ce36aff34027b> (patch)
- <https://git.kernel.org/stable/c/0252c33cc943e9e48ddfafaa6b1eb72adb68a099> (patch)
- <https://git.kernel.org/stable/c/833f2903eb8b70faca7967319e580e9ce69729fc> (patch)
- <https://git.kernel.org/stable/c/5f500874ab9b3cc8c169c2ab49f00b838520b9c5> (patch)
- <https://git.kernel.org/stable/c/7489161b1852390b4413d57f2457cd40b34da6cc> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>

## Sources

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

---

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