lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <166943312543.1684293.3175127415315924733.b4-ty@oracle.com> Date: Sat, 26 Nov 2022 03:27:36 +0000 From: "Martin K. Petersen" <martin.petersen@...cle.com> To: Harshit Mogalapalli <harshit.m.mogalapalli@...cle.com> Cc: "Martin K . Petersen" <martin.petersen@...cle.com>, Douglas Gilbert <dgilbert@...erlog.com>, error27@...il.com, harshit.m.mogalapalli@...il.com, linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org, "James E.J. Bottomley" <jejb@...ux.ibm.com> Subject: Re: [PATCH] scsi: scsi_debug: Fix a warning in resp_write_scat() On Fri, 11 Nov 2022 02:05:25 -0800, Harshit Mogalapalli wrote: > As 'lbdof_blen' is coming from user, if the size in kzalloc() > is >= MAX_ORDER then we hit a warning. > > Call trace: > > sg_ioctl > sg_ioctl_common > scsi_ioctl > sg_scsi_ioctl > blk_execute_rq > blk_mq_sched_insert_request > blk_mq_run_hw_queue > __blk_mq_delay_run_hw_queue > __blk_mq_run_hw_queue > blk_mq_sched_dispatch_requests > __blk_mq_sched_dispatch_requests > blk_mq_dispatch_rq_list > scsi_queue_rq > scsi_dispatch_cmd > scsi_debug_queuecommand > schedule_resp > resp_write_scat > > [...] Applied to 6.2/scsi-queue, thanks! [1/1] scsi: scsi_debug: Fix a warning in resp_write_scat() https://git.kernel.org/mkp/scsi/c/216e179724c1 -- Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists