CVE-2024-35925
block: prevent division by zero in blk_rq_stat_sum()
Reported by linux · Published May 19, 2024
In the Linux kernel, the following vulnerability has been resolved: block: prevent division by zero in blk_rq_stat_sum() The expression dst->nr_samples + src->nr_samples may have zero value on overflow. It is necessary to add a check to avoid division by zero. 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-livepatch-4.14.345-262.561 | Amazon Linux | 1.0-0.amzn2 |
| python-perf | Amazon Linux | 4.14.345-262.561.amzn2 |
| kernel-modules-extra | Amazon Linux | 6.1.87-99.174.amzn2023 |
| kernel-livepatch-6.1.87-99.174 | Amazon Linux | 1.0-0.amzn2023 |
| kernel-tools | Amazon Linux | 6.1.87-99.174.amzn2023 |
| bpftool | Amazon Linux | 6.1.87-99.174.amzn2023 |
| kernel-headers | Amazon Linux | 6.1.87-99.174.amzn2023, 4.14.345-262.561.amzn2 |
| kernel-devel | Amazon Linux | 4.14.345-262.561.amzn2 |
| kernel-libbpf-devel | Amazon Linux | 6.1.87-99.174.amzn2023 |
| linux_kernel | linux | 6.8.6, 6.6.27, 6.1.86, 5.15.155, 5.10.215, 5.4.274, 4.19.312 |
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
| SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
1 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | eca8b53a6769e60d6d8240d71202d73b0af81901, eca8b53a6769e60d6d8240d71202d73b0af81901, eca8b53a6769e60d6d8240d71202d73b0af81901 |
| Linux | Linux | 4.15, 0, 4.19.312 |
| amazon:2 | kernel-livepatch-4.14.345-262.561 | 0 |
| amazon:2 | python-perf | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-livepatch-6.1.87-99.174 | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2 | kernel-headers | 0 |
| amazon:2 | kernel-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| Linux | Linux | *, *, * |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2 | kernel-tools | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-devel | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
…and 10 more
Timeline
- May 19, 2024 CVE Published
- May 20, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (15 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Jan 10, 2026 Security Advisory (485 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (377 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-35925
vulnetix vdb fixes CVE-2024-35925
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-2024-35925/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart