{"id":"CVE-2024-35925","summary":"block: prevent division by zero in blk_rq_stat_sum()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: prevent division by zero in blk_rq_stat_sum()\n\nThe expression dst-\u003enr_samples + src-\u003enr_samples may\nhave zero value on overflow. It is necessary to add\na check to avoid division by zero.\n\nFound by Linux Verification Center (linuxtesting.org) with Svace.","modified":"2026-04-02T11:52:33.834807Z","published":"2024-05-19T10:10:35.708Z","related":["ALSA-2024:5102","SUSE-SU-2024:2360-1","SUSE-SU-2024:2372-1","SUSE-SU-2024:2381-1","SUSE-SU-2024:2394-1","SUSE-SU-2024:2561-1","SUSE-SU-2024:2571-1","SUSE-SU-2024:2896-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35925.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/21e7d72d0cfcbae6042d498ea2e6f395311767f8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/512a01da7134bac8f8b373506011e8aaa3283854"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5f7fd6aa4c4877d77133ea86c14cf256f390b2fe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6a55dab4ac956deb23690eedd74e70b892a378e7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/93f52fbeaf4b676b21acfe42a5152620e6770d02"},{"type":"WEB","url":"https://git.kernel.org/stable/c/98ddf2604ade2d954bf5ec193600d5274a43fd68"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b0cb5564c3e8e0ee0a2d28c86fa7f02e82d64c3c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/edd073c78d2bf48c5b8bf435bbc3d61d6e7c6c14"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35925.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35925"},{"type":"PACKAGE","url":"https://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"}}],"schema_version":"1.7.5"}