VDB

CVE-2024-35925

CVE-2024-35925 PUBLISHED

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.

PackageEcosystemFixed in
kernel-livepatch-4.14.345-262.561Amazon Linux1.0-0.amzn2
python-perfAmazon Linux4.14.345-262.561.amzn2
kernel-modules-extraAmazon Linux6.1.87-99.174.amzn2023
kernel-livepatch-6.1.87-99.174Amazon Linux1.0-0.amzn2023
kernel-toolsAmazon Linux6.1.87-99.174.amzn2023
bpftoolAmazon Linux6.1.87-99.174.amzn2023
kernel-headersAmazon Linux6.1.87-99.174.amzn2023, 4.14.345-262.561.amzn2
kernel-develAmazon Linux4.14.345-262.561.amzn2
kernel-libbpf-develAmazon Linux6.1.87-99.174.amzn2023
linux_kernellinux6.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 MFPSiemens3.1.5
SIPLUS S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5

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

Affected products

VendorProductVersions
LinuxLinuxeca8b53a6769e60d6d8240d71202d73b0af81901, eca8b53a6769e60d6d8240d71202d73b0af81901, eca8b53a6769e60d6d8240d71202d73b0af81901
LinuxLinux4.15, 0, 4.19.312
amazon:2kernel-livepatch-4.14.345-262.5610
amazon:2python-perf0
amazon:2023kernel-modules-extra0
amazon:2023kernel-livepatch-6.1.87-99.1740
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2023kernel-tools0
amazon:2023bpftool0
amazon:2kernel-headers0
amazon:2kernel-devel0
amazon:2023kernel-headers0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2023kernel-libbpf-devel0
LinuxLinux*, *, *
amazon:2023kernel-modules-extra-common0
amazon:2kernel-tools0
amazon:2023kernel0
amazon:2023kernel-devel0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.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

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