CVE-2024-35925

Source
https://cve.org/CVERecord?id=CVE-2024-35925
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35925.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-35925
Downstream
Related
Published
2024-05-19T10:10:35.708Z
Modified
2026-03-14T12:34:05.015714Z
Summary
block: prevent division by zero in blk_rq_stat_sum()
Details

In the Linux kernel, the following vulnerability has been resolved:

block: prevent division by zero in blkrqstat_sum()

The expression dst->nrsamples + src->nrsamples 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35925.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
eca8b53a6769e60d6d8240d71202d73b0af81901
Fixed
6a55dab4ac956deb23690eedd74e70b892a378e7
Fixed
edd073c78d2bf48c5b8bf435bbc3d61d6e7c6c14
Fixed
b0cb5564c3e8e0ee0a2d28c86fa7f02e82d64c3c
Fixed
21e7d72d0cfcbae6042d498ea2e6f395311767f8
Fixed
512a01da7134bac8f8b373506011e8aaa3283854
Fixed
5f7fd6aa4c4877d77133ea86c14cf256f390b2fe
Fixed
98ddf2604ade2d954bf5ec193600d5274a43fd68
Fixed
93f52fbeaf4b676b21acfe42a5152620e6770d02

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35925.json"