# CVE-2025-21963: cifs: Fix integer overflow while processing acdirmax 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.773Z
- Modified: 2026-06-17T08:44:43.430Z
- 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 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 4c9f948142a550af416a2bfb5e56d29ce29e92cf before 0c26edf477e093cefc41637f5bccc102e1a77399; from 4c9f948142a550af416a2bfb5e56d29ce29e92cf before 39d086bb3558da9640ef335f97453e01d32578a1; from 4c9f948142a550af416a2bfb5e56d29ce29e92cf before 9e438d0410a4002d24f420f2c28897ba2dc0af64; from 4c9f948142a550af416a2bfb5e56d29ce29e92cf before 2809a79bc64964ce02e0c5f2d6bd39b9d09bdb3c; from 4c9f948142a550af416a2bfb5e56d29ce29e92cf before 6124cbf73e3dea7591857dd63b8ccece28952afd; from 4c9f948142a550af416a2bfb5e56d29ce29e92cf before 5b29891f91dfb8758baf1e2217bef4b16b2b165b; 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/0c26edf477e093cefc41637f5bccc102e1a77399> (patch)
- <https://git.kernel.org/stable/c/39d086bb3558da9640ef335f97453e01d32578a1> (patch)
- <https://git.kernel.org/stable/c/9e438d0410a4002d24f420f2c28897ba2dc0af64> (patch)
- <https://git.kernel.org/stable/c/2809a79bc64964ce02e0c5f2d6bd39b9d09bdb3c> (patch)
- <https://git.kernel.org/stable/c/6124cbf73e3dea7591857dd63b8ccece28952afd> (patch)
- <https://git.kernel.org/stable/c/5b29891f91dfb8758baf1e2217bef4b16b2b165b> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>

## Sources

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

---

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