Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2024-35925

block: prevent division by zero in blk_rq_stat_sum()

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • eca8b53a6769e60d6d8240d71202d73b0af81901 to < 6a55dab4ac956deb23690eedd74e70b892a378e7affected
  • eca8b53a6769e60d6d8240d71202d73b0af81901 to < edd073c78d2bf48c5b8bf435bbc3d61d6e7c6c14affected
  • eca8b53a6769e60d6d8240d71202d73b0af81901 to < b0cb5564c3e8e0ee0a2d28c86fa7f02e82d64c3caffected
  • eca8b53a6769e60d6d8240d71202d73b0af81901 to < 21e7d72d0cfcbae6042d498ea2e6f395311767f8affected
  • eca8b53a6769e60d6d8240d71202d73b0af81901 to < 512a01da7134bac8f8b373506011e8aaa3283854affected
  • eca8b53a6769e60d6d8240d71202d73b0af81901 to < 5f7fd6aa4c4877d77133ea86c14cf256f390b2feaffected
  • eca8b53a6769e60d6d8240d71202d73b0af81901 to < 98ddf2604ade2d954bf5ec193600d5274a43fd68affected
  • eca8b53a6769e60d6d8240d71202d73b0af81901 to < 93f52fbeaf4b676b21acfe42a5152620e6770d02affected

Linux Linux

Default version status: affected

  • 4.15affected
  • 0 to < 4.15unaffected
  • 4.19.312 to ≤ 4.19.*unaffected
  • 5.4.274 to ≤ 5.4.*unaffected
  • 5.10.215 to ≤ 5.10.*unaffected
  • 5.15.155 to ≤ 5.15.*unaffected
  • 6.1.86 to ≤ 6.1.*unaffected
  • 6.6.27 to ≤ 6.6.*unaffected
  • 6.8.6 to ≤ 6.8.*unaffected
  • 6.9 to ≤ *unaffected

References