CVE-2024-35925

published 19 May 2024 · updated 15 Oct 2026

block: prevent division by zero in blk_rq_stat_sum()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 21e7d72d0cfcbae6042d498ea2e6f395311767f8, Kernel 512a01da7134bac8f8b373506011e8aaa3283854, Kernel 5f7fd6aa4c4877d77133ea86c14cf256f390b2fe and 5 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.15, >=eca8b53a6769e60d6d8240d71202d73b0af81901 <21e7d72d0cfcbae6042d498ea2e6f395311767f8, >=eca8b53a6769e60d6d8240d71202d73b0af81901 <512a01da7134bac8f8b373506011e8aaa3283854, >=eca8b53a6769e60d6d8240d71202d73b0af81901 <5f7fd6aa4c4877d77133ea86c14cf256f390b2fe, >=eca8b53a6769e60d6d8240d71202d73b0af81901 <6a55dab4ac956deb23690eedd74e70b892a378e7, >=eca8b53a6769e60d6d8240d71202d73b0af81901 <93f52fbeaf4b676b21acfe42a5152620e6770d02, >=eca8b53a6769e60d6d8240d71202d73b0af81901 <98ddf2604ade2d954bf5ec193600d5274a43fd68, >=eca8b53a6769e60d6d8240d71202d73b0af81901 <b0cb5564c3e8e0ee0a2d28c86fa7f02e82d64c3c, >=eca8b53a6769e60d6d8240d71202d73b0af81901 <edd073c78d2bf48c5b8bf435bbc3d61d6e7c6c1421e7d72d0cfcbae6042d498ea2e6f395311767f8, 512a01da7134bac8f8b373506011e8aaa3283854, 5f7fd6aa4c4877d77133ea86c14cf256f390b2fe, 6a55dab4ac956deb23690eedd74e70b892a378e7, 93f52fbeaf4b676b21acfe42a5152620e6770d02, 98ddf2604ade2d954bf5ec193600d5274a43fd68, b0cb5564c3e8e0ee0a2d28c86fa7f02e82d64c3c, edd073c78d2bf48c5b8bf435bbc3d61d6e7c6c14

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-35925 severity on Zeptric[![CVE-2024-35925](https://zeptric.io/badge/cve/CVE-2024-35925.svg)](https://zeptric.io/cve/CVE-2024-35925)