CVE-2025-21964

cifs: Fix integer overflow while processing acregmax 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 acregmax mount option

User-provided mount parameter acregmax 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
  • 5780464614f6abe6026f00cf5a0777aa453ba450 to before a13351624a6af8d91398860b8c9d4cf6c8e63de5Affected
  • 5780464614f6abe6026f00cf5a0777aa453ba450 to before dd190168e60ac15408f074a1fe0ce36aff34027bAffected
  • 5780464614f6abe6026f00cf5a0777aa453ba450 to before 0252c33cc943e9e48ddfafaa6b1eb72adb68a099Affected
  • 5780464614f6abe6026f00cf5a0777aa453ba450 to before 833f2903eb8b70faca7967319e580e9ce69729fcAffected
  • 5780464614f6abe6026f00cf5a0777aa453ba450 to before 5f500874ab9b3cc8c169c2ab49f00b838520b9c5Affected
  • 5780464614f6abe6026f00cf5a0777aa453ba450 to before 7489161b1852390b4413d57f2457cd40b34da6ccAffected
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.