CVE-2025-21962: cifs: Fix integer overflow while processing closetimeo mount option
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.
Security readout for executives and security teams
Plain-English summary
CVE-2025-21962 is a Linux kernel CIFS issue where a local user-provided closetimeo mount option can overflow before validation. The documented impact is availability only, not data theft or tampering. Business urgency is highest where users or services can mount SMB/CIFS shares or influence CIFS mount options.
Executive priority
Treat this as a moderate operational risk. Patch through normal kernel maintenance, but accelerate on multi-user Linux systems, file servers, CI runners, container hosts, and environments where untrusted users can influence CIFS mounts.
Technical view
The flaw is an integer overflow in CIFS mount option processing. A u32 closetimeo value is converted from seconds to jiffies before the intended upper-limit check. CVSS 3.1 is 5.5: local attack vector, low complexity, low privileges, no user interaction, high availability impact.
Likely exposure
Exposure is most likely on Linux systems running affected kernels with CIFS support enabled and workflows that allow non-root users, containers, services, or automation to supply CIFS mount parameters. Exact exposure depends on distribution backports and whether vendor kernel packages include the referenced stable fixes.
Exploitation context
The source bundle does not cite active exploitation, and KEV is false. The vulnerability requires local privileges and control over a CIFS mount parameter. No public source in the bundle establishes remote exploitation or confidentiality/integrity impact.
Researcher notes
The core issue is CWE-190 in pre-validation conversion of closetimeo seconds to jiffies. Evidence supports local availability impact only. The bundle does not provide exploit telemetry, a named mitigation beyond kernel fixes, or a complete distribution-by-distribution affected matrix.
Mitigation direction
Apply Linux kernel updates from your distribution or stable kernel provider.
Review Debian LTS guidance if running affected Debian LTS kernels.
Restrict who can mount CIFS shares or pass CIFS mount options.
Check vendor advisories for fixed package versions and backports.
Prioritize shared servers where untrusted local users can trigger mounts.
Validation and detection
Inventory Linux kernel versions and distribution package revisions.
Identify systems using CIFS or mounting SMB shares.
Confirm installed kernels include the referenced stable fixes or vendor backports.
Review mount policies for untrusted closetimeo parameter control.
Verify monitoring covers local availability failures on CIFS hosts.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-190: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-190 · source CWE mapping
Integer Overflow or Wraparound
Integer Overflow or Wraparound represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.