# CVE-2024-35925: block: prevent division by zero in blk_rq_stat_sum()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 18% of CVEs (2026-11-30)
- Published: 2024-05-19T10:10:35.708Z
- Modified: 2026-10-15T01:17:53.270Z
- Weaknesses: CWE-369
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from eca8b53a6769e60d6d8240d71202d73b0af81901 before 6a55dab4ac956deb23690eedd74e70b892a378e7; from eca8b53a6769e60d6d8240d71202d73b0af81901 before edd073c78d2bf48c5b8bf435bbc3d61d6e7c6c14; from eca8b53a6769e60d6d8240d71202d73b0af81901 before b0cb5564c3e8e0ee0a2d28c86fa7f02e82d64c3c; from eca8b53a6769e60d6d8240d71202d73b0af81901 before 21e7d72d0cfcbae6042d498ea2e6f395311767f8; from eca8b53a6769e60d6d8240d71202d73b0af81901 before 512a01da7134bac8f8b373506011e8aaa3283854; from eca8b53a6769e60d6d8240d71202d73b0af81901 before 5f7fd6aa4c4877d77133ea86c14cf256f390b2fe; from eca8b53a6769e60d6d8240d71202d73b0af81901 before 98ddf2604ade2d954bf5ec193600d5274a43fd68; from eca8b53a6769e60d6d8240d71202d73b0af81901 before 93f52fbeaf4b676b21acfe42a5152620e6770d02; 4.15 (not affected: before 4.15; from 4.19.312 up to 4.19.*; from 5.4.274 up to 5.4.*; from 5.10.215 up to 5.10.*; from 5.15.155 up to 5.15.*; from 6.1.86 up to 6.1.*; from 6.6.27 up to 6.6.*; from 6.8.6 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: before 4.19.312; from 4.20 before 5.4.274; from 5.5 before 5.10.215; from 5.11 before 5.15.155; from 5.16 before 6.1.86; from 6.2 before 6.6.27; from 6.7 before 6.8.6
- debian debian_linux: 10.0

## References

- <https://git.kernel.org/stable/c/6a55dab4ac956deb23690eedd74e70b892a378e7> (patch)
- <https://git.kernel.org/stable/c/edd073c78d2bf48c5b8bf435bbc3d61d6e7c6c14> (patch)
- <https://git.kernel.org/stable/c/b0cb5564c3e8e0ee0a2d28c86fa7f02e82d64c3c> (patch)
- <https://git.kernel.org/stable/c/21e7d72d0cfcbae6042d498ea2e6f395311767f8> (patch)
- <https://git.kernel.org/stable/c/512a01da7134bac8f8b373506011e8aaa3283854> (patch)
- <https://git.kernel.org/stable/c/5f7fd6aa4c4877d77133ea86c14cf256f390b2fe> (patch)
- <https://git.kernel.org/stable/c/98ddf2604ade2d954bf5ec193600d5274a43fd68> (patch)
- <https://git.kernel.org/stable/c/93f52fbeaf4b676b21acfe42a5152620e6770d02> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html> (mailing-list)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html> (mailing-list)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Sources

- CVE List: [CVE-2024-35925](https://www.cve.org/CVERecord?id=CVE-2024-35925), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-35925](https://nvd.nist.gov/vuln/detail/CVE-2024-35925), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-35925 · Whole record: https://cve.day/CVE-2024-35925.json · Rebuilt by cve.day 2026-11-25T22:58:40.605Z
