[PATCH RESEND v2 02/51] scsi: esas2r: don't copy kernel pointers out in EXPRESS_IOCTL_GET_MOD_INFO
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Thu Nov 5 11:28:50 PST 2026
> EXPRESS_IOCTL_GET_MOD_INFO fills in the addresses of the adapter, its
> pci_dev and its Scsi_Host and copies the whole struct back to userspace.
> Nothing in userspace can do anything with those addresses, and the
> ioctl is reachable through /proc/scsi/esas2r/ATTONode, which is created
> with mode 0444. Only pass the host number.
>
> Fixes: 26780d9e12ed ("[SCSI] esas2r: ATTO Technology ExpressSAS 6G SAS/SATA RAID Adapter Driver")
> Cc: stable at vger.kernel.org
> Signed-off-by: Christian Brauner (Amutable) <brauner at kernel.org>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261104-work-procfs-bugfixes-v2-0-021c84d852e0@kernel.org?part=2
More information about the kexec
mailing list