Re: [PATCH v2] io_uring/net: ensure compat import handlers clear free_iov

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

 



On 12/19/22 11:45 PM, Jiri Slaby wrote:
> On 19. 12. 22, 15:36, Jens Axboe wrote:
>> If we're not allocating the vectors because the count is below
>> UIO_FASTIOV, we still do need to properly clear ->free_iov to prevent
>> an erronous free of on-stack data.
>>
>> Reported-by: Jiri Slaby <jirislaby@xxxxxxxxx>
>> Fixes: 4c17a496a7a0 ("io_uring/net: fix cleanup double free free_iov init")
>> Cc: stable@xxxxxxxxxxxxxxx
>> Signed-off-by: Jens Axboe <axboe@xxxxxxxxx>
> 
> Tested-by: Jiri Slaby <jirislaby@xxxxxxxxxx>

Thanks for testing (and reporting).

-- 
Jens Axboe





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux