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] [day] [month] [year] [list]
Date: Sun, 07 Apr 2024 22:09:15 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Eugeniy.Paltsev@...opsys.com, dmaengine@...r.kernel.org, 
 Joao Pinto <Joao.Pinto@...opsys.com>
Cc: Martin.McKenny@...opsys.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH RESEND] Avoid hw_desc array overrun in dw-axi-dmac


On Wed, 27 Mar 2024 10:49:24 +0000, Joao Pinto wrote:
> I have a use case where nr_buffers = 3 and in which each descriptor is composed by 3
> segments, resulting in the DMA channel descs_allocated to be 9. Since axi_desc_put()
> handles the hw_desc considering the descs_allocated, this scenario would result in a
> kernel panic (hw_desc array will be overrun).
> 
> To fix this, the proposal is to add a new member to the axi_dma_desc structure,
> where we keep the number of allocated hw_descs (axi_desc_alloc()) and use it in
> axi_desc_put() to handle the hw_desc array correctly.
> 
> [...]

Applied, thanks!

[1/1] Avoid hw_desc array overrun in dw-axi-dmac
      commit: 333e11bf47fa8d477db90e2900b1ed3c9ae9b697

Best regards,
-- 
~Vinod



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ