CVE-2024-35925

Source
https://cve.org/CVERecord?id=CVE-2024-35925
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35925.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-35925
Downstream
Related
Published
2024-05-19T10:10:35.708Z
Modified
2026-05-07T04:17:20.589825Z
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
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35925.json",
    "cna_assigner": "Linux"
}
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/osv-test-cve-osv-conversion/osv-output/CVE-2024-35925.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.312
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.274
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.215
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.155
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.86
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.27
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.8.6

Database specific

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