Skip to content
Heist/ feed
Back to feed
MediumFix available

cifs: Fix integer overflow while processing acdirmax mount option

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.180, 6.1.132, 6.12.20, 6.13.8, 6.6.84
CVEs
CVE-2025-21963
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 03:16 UTC · Revision 1

Source evidence

cifs: Fix integer overflow while processing acdirmax mount option

core-osv · Original source

Published 1 Apr 2025, 15:46 UTC

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.

osv:CVE-2025-21963

Kernel

Fixed versions: 5.15.180, 6.1.132, 6.6.84, 6.12.20, 6.13.8

Complete source record
{
  "id": "97b6f17b58d20a262e957cbc39e51fb384b9f7bc2b1dca43b803bd47c09ce4d5",
  "url": "https://osv.dev/vulnerability/CVE-2025-21963",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "cifs: Fix integer overflow while processing acdirmax mount option",
    "summary": "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.",
    "evidence": "osv:CVE-2025-21963",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.180",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.132",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.84",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.20",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.13.8",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-21963",
      "aliases": [
        "CVE-2025-21963"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4c9f948142a550af416a2bfb5e56d29ce29e92cf"
                },
                {
                  "fixed": "0c26edf477e093cefc41637f5bccc102e1a77399"
                },
                {
                  "fixed": "39d086bb3558da9640ef335f97453e01d32578a1"
                },
                {
                  "fixed": "9e438d0410a4002d24f420f2c28897ba2dc0af64"
                },
                {
                  "fixed": "2809a79bc64964ce02e0c5f2d6bd39b9d09bdb3c"
                },
                {
                  "fixed": "6124cbf73e3dea7591857dd63b8ccece28952afd"
                },
                {
                  "fixed": "5b29891f91dfb8758baf1e2217bef4b16b2b165b"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21963.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.12.0"
                },
                {
                  "fixed": "5.15.180"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.132"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.84"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.20"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.13.8"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21963.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.450834584Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/0c26edf477e093cefc41637f5bccc102e1a77399",
        "https://git.kernel.org/stable/c/2809a79bc64964ce02e0c5f2d6bd39b9d09bdb3c",
        "https://git.kernel.org/stable/c/39d086bb3558da9640ef335f97453e01d32578a1",
        "https://git.kernel.org/stable/c/5b29891f91dfb8758baf1e2217bef4b16b2b165b",
        "https://git.kernel.org/stable/c/6124cbf73e3dea7591857dd63b8ccece28952afd",
        "https://git.kernel.org/stable/c/9e438d0410a4002d24f420f2c28897ba2dc0af64",
        "https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21963.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-21963",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21963.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-21963",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 509773,
  "published_at": "2025-04-01T15:46:59.773+00:00"
}