scsi: sd: fix missing put_disk() when device_add(&disk_dev) fails
3Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackepss 0.1%
probabilidade de exploração
0.1%top 98% das CVEs
exploração observada
nãonenhuma fonte reporta
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.
Produtos afetados
Linux · LinuxReferências
https://git.kernel.org/stable/c/13e550fbfccdb311e76ec96892dfe35f0dba0657https://git.kernel.org/stable/c/1e111c4b3a726df1254670a5cc4868cedb946d37https://git.kernel.org/stable/c/262152ec37101f9dc524743ccdbd6c7641d14573https://git.kernel.org/stable/c/2c2c14b7dfccad8c5a28802849e40c21252e4c28https://git.kernel.org/stable/c/a95d38c5701431bfc826e7b18acc0785919d5c88https://git.kernel.org/stable/c/b64b4f499801b12d0e2785447e4df6c164c608a9