CVE-2025-21962
JSON

5.5medium

cifs: Fix integer overflow while processing closetimeo mount option

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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.*
CVE List
linux linux_kernelfrom 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.14NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-190

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: cifs: Se corrige un desbordamiento de enteros al procesar la opción de montaje closetimeo. El parámetro de montaje proporcionado por el usuario, closetimeo, de tipo u32, está diseñado para tener un límite superior, pero antes de su validación, el valor se convierte de segundos a jiffies, lo que puede provocar un desbordamiento de enteros. Encontrado por el Centro de Verificación de Linux (linuxtesting.org) con SVACE.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-21962 changed 2026-05-23CVE Terms of Use
NVDCVE-2025-21962 changed 2026-06-17Public domain