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]
Message-Id: <176934850129.885318.1848511655256311844.b4-ty@kernel.org>
Date: Sun, 25 Jan 2026 08:41:41 -0500
From: Leon Romanovsky <leon@...nel.org>
To: linux-rdma@...r.kernel.org, Li Zhijian <lizhijian@...itsu.com>
Cc: linux-kernel@...r.kernel.org, zyjzyj2000@...il.com, jgg@...pe.ca, 
 Yi Zhang <yi.zhang@...hat.com>
Subject: Re: [PATCH RFC v2] RDMA/rxe: Fix iova-to-va conversion for MR page
 sizes != PAGE_SIZE


On Fri, 16 Jan 2026 11:27:53 +0800, Li Zhijian wrote:
> The current implementation incorrectly handles memory regions (MRs) with
> page sizes different from the system PAGE_SIZE. The core issue is that
> rxe_set_page() is called with mr->page_size step increments, but the
> page_list stores individual struct page pointers, each representing
> PAGE_SIZE of memory.
> 
> ib_sg_to_page() has ensured that when i>=1 either
> a) SG[i-1].dma_end and SG[i].dma_addr are contiguous
> or
> b) SG[i-1].dma_end and SG[i].dma_addr are mr->page_size aligned.
> 
> [...]

Applied, thanks!

[1/1] RDMA/rxe: Fix iova-to-va conversion for MR page sizes != PAGE_SIZE
      https://git.kernel.org/rdma/rdma/c/12985e5915a0b8

Best regards,
-- 
Leon Romanovsky <leon@...nel.org>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ