cifs: Fix integer overflow while processing acdirmax mount option (Linux Linux)

CVE-2025-21963
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-190 — Integer Overflow or Wraparound

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 4c9f948142a550af416a2bfb5e56d29ce29e92cf < 0c26edf477e093cefc41637f5bccc102e1a77399 ; affected 4c9f948142a550af416a2bfb5e56d29ce29e92cf < 39d086bb3558da9640ef335f97453e01d32578a1 ; affected 4c9f948142a550af416a2bfb5e56d29ce29e92cf < 9e438d0410a4002d24f420f2c28897ba2dc0af64 ; affected 4c9f948142a550af416a2bfb5e56d29ce29e92cf < 2809a79bc64964ce02e0c5f2d6bd39b9d09bdb3c ; affected 4c9f948142a550af416a2bfb5e56d29ce29e92cf < 6124cbf73e3dea7591857dd63b8ccece28952afd ; affected 4c9f948142a550af416a2bfb5e56d29ce29e92cf < 5b29891f91dfb8758baf1e2217bef4b16b2b165b
Linux · Linuxaffected 5.12 ; unaffected 0 < 5.12 ; unaffected 5.15.180 ≤ 5.15.* ; unaffected 6.1.132 ≤ 6.1.* ; unaffected 6.6.84 ≤ 6.6.* ; unaffected 6.12.20 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD