RE: [PATCH for-rc] RDMA/irdma: Prevent zero-length STAG registration

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

 



> Subject: Re: [PATCH for-rc] RDMA/irdma: Prevent zero-length STAG registration
> 
> 
> 
> On 2023/8/18 22:48, Shiraz Saleem wrote:
> > From: Christopher Bednarz <christopher.n.bednarz@xxxxxxxxx>
> >
> > Currently irdma allows zero-length STAGs to be programmed in HW during
> > the kernel mode fast register flow. Zero-length MR or STAG
> > registration disable HW memory length checks.
> >
> > Improve gaps in bounds checking in irdma by preventing zero-length
> > STAG or MR registrations except if the IB_PD_UNSAFE_GLOBAL_RKEY is
> set.
> >
> > This addresses the disclosure CVE-2023-25775.
> >
> > Fixes: b48c24c2d710 ("RDMA/irdma: Implement device supported verb
> > APIs")
> 
> Hello,I would like to consult the CVE. The driver corresponding to the kernel of
> an earlier version (< 5.14) is i40iw and has similar code logic. Is this CVE also
> involved?
> 

Yes. It’s a problem in i40iw too.

Shiraz




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux