Re: [PATCH 5.15] ice: fix crash at allocation failure

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

 



On Wed, May 25, 2022 at 11:46:52AM +0200, Maciej Fijalkowski wrote:
> On Wed, May 25, 2022 at 09:19:53AM +0200, Magnus Karlsson wrote:
> > From: Magnus Karlsson <magnus.karlsson@xxxxxxxxx>
> > 
> > Fix a crash in the zero-copy driver that occurs when it fails to
> > allocate buffers from user-space. This crash can easily be triggered
> > by a malicious program that does not provide any buffers in the fill
> > ring for the kernel to use.
> > 
> > Note that this bug does not exist in upstream since the batched buffer
> > allocation interface got introduced in 5.16 and replaced this code.
> > 
> > Reported-by: Jeff Shaw <jeffrey.b.shaw@xxxxxxxxx>
> > Tested-by: Jeff Shaw <jeffrey.b.shaw@xxxxxxxxx>
> > Signed-off-by: Magnus Karlsson <magnus.karlsson@xxxxxxxxx>
> 
> Acked-by: Maciej Fijalkowski <maciej.fijalkowski@xxxxxxxxx>
> 

Now queued up, thanks.

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux