Skip to main content
← All vulnerabilities
CVE-2024-35925

block: prevent division by zero in blk_rq_stat_sum()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.19.312, 5.4.274, 5.10.215, 5.15.155, 6.1.86, and 2 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From eca8b53a6769e60d6d8240d71202d73b0af81901 · fixed in 6a55dab4ac956deb23690eedd74e70b892a378e7; From eca8b53a6769e60d6d8240d71202d73b0af81901 · fixed in edd073c78d2bf48c5b8bf435bbc3d61d6e7c6c14; From eca8b53a6769e60d6d8240d71202d73b0af81901 · fixed in b0cb5564c3e8e0ee0a2d28c86fa7f02e82d64c3c; From eca8b53a6769e60d6d8240d71202d73b0af81901 · fixed in 21e7d72d0cfcbae6042d498ea2e6f395311767f8; From eca8b53a6769e60d6d8240d71202d73b0af81901 · fixed in 512a01da7134bac8f8b373506011e8aaa3283854; From eca8b53a6769e60d6d8240d71202d73b0af81901 · fixed in 5f7fd6aa4c4877d77133ea86c14cf256f390b2fe; From eca8b53a6769e60d6d8240d71202d73b0af81901 · fixed in 98ddf2604ade2d954bf5ec193600d5274a43fd68; From eca8b53a6769e60d6d8240d71202d73b0af81901 · fixed in 93f52fbeaf4b676b21acfe42a5152620e6770d02

  • Linux Linux

    4.15

  • KernelLinux

    From 4.15.0 · fixed in 4.19.312; From 4.20.0 · fixed in 5.4.274; From 5.5.0 · fixed in 5.10.215; From 5.11.0 · fixed in 5.15.155; From 5.16.0 · fixed in 6.1.86; From 6.2.0 · fixed in 6.6.27; From 6.7.0 · fixed in 6.8.6

References 8

git.kernel.org