CVE-2025-21963

cifs: Fix integer overflow while processing acdirmax mount option

State
Published
Severity
5.5 Medium
Published
Apr 1, 2025
Updated
May 11, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

  • CWE-190 Integer Overflow or Wraparound

Affected Products

ProductVersions
LinuxLinux
  • 4c9f948142a550af416a2bfb5e56d29ce29e92cf to before 0c26edf477e093cefc41637f5bccc102e1a77399Affected
  • 4c9f948142a550af416a2bfb5e56d29ce29e92cf to before 39d086bb3558da9640ef335f97453e01d32578a1Affected
  • 4c9f948142a550af416a2bfb5e56d29ce29e92cf to before 9e438d0410a4002d24f420f2c28897ba2dc0af64Affected
  • 4c9f948142a550af416a2bfb5e56d29ce29e92cf to before 2809a79bc64964ce02e0c5f2d6bd39b9d09bdb3cAffected
  • 4c9f948142a550af416a2bfb5e56d29ce29e92cf to before 6124cbf73e3dea7591857dd63b8ccece28952afdAffected
  • 4c9f948142a550af416a2bfb5e56d29ce29e92cf to before 5b29891f91dfb8758baf1e2217bef4b16b2b165bAffected
LinuxLinux
  • 5.12Affected
  • before 5.12Not affected
  • 5.15.180 through 5.15.*Not affected
  • 6.1.132 through 6.1.*Not affected
  • 6.6.84 through 6.6.*Not affected
  • 6.12.20 through 6.12.*Not affected
  • 6.13.8 through 6.13.*Not affected
  • 6.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.