VDB

CVE-2025-21962

CVE-2025-21962 PUBLISHED CVSS 5.5 MEDIUM

cifs: Fix integer overflow while processing closetimeo mount option

Reported by linux · Published April 1, 2025

In the Linux kernel, the following vulnerability has been resolved: cifs: Fix integer overflow while processing closetimeo mount option User-provided mount parameter closetimeo 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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-modules-extra-commonAmazon Linux6.1.132-147.221.amzn2023
kernel-modules-extraAmazon Linux6.1.132-147.221.amzn2023
python3-perfAmazon Linux6.1.132-147.221.amzn2023
kernel-libbpf-staticAmazon Linux6.1.132-147.221.amzn2023
kernel-toolsAmazon Linux6.1.132-147.221.amzn2023
perfAmazon Linux6.1.132-147.221.amzn2023
kernel-develAmazon Linux6.1.132-147.221.amzn2023
kernel-libbpf-develAmazon Linux6.1.132-147.221.amzn2023
kernelAmazon Linux6.1.132-147.221.amzn2023
kernel-tools-develAmazon Linux6.1.132-147.221.amzn2023
bpftoolAmazon Linux6.1.132-147.221.amzn2023
kernel-livepatch-6.1.132-147.221Amazon Linux1.0-0.amzn2023

3 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinux1d9cad9c5873097ea141ffc5da1e7921ce765aa8, 5efdd9122eff772eae2feae9f0fc0ec02d4846a3, 5efdd9122eff772eae2feae9f0fc0ec02d4846a3
LinuxLinux6.0, 0, 5.15.180
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-modules-extra0
amazon:2023python3-perf0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-tools0
amazon:2023perf0
amazon:2023kernel-devel0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel0
linuxlinux_kernel6.0, 6.0, 6.0
amazon:2023kernel-tools-devel0
amazon:2023bpftool0
amazon:2023kernel-livepatch-6.1.132-147.2210
amazon:2023kernel-libbpf0
LinuxLinux5efdd9122eff772eae2feae9f0fc0ec02d4846a3, 5efdd9122eff772eae2feae9f0fc0ec02d4846a3, 6.0
amazon:2023kernel-headers0

Timeline

  • Apr 1, 2025 CVE Published
  • Apr 2, 2025 EPSS Score (30 in total, the first dated here)
  • Apr 2, 2025 Coalition ESS Score (10 in total, the first dated here)
  • Dec 21, 2025 Security Advisory (275 in total, the first dated here)
  • Dec 21, 2025 CVE Updated
  • Apr 29, 2026 Distribution Patch (249 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-21962
vulnetix vdb fixes CVE-2025-21962

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21962/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›