Medium · published May 19, 2024
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.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | < 4.19.312 | 4.19.312 |
| linux/linux_kernel | ≥ 4.20, < 5.4.274 | 5.4.274 |
| linux/linux_kernel | ≥ 5.5, < 5.10.215 | 5.10.215 |
| linux/linux_kernel | ≥ 5.11, < 5.15.155 | 5.15.155 |
| linux/linux_kernel | ≥ 5.16, < 6.1.86 | 6.1.86 |
| linux/linux_kernel | ≥ 6.2, < 6.6.27 | 6.6.27 |
| linux/linux_kernel | ≥ 6.7, < 6.8.6 | 6.8.6 |
| debian/debian_linux | all versions | — |