CVE-2025-21963
JSON

5.5medium

cifs: Fix integer overflow while processing acdirmax 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 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.

Affected

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

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: cifs: Se corrige el desbordamiento de enteros al procesar la opción de montaje acdirmax. El parámetro de montaje acdirmax, proporcionado por el usuario y 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-21963 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-21963 changed 2026-06-17Public domain