[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq11qpqmmq4.fsf@ca-mkp.ca.oracle.com>
Date: Fri, 25 Nov 2022 22:14:02 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
Cc: jejb@...ux.ibm.com, martin.petersen@...cle.com,
linux-scsi@...r.kernel.org, dave.hansen@...ux.intel.com,
David.Laight@...LAB.COM, linux-kernel@...r.kernel.org,
x86@...nel.org
Subject: Re: [PATCHv2] scsi: Fix get_user() in call sg_scsi_ioctl()
Kirill,
> get_user() expects the pointer to be pointer-to-simple-variable type,
> but sic->data is array of 'unsigned char'. It violates get_user()
> contracts.
Applied to 6.2/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists