CVE-2024-35925
block: prevent division by zero in blk_rq_stat_sum()
Check your servers for CVE-2024-35925
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-35925 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.4% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 20 May 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from eca8b53a6769e60d6d8240d71202d73b0af81901, before 6a55dab4ac956deb23690eedd74e70b892a378e7 affected from eca8b53a6769e60d6d8240d71202d73b0af81901, before edd073c78d2bf48c5b8bf435bbc3d61d6e7c6c14 affected from eca8b53a6769e60d6d8240d71202d73b0af81901, before b0cb5564c3e8e0ee0a2d28c86fa7f02e82d64c3c affected from eca8b53a6769e60d6d8240d71202d73b0af81901, before 21e7d72d0cfcbae6042d498ea2e6f395311767f8 affected from eca8b53a6769e60d6d8240d71202d73b0af81901, before 512a01da7134bac8f8b373506011e8aaa3283854 affected from eca8b53a6769e60d6d8240d71202d73b0af81901, before 5f7fd6aa4c4877d77133ea86c14cf256f390b2fe affected from eca8b53a6769e60d6d8240d71202d73b0af81901, before 98ddf2604ade2d954bf5ec193600d5274a43fd68 affected from eca8b53a6769e60d6d8240d71202d73b0af81901, before 93f52fbeaf4b676b21acfe42a5152620e6770d02
Other versions: unaffected
|
| Linux |
affected 4.15 unaffected before 4.15 unaffected from 4.19.312 up to and including 4.19.* unaffected from 5.4.274 up to and including 5.4.* unaffected from 5.10.215 up to and including 5.10.* unaffected from 5.15.155 up to and including 5.15.* unaffected from 6.1.86 up to and including 6.1.* unaffected from 6.6.27 up to and including 6.6.* unaffected from 6.8.6 up to and including 6.8.* unaffected 6.9 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-35925 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-35925
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-35925
trivy image --scanners vuln IMAGE | grep CVE-2024-35925
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/6a55dab4ac956deb23690eedd74e70b892a378e7 git.kernel.org
- https://git.kernel.org/stable/c/edd073c78d2bf48c5b8bf435bbc3d61d6e7c6c14 git.kernel.org
- https://git.kernel.org/stable/c/b0cb5564c3e8e0ee0a2d28c86fa7f02e82d64c3c git.kernel.org
- https://git.kernel.org/stable/c/21e7d72d0cfcbae6042d498ea2e6f395311767f8 git.kernel.org
- https://git.kernel.org/stable/c/512a01da7134bac8f8b373506011e8aaa3283854 git.kernel.org
- https://git.kernel.org/stable/c/5f7fd6aa4c4877d77133ea86c14cf256f390b2fe git.kernel.org
- https://git.kernel.org/stable/c/98ddf2604ade2d954bf5ec193600d5274a43fd68 git.kernel.org
- https://git.kernel.org/stable/c/93f52fbeaf4b676b21acfe42a5152620e6770d02 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com
Source: the record CVE-2024-35925 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse