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:   Fri, 3 May 2019 13:47:16 +0200
From:   Michal Kubecek <>
To:     Greg Kroah-Hartman <>
        Andrea Arcangeli <>,
        Jason Gunthorpe <>,
        Leon Romanovsky <>
Subject: Re: [PATCH 5.0 25/89] RDMA/ucontext: Fix regression with disassociate

On Tue, Apr 30, 2019 at 01:38:16PM +0200, Greg Kroah-Hartman wrote:
> From: Jason Gunthorpe <>
> commit 67f269b37f9b4d52c5e7f97acea26c0852e9b8a1 upstream.
> When this code was consolidated the intention was that the VMA would
> become backed by anonymous zero pages after the zap_vma_pte - however this
> very subtly relied on setting the vm_ops = NULL and clearing the VM_SHARED
> bits to transform the VMA into an anonymous VMA. Since the vm_ops was
> removed this broke.
> Now userspace gets a SIGBUS if it touches the vma after disassociation.
> Instead of converting the VMA to anonymous provide a fault handler that
> puts a zero'd page into the VMA when user-space touches it after
> disassociation.
> Cc:
> Suggested-by: Andrea Arcangeli <>
> Fixes: 5f9794dc94f5 ("RDMA/ucontext: Add a core API for mmaping driver IO memory")
> Signed-off-by: Jason Gunthorpe <>
> Signed-off-by: Leon Romanovsky <>
> Signed-off-by: Jason Gunthorpe <>
> Signed-off-by: Greg Kroah-Hartman <>
> ---

This commit breaks build on s390 and mips, please pick also commit
6a5c5d26c4c6 ("rdma: fix build errors on s390 and MIPS due to bad
ZERO_PAGE use").

Michal Kubecek

Powered by blists - more mailing lists