Medium · published May 27, 2026
In the Linux kernel, the following vulnerability has been resolved:
scsi: sd: fix missing put_disk() when device_add(&disk_dev) fails
If device_add(&sdkp->disk_dev) fails, put_device() runs
scsi_disk_release(), which frees the scsi_disk but leaves the gendisk
referenced. The device_add_disk() error path in sd_probe() calls
put_disk(gd); call put_disk(gd) here to mirror that cleanup.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 4.4.288, < 4.5 | 4.5 |
| linux/linux_kernel | ≥ 4.9.286, < 4.10 | 4.10 |
| linux/linux_kernel | ≥ 4.14.250, < 4.15 | 4.15 |
| linux/linux_kernel | ≥ 4.19.210, < 4.20 | 4.20 |
| linux/linux_kernel | ≥ 5.4.152, < 5.5 | 5.5 |
| linux/linux_kernel | ≥ 5.10.72, < 5.11 | 5.11 |
| linux/linux_kernel | ≥ 5.14.11, < 5.15 | 5.15 |
| linux/linux_kernel | ≥ 5.15.1, < 6.1.175 | 6.1.175 |
| linux/linux_kernel | ≥ 6.2, < 6.6.140 | 6.6.140 |
| linux/linux_kernel | ≥ 6.7, < 6.12.86 | 6.12.86 |
| linux/linux_kernel | ≥ 6.13, < 6.18.27 | 6.18.27 |
| linux/linux_kernel | ≥ 6.19, < 7.0.4 | 7.0.4 |
| 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 | — |
| linux/linux_kernel | all versions | — |