CVE-2025-21962
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-modules-extra-common | Amazon Linux | 6.1.132-147.221.amzn2023 |
| kernel-modules-extra | Amazon Linux | 6.1.132-147.221.amzn2023 |
| python3-perf | Amazon Linux | 6.1.132-147.221.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.1.132-147.221.amzn2023 |
| kernel-tools | Amazon Linux | 6.1.132-147.221.amzn2023 |
| perf | Amazon Linux | 6.1.132-147.221.amzn2023 |
| kernel-devel | Amazon Linux | 6.1.132-147.221.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 6.1.132-147.221.amzn2023 |
| kernel | Amazon Linux | 6.1.132-147.221.amzn2023 |
| kernel-tools-devel | Amazon Linux | 6.1.132-147.221.amzn2023 |
| bpftool | Amazon Linux | 6.1.132-147.221.amzn2023 |
| kernel-livepatch-6.1.132-147.221 | Amazon Linux | 1.0-0.amzn2023 |
3 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 1d9cad9c5873097ea141ffc5da1e7921ce765aa8, 5efdd9122eff772eae2feae9f0fc0ec02d4846a3, 5efdd9122eff772eae2feae9f0fc0ec02d4846a3 |
| Linux | Linux | 6.0, 0, 5.15.180 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel | 0 |
| linux | linux_kernel | 6.0, 6.0, 6.0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-livepatch-6.1.132-147.221 | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| Linux | Linux | 5efdd9122eff772eae2feae9f0fc0ec02d4846a3, 5efdd9122eff772eae2feae9f0fc0ec02d4846a3, 6.0 |
| amazon:2023 | kernel-headers | 0 |
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