Re: [PATCH] scsi: scsi_debug: Fix a warning in resp_write_scat()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux