Medium · published June 20, 2024
In the Linux kernel, the following vulnerability has been resolved:
usb-storage: alauda: Check whether the media is initialized
The member "uzonesize" of struct alauda_info will remain 0
if alauda_init_media() fails, potentially causing divide errors
in alauda_read_data() and alauda_write_lba().
- Add a member "media_initialized" to struct alauda_info.
- Change a condition in alauda_check_media() to ensure the
first initialization.
- Add an error check for the return value of alauda_init_media().
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 2.6.16, < 4.19.317 | 4.19.317 |
| linux/linux_kernel | ≥ 4.20, < 5.4.279 | 5.4.279 |
| linux/linux_kernel | ≥ 5.5, < 5.10.221 | 5.10.221 |
| linux/linux_kernel | ≥ 5.11, < 5.15.162 | 5.15.162 |
| linux/linux_kernel | ≥ 5.16, < 6.1.95 | 6.1.95 |
| linux/linux_kernel | ≥ 6.2, < 6.6.35 | 6.6.35 |
| linux/linux_kernel | ≥ 6.7, < 6.9.6 | 6.9.6 |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |