High · published September 13, 2024
In the Linux kernel, the following vulnerability has been resolved:
scsi: aacraid: Fix double-free on probe failure
aac_probe_one() calls hardware-specific init functions through the
aac_driver_ident::init pointer, all of which eventually call down to
aac_init_adapter().
If aac_init_adapter() fails after allocating memory for aac_dev::queues,
it frees the memory but does not clear that member.
After the hardware-specific init function returns an error,
aac_probe_one() goes down an error path that frees the memory pointed to
by aac_dev::queues, resulting.in a double-free.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 2.6.15, < 4.19.321 | 4.19.321 |
| linux/linux_kernel | ≥ 4.20, < 5.4.283 | 5.4.283 |
| linux/linux_kernel | ≥ 5.5, < 5.10.225 | 5.10.225 |
| linux/linux_kernel | ≥ 5.11, < 5.15.166 | 5.15.166 |
| linux/linux_kernel | ≥ 5.16, < 6.1.108 | 6.1.108 |
| linux/linux_kernel | ≥ 6.2, < 6.6.49 | 6.6.49 |
| linux/linux_kernel | ≥ 6.7, < 6.10.8 | 6.10.8 |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |