Hide Forgot
A flaw was found in the linux kernel in scsi_ioctl() function. If the parameter cmd is SCSI_IOCTL_SEND_COMMAND, the function scsi_ioctl will call sg_scsi_ioctl to further process. In function sg_scsi_ioctl, it creates a scsi request and calls blk_rq_map_kern to allocate the internal buffer of this request, but the internal buffer doesn't get zeroed properly. Then this request will be sent to the disk driver, but the disk driver doesn't fill anything into it. Finally, the internal buffer's content is copied to the user buffer which is specified by the parameter sic->data of sg_scsi_ioctl. Reference: https://lore.kernel.org/all/20220216084038.15635-1-tcs.kernel@gmail.com/
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2022:6003 https://access.redhat.com/errata/RHSA-2022:6003
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2022:6002 https://access.redhat.com/errata/RHSA-2022:6002