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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 30 Jun 2022 10:48:24 -0300
From:   Jason Gunthorpe <jgg@...dia.com>
To:     kernel test robot <lkp@...el.com>
Cc:     Yishai Hadas <yishaih@...dia.com>, alex.williamson@...hat.com,
        kbuild-all@...ts.01.org, saeedm@...dia.com, kvm@...r.kernel.org,
        netdev@...r.kernel.org, kuba@...nel.org, kevin.tian@...el.com,
        joao.m.martins@...cle.com, leonro@...dia.com, maorg@...dia.com,
        cohuck@...hat.com
Subject: Re: [PATCH vfio 08/13] vfio: Introduce the DMA logging feature
 support

On Thu, Jun 30, 2022 at 09:40:01PM +0800, kernel test robot wrote:

>   1636		nnodes = control.num_ranges;
>   1637		if (!nnodes || nnodes > LOG_MAX_RANGES)
>   1638			return -EINVAL;
>   1639	
> > 1640		ranges = (struct vfio_device_feature_dma_logging_range __user *)
>   1641									control.ranges;

Things like this should always use u64_to_user_ptr()

Jason

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ